diff --git a/arkoala-arkts/arkui/src/NativePeerNode.ts b/arkoala-arkts/arkui/src/NativePeerNode.ts index 2f8ef932c1f8b4147e5a572ba3fa2d9631e5b3c2..e0f52862ff63e68dc161f83327d5afdfbb8d515b 100644 --- a/arkoala-arkts/arkui/src/NativePeerNode.ts +++ b/arkoala-arkts/arkui/src/NativePeerNode.ts @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { int32 } from "@koalaui/common" import { nullptr, pointer } from "@koalaui/interop" import { Finalizable } from "@koalaui/interop" diff --git a/arkoala-arkts/arkui/src/PeerNode.ts b/arkoala-arkts/arkui/src/PeerNode.ts index d0036bbda275cd4d6d30f1c13c249731b6fbbf91..fb781c4ea50bbc0e4b0c065d3115ba0f475b70e9 100644 --- a/arkoala-arkts/arkui/src/PeerNode.ts +++ b/arkoala-arkts/arkui/src/PeerNode.ts @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { int32 } from "@koalaui/common" import { Disposable, IncrementalNode, scheduleCallback } from "@koalaui/runtime" import { NativePeerNode } from "./NativePeerNode" @@ -6,15 +21,15 @@ import { ArkRootPeer } from "./generated/peers/ArkStaticComponentsPeer" export const PeerNodeType = 11 export const LazyForEachType = 13 -const InitialID = 999 +const INITIAL_ID = 1000 export class PeerNode extends IncrementalNode { static generateRootPeer() { return ArkRootPeer.create() } peer: NativePeerNode - protected static currentId: int32 = InitialID - static nextId(): int32 { return ++PeerNode.currentId } + protected static currentId: int32 = INITIAL_ID + static nextId(): int32 { return PeerNode.currentId++ } private id: int32 private _onReuse?: () => void private _onRecycle?: () => void diff --git a/arkoala-arkts/arkui/src/generated/ArkAnimatedDrawableDescriptorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAnimatedDrawableDescriptorMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..ed9ee2cef444d6a3d5a04dcb8aab67fe7cdb95f9 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkAnimatedDrawableDescriptorMaterialized.ts @@ -0,0 +1,66 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { DrawableDescriptor, DrawableDescriptorInternal } from "./ArkDrawableDescriptorMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" +import { AnimationOptions } from "./ArkArkuiDrawabledescriptorInterfaces" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class AnimatedDrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): AnimatedDrawableDescriptor { + const obj : AnimatedDrawableDescriptor = new AnimatedDrawableDescriptor(undefined, undefined) + obj.peer = new Finalizable(ptr, AnimatedDrawableDescriptor.getFinalizer()) + return obj + } +} +export class AnimatedDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { + static ctor_animateddrawabledescriptor(pixelMaps: Array, options?: AnimationOptions): KPointer { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(pixelMaps.length as int32) + for (let i = 0; i < pixelMaps.length; i++) { + const pixelMaps_element : PixelMap = pixelMaps[i] + thisSerializer.writePixelMap(pixelMaps_element) + } + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type as int32) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeAnimationOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._AnimatedDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(pixelMaps?: Array, options?: AnimationOptions) { + super() + if (((pixelMaps) !== (undefined)) || ((options) !== (undefined))) + { + const ctorPtr : KPointer = AnimatedDrawableDescriptor.ctor_animateddrawabledescriptor((pixelMaps)!, (options)!) + this.peer = new Finalizable(ctorPtr, AnimatedDrawableDescriptor.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._AnimatedDrawableDescriptor_getFinalizer() + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkAppearSymbolEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAppearSymbolEffectMaterialized.ts index 724402693ef9b20c46dfc3949ddb98790751db93..2cda14a1a4865f1f9932d67fcac9c250ad7bc17c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAppearSymbolEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAppearSymbolEffectMaterialized.ts @@ -16,7 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope } from "./ArkArkuiExternalInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" @@ -31,11 +32,7 @@ export class AppearSymbolEffectInternal { return obj } } -export class AppearSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class AppearSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope | undefined { return this.getScope() } @@ -57,6 +54,7 @@ export class AppearSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope) { + super() const ctorPtr : KPointer = AppearSymbolEffect.ctor_appearsymboleffect((scope)!) this.peer = new Finalizable(ctorPtr, AppearSymbolEffect.getFinalizer()) } diff --git a/arkoala-arkts/arkui/src/generated/ArkArkuiDrawabledescriptorInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkArkuiDrawabledescriptorInterfaces.ts new file mode 100644 index 0000000000000000000000000000000000000000..8b4a5c8ff90267d318ed83dcb13c0ed8323d4caa --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkArkuiDrawabledescriptorInterfaces.ts @@ -0,0 +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 AnimationOptions { + duration?: number; + iterations?: number; +} diff --git a/arkoala-arkts/arkui/src/generated/ArkArkuiExternalInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkArkuiExternalInterfaces.ts index b33c58ff8148e1625e9b712688a9f224bfceb9c0..56cac223ca7643f83b92c5d7fa53754aeb74b936 100644 --- a/arkoala-arkts/arkui/src/generated/ArkArkuiExternalInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkArkuiExternalInterfaces.ts @@ -22,6 +22,7 @@ import { NodeAttach, remember } from "@koalaui/runtime" import { BusinessError } from "./ArkBaseInterfaces" import { Resource } from "./ArkResourceInterfaces" import { FontStyle, FontWeight, TextAlign, TextOverflow, TextCase, WordBreak } from "./ArkEnumsInterfaces" +import { Dimension } from "./ArkUnitsInterfaces" export interface NodeController { } export interface TextModifier { @@ -133,5 +134,7 @@ export enum EffectScope { LAYER = 0, WHOLE = 1 } -export interface SymbolEffect { +export interface TouchPoint { + x: Dimension; + y: Dimension; } diff --git a/arkoala-arkts/arkui/src/generated/ArkBounceSymbolEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkBounceSymbolEffectMaterialized.ts index 4d3b5027712607510b8e727f16119330e06e2fb4..b4658b5c1d7439af9aaf79ae87335e375b767226 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBounceSymbolEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBounceSymbolEffectMaterialized.ts @@ -16,7 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope, EffectDirection } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope, EffectDirection } from "./ArkArkuiExternalInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" @@ -31,11 +32,7 @@ export class BounceSymbolEffectInternal { return obj } } -export class BounceSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class BounceSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope | undefined { return this.getScope() } @@ -71,6 +68,7 @@ export class BounceSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope, direction?: EffectDirection) { + super() const ctorPtr : KPointer = BounceSymbolEffect.ctor_bouncesymboleffect((scope)!, (direction)!) this.peer = new Finalizable(ctorPtr, BounceSymbolEffect.getFinalizer()) } diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts index 1b9cf17a8c026da1b624f5be77e6cf6270993964..560f3637147f5239513aa8b485d44133d4cd4498 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts @@ -25,7 +25,7 @@ import { CallbackKind } from "./peers/CallbackKind" import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./peers/CallbackTransformer" export interface CanvasPattern { - setTransform(transform: Matrix2D): void + setTransform(transform?: Matrix2D): void } export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { peer?: Finalizable | undefined = undefined diff --git a/arkoala-arkts/arkui/src/generated/ArkCursorControlNamespace.ts b/arkoala-arkts/arkui/src/generated/ArkCursorControlNamespace.ts index d0cd64617d9d4b78d14bd7b3528652fb1813aa25..9305ec10c824d4801e358f2f7ff9f5b6bc887e47 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCursorControlNamespace.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCursorControlNamespace.ts @@ -17,13 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { PointerStyle } from "./ArkArkuiCustomInterfaces" -import { GlobalScope } from "./peers/GlobalScope" +import { GlobalScope } from "./GlobalScope" export namespace cursorControl { export function setCursor(value: PointerStyle): void { GlobalScope.cursorControl_setCursor(value) } -} -export namespace cursorControl { export function restoreDefault(): void { GlobalScope.cursorControl_restoreDefault() } diff --git a/arkoala-arkts/arkui/src/generated/ArkDisappearSymbolEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDisappearSymbolEffectMaterialized.ts index 738ab334f88999f07223c3aaea3d7017cf16c7e5..272f6dc8372d4de523622a184629da4feddc1c75 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDisappearSymbolEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDisappearSymbolEffectMaterialized.ts @@ -16,7 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope } from "./ArkArkuiExternalInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" @@ -31,11 +32,7 @@ export class DisappearSymbolEffectInternal { return obj } } -export class DisappearSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class DisappearSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope | undefined { return this.getScope() } @@ -57,6 +54,7 @@ export class DisappearSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope) { + super() const ctorPtr : KPointer = DisappearSymbolEffect.ctor_disappearsymboleffect((scope)!) this.peer = new Finalizable(ctorPtr, DisappearSymbolEffect.getFinalizer()) } diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawableDescriptorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawableDescriptorMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..6fda14c90974db100e9e0979914bc331634bb9b1 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkDrawableDescriptorMaterialized.ts @@ -0,0 +1,58 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing 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 { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class DrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): DrawableDescriptor { + const obj : DrawableDescriptor = new DrawableDescriptor() + obj.peer = new Finalizable(ptr, DrawableDescriptor.getFinalizer()) + return obj + } +} +export class DrawableDescriptor implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_drawabledescriptor(): KPointer { + const retval = ArkUIGeneratedNativeModule._DrawableDescriptor_ctor() + return retval + } + constructor() { + const ctorPtr : KPointer = DrawableDescriptor.ctor_drawabledescriptor() + this.peer = new Finalizable(ctorPtr, DrawableDescriptor.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._DrawableDescriptor_getFinalizer() + } + public getPixelMap(): PixelMap { + return this.getPixelMap_serialize() + } + private getPixelMap_serialize(): PixelMap { + const retval = ArkUIGeneratedNativeModule._DrawableDescriptor_getPixelMap(this.peer!.ptr) + const obj : PixelMap = PixelMapInternal.fromPtr(retval) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFocusControlNamespace.ts b/arkoala-arkts/arkui/src/generated/ArkFocusControlNamespace.ts index 12cc3815234308ccb369d7a52d613a1e910cd6ee..9361615be3e9a3a7b9c52d69be97dd2daaa40837 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFocusControlNamespace.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFocusControlNamespace.ts @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { GlobalScope } from "./peers/GlobalScope" +import { GlobalScope } from "./GlobalScope" export namespace focusControl { export function requestFocus(value: string): boolean { return GlobalScope.focusControl_requestFocus(value) diff --git a/arkoala-arkts/arkui/src/generated/ArkHierarchicalSymbolEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkHierarchicalSymbolEffectMaterialized.ts index fadd44c06a9b60fbbf5b8071eaa4fa86b53440c5..f8ede76302a9c8d82263f51ef8d67c3229ac3f03 100644 --- a/arkoala-arkts/arkui/src/generated/ArkHierarchicalSymbolEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkHierarchicalSymbolEffectMaterialized.ts @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" import { EffectFillStyle } from "./ArkSymbolglyphInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" @@ -32,11 +32,7 @@ export class HierarchicalSymbolEffectInternal { return obj } } -export class HierarchicalSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class HierarchicalSymbolEffect extends SymbolEffect implements MaterializedBase { get fillStyle(): EffectFillStyle | undefined { return this.getFillStyle() } @@ -58,6 +54,7 @@ export class HierarchicalSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(fillStyle?: EffectFillStyle) { + super() const ctorPtr : KPointer = HierarchicalSymbolEffect.ctor_hierarchicalsymboleffect((fillStyle)!) this.peer = new Finalizable(ctorPtr, HierarchicalSymbolEffect.getFinalizer()) } diff --git a/arkoala-arkts/arkui/src/generated/ArkImage.ts b/arkoala-arkts/arkui/src/generated/ArkImage.ts index 9a5ea8adcc93dc2f98973c4c41211ea88245d2a3..fd38d44c854695a6675a4200af758c758f70ac7d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImage.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImage.ts @@ -29,7 +29,7 @@ import { DrawModifier } from "./ArkDrawModifierMaterialized" import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, ImageFit, CopyOptions } 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_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event } from "./SyntheticDeclarations" import { LengthMetrics } from "./ArkLengthMetricsMaterialized" -import { ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, DrawableDescriptor, ImageAttribute, ImageContent } from "./ArkImageInterfaces" +import { ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, ImageAttribute, ImageContent } from "./ArkImageInterfaces" import { Resource } from "./ArkResourceInterfaces" import { ClickEvent } from "./ArkClickEventMaterialized" import { HoverEvent } from "./ArkHoverEventMaterialized" @@ -51,6 +51,7 @@ import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { PixelMap } from "./ArkPixelMapMaterialized" import { ColorFilter } from "./ArkColorFilterMaterialized" import { ImageAnalyzerConfig, ImageAIOptions } from "./ArkImageCommonInterfaces" +import { DrawableDescriptor } from "./ArkDrawableDescriptorMaterialized" /** @memo:stable */ export class ArkImageComponent extends ArkCommonMethodComponent { getPeer(): ArkImagePeer { @@ -61,18 +62,18 @@ export class ArkImageComponent extends ArkCommonMethodComponent { if (this.checkPriority("setImageOptions")) { const src_type = runtimeType(src) const imageAIOptions_type = runtimeType(imageAIOptions) - if (((TypeChecker.isPixelMap(src, false, false)) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (TypeChecker.isDrawableDescriptor(src, false))) && (RuntimeType.UNDEFINED == imageAIOptions_type)) { + if (((TypeChecker.isPixelMap(src, false, false)) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (TypeChecker.isDrawableDescriptor(src))) && (RuntimeType.UNDEFINED == imageAIOptions_type)) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) this.getPeer()?.setImageOptions0Attribute(src_casted) return this } - if (((TypeChecker.isPixelMap(src, false, false)) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (TypeChecker.isDrawableDescriptor(src, false))) && (RuntimeType.OBJECT == imageAIOptions_type)) { + if (((TypeChecker.isPixelMap(src, false, false)) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (TypeChecker.isDrawableDescriptor(src))) && (RuntimeType.OBJECT == imageAIOptions_type)) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) this.getPeer()?.setImageOptions2Attribute(src_casted, imageAIOptions_casted) return this } - if (((TypeChecker.isPixelMap(src, false, false)) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (TypeChecker.isDrawableDescriptor(src, false)) || (TypeChecker.isImageContent(src))) && (RuntimeType.UNDEFINED == imageAIOptions_type)) { + if (((TypeChecker.isPixelMap(src, false, false)) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (TypeChecker.isDrawableDescriptor(src)) || (TypeChecker.isImageContent(src))) && (RuntimeType.UNDEFINED == imageAIOptions_type)) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor | ImageContent) this.getPeer()?.setImageOptions1Attribute(src_casted) return this diff --git a/arkoala-arkts/arkui/src/generated/ArkImageInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkImageInterfaces.ts index 71bba7f1bff0215de875537af9f1c76131333078..4aea6125bd5c96810aa199ec0fd62d9887bd3f65 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageInterfaces.ts @@ -21,6 +21,7 @@ import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from import { NodeAttach, remember } from "@koalaui/runtime" import { PixelMap } from "./ArkPixelMapMaterialized" import { ResourceStr, Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions } from "./ArkUnitsInterfaces" +import { DrawableDescriptor } from "./ArkDrawableDescriptorMaterialized" import { ImageAIOptions, ImageAnalyzerConfig } from "./ArkImageCommonInterfaces" import { CommonMethod, 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, 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, PointLightStyle } from "./ArkCommonInterfaces" import { DrawModifier } from "./ArkDrawModifierMaterialized" @@ -46,9 +47,6 @@ import { GestureModifier } from "./ArkGestureModifierMaterialized" import { GestureInfo, GestureJudgeResult, GestureType, GestureMask } from "./ArkGestureInterfaces" import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { ColorFilter } from "./ArkColorFilterMaterialized" -export interface DrawableDescriptor { - _DrawableDescriptorStub: string; -} export interface DrawingColorFilter { _DrawingColorFilterStub: string; } diff --git a/arkoala-arkts/arkui/src/generated/ArkLayeredDrawableDescriptorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLayeredDrawableDescriptorMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..7e7acd409af0e13aa505922b6070b9ae8ab5a670 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkLayeredDrawableDescriptorMaterialized.ts @@ -0,0 +1,105 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { DrawableDescriptor, DrawableDescriptorInternal } from "./ArkDrawableDescriptorMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class LayeredDrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): LayeredDrawableDescriptor { + const obj : LayeredDrawableDescriptor = new LayeredDrawableDescriptor(undefined, undefined, undefined) + obj.peer = new Finalizable(ptr, LayeredDrawableDescriptor.getFinalizer()) + return obj + } +} +export class LayeredDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { + static ctor_layereddrawabledescriptor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor): KPointer { + const thisSerializer : Serializer = Serializer.hold() + let foreground_type : int32 = RuntimeType.UNDEFINED + foreground_type = runtimeType(foreground) + thisSerializer.writeInt8(foreground_type as int32) + if ((RuntimeType.UNDEFINED) != (foreground_type)) { + const foreground_value = foreground! + thisSerializer.writeDrawableDescriptor(foreground_value) + } + let background_type : int32 = RuntimeType.UNDEFINED + background_type = runtimeType(background) + thisSerializer.writeInt8(background_type as int32) + if ((RuntimeType.UNDEFINED) != (background_type)) { + const background_value = background! + thisSerializer.writeDrawableDescriptor(background_value) + } + let mask_type : int32 = RuntimeType.UNDEFINED + mask_type = runtimeType(mask) + thisSerializer.writeInt8(mask_type as int32) + if ((RuntimeType.UNDEFINED) != (mask_type)) { + const mask_value = mask! + thisSerializer.writeDrawableDescriptor(mask_value) + } + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor) { + super() + // All constructor parameters are optional. + // It means that the static method call invokes ctor method as well + // when all arguments are undefined. + const ctorPtr : KPointer = LayeredDrawableDescriptor.ctor_layereddrawabledescriptor((foreground)!, (background)!, (mask)!) + this.peer = new Finalizable(ctorPtr, LayeredDrawableDescriptor.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getFinalizer() + } + public getForeground(): DrawableDescriptor { + return this.getForeground_serialize() + } + public getBackground(): DrawableDescriptor { + return this.getBackground_serialize() + } + public getMask(): DrawableDescriptor { + return this.getMask_serialize() + } + public static getMaskClipPath(): string { + return LayeredDrawableDescriptor.getMaskClipPath_serialize() + } + private getForeground_serialize(): DrawableDescriptor { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getForeground(this.peer!.ptr) + const obj : DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) + return obj + } + private getBackground_serialize(): DrawableDescriptor { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getBackground(this.peer!.ptr) + const obj : DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) + return obj + } + private getMask_serialize(): DrawableDescriptor { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getMask(this.peer!.ptr) + const obj : DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) + return obj + } + private static getMaskClipPath_serialize(): string { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getMaskClipPath() + return retval + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMediaCachedImage.ts b/arkoala-arkts/arkui/src/generated/ArkMediaCachedImage.ts index e9c1967de663482031f0b1ededaa7f04e0b2c36d..d4d7607ae35885ca48c7445c203cf9c20d7c44a0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMediaCachedImage.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMediaCachedImage.ts @@ -23,7 +23,7 @@ import { ComponentBase } from "./../ComponentBase" import { TypeChecker } from "#components" import { ArkImageComponent } from "./ArkImage" import { ArkMediaCachedImagePeer } from "./peers/ArkMediaCachedImagePeer" -import { ImageAttribute, ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, DrawableDescriptor } from "./ArkImageInterfaces" +import { ImageAttribute, ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality } from "./ArkImageInterfaces" import { CommonMethod, 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, 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, PointLightStyle } from "./ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions } from "./ArkUnitsInterfaces" import { DrawModifier } from "./ArkDrawModifierMaterialized" @@ -51,6 +51,7 @@ import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { PixelMap } from "./ArkPixelMapMaterialized" import { ColorFilter } from "./ArkColorFilterMaterialized" import { ImageAnalyzerConfig } from "./ArkImageCommonInterfaces" +import { DrawableDescriptor } from "./ArkDrawableDescriptorMaterialized" import { ASTCResource, MediaCachedImageAttribute } from "./ArkMediaCachedImageInterfaces" /** @memo:stable */ export class ArkMediaCachedImageComponent extends ArkImageComponent { diff --git a/arkoala-arkts/arkui/src/generated/ArkMediaCachedImageInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkMediaCachedImageInterfaces.ts index ea265bf08ee825dc4880cc215068b8eed25c2069..da619e5ba8d4d7c26d655499b377f7a62734ee9f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMediaCachedImageInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMediaCachedImageInterfaces.ts @@ -21,7 +21,8 @@ import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from import { NodeAttach, remember } from "@koalaui/runtime" import { PixelMap } from "./ArkPixelMapMaterialized" import { ResourceStr, Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions } from "./ArkUnitsInterfaces" -import { DrawableDescriptor, ImageAttribute, ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality } from "./ArkImageInterfaces" +import { DrawableDescriptor } from "./ArkDrawableDescriptorMaterialized" +import { ImageAttribute, ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality } from "./ArkImageInterfaces" import { CommonMethod, 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, 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, PointLightStyle } from "./ArkCommonInterfaces" import { DrawModifier } from "./ArkDrawModifierMaterialized" import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, ImageFit, CopyOptions } from "./ArkEnumsInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigationExtenderInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkNavigationExtenderInterfaces.ts index 3f5349a64bc6e86ce56e838559e4a91f1a8428df..e645d10a5fb1ca571eef5a613c17548a528ec012 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigationExtenderInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigationExtenderInterfaces.ts @@ -19,4 +19,4 @@ 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 = () => void; +export type NavExtender_OnUpdateStack = (name: string) => void; diff --git a/arkoala-arkts/arkui/src/generated/ArkPixelMapDrawableDescriptorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPixelMapDrawableDescriptorMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..76474d6efa5b48f2629219b7235ea418dc2ea5fc --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkPixelMapDrawableDescriptorMaterialized.ts @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { DrawableDescriptor, DrawableDescriptorInternal } from "./ArkDrawableDescriptorMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class PixelMapDrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): PixelMapDrawableDescriptor { + const obj : PixelMapDrawableDescriptor = new PixelMapDrawableDescriptor(undefined) + obj.peer = new Finalizable(ptr, PixelMapDrawableDescriptor.getFinalizer()) + return obj + } +} +export class PixelMapDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { + static ctor_pixelmapdrawabledescriptor(src?: PixelMap): KPointer { + const thisSerializer : Serializer = Serializer.hold() + let src_type : int32 = RuntimeType.UNDEFINED + src_type = runtimeType(src) + thisSerializer.writeInt8(src_type as int32) + if ((RuntimeType.UNDEFINED) != (src_type)) { + const src_value = src! + thisSerializer.writePixelMap(src_value) + } + const retval = ArkUIGeneratedNativeModule._PixelMapDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(src?: PixelMap) { + super() + const ctorPtr : KPointer = PixelMapDrawableDescriptor.ctor_pixelmapdrawabledescriptor((src)!) + this.peer = new Finalizable(ctorPtr, PixelMapDrawableDescriptor.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PixelMapDrawableDescriptor_getFinalizer() + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkProfilerNamespace.ts b/arkoala-arkts/arkui/src/generated/ArkProfilerNamespace.ts index f202173cddfa2fd5e493ac433f99e28b148aedc6..47c4c816125e3fb47f60cea6933b9070613844f8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkProfilerNamespace.ts +++ b/arkoala-arkts/arkui/src/generated/ArkProfilerNamespace.ts @@ -16,13 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { GlobalScope } from "./peers/GlobalScope" +import { GlobalScope } from "./GlobalScope" export namespace Profiler { export function registerVsyncCallback(callback_: ((info: string) => void)): void { GlobalScope.Profiler_registerVsyncCallback(callback_) } -} -export namespace Profiler { export function unregisterVsyncCallback(): void { GlobalScope.Profiler_unregisterVsyncCallback() } diff --git a/arkoala-arkts/arkui/src/generated/ArkPulseSymbolEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPulseSymbolEffectMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..3ae038e66d38297292ffb45dc09f94e0bec4e2a5 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkPulseSymbolEffectMaterialized.ts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class PulseSymbolEffectInternal { + public static fromPtr(ptr: KPointer): PulseSymbolEffect { + const obj : PulseSymbolEffect = new PulseSymbolEffect() + obj.peer = new Finalizable(ptr, PulseSymbolEffect.getFinalizer()) + return obj + } +} +export class PulseSymbolEffect extends SymbolEffect implements MaterializedBase { + static ctor_pulsesymboleffect(): KPointer { + const retval = ArkUIGeneratedNativeModule._PulseSymbolEffect_ctor() + return retval + } + constructor() { + super() + const ctorPtr : KPointer = PulseSymbolEffect.ctor_pulsesymboleffect() + this.peer = new Finalizable(ctorPtr, PulseSymbolEffect.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PulseSymbolEffect_getFinalizer() + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkReplaceSymbolEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkReplaceSymbolEffectMaterialized.ts index cb8c4c75c00331153de1ddfa03f8e22cc67ab8bf..6787c55159b04dc4e17b7772da54e28b132d9de3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkReplaceSymbolEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkReplaceSymbolEffectMaterialized.ts @@ -16,7 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope } from "./ArkArkuiExternalInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" @@ -31,11 +32,7 @@ export class ReplaceSymbolEffectInternal { return obj } } -export class ReplaceSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class ReplaceSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope | undefined { return this.getScope() } @@ -57,6 +54,7 @@ export class ReplaceSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope) { + super() const ctorPtr : KPointer = ReplaceSymbolEffect.ctor_replacesymboleffect((scope)!) this.peer = new Finalizable(ctorPtr, ReplaceSymbolEffect.getFinalizer()) } diff --git a/arkoala-arkts/arkui/src/generated/ArkScaleSymbolEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScaleSymbolEffectMaterialized.ts index d2f2569142d8deb046fc44236ab9f7f67037dc6e..096bd5d0805991adb5017442f31eaeb0d93cb439 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScaleSymbolEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScaleSymbolEffectMaterialized.ts @@ -16,7 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope, EffectDirection } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope, EffectDirection } from "./ArkArkuiExternalInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" @@ -31,11 +32,7 @@ export class ScaleSymbolEffectInternal { return obj } } -export class ScaleSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class ScaleSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope | undefined { return this.getScope() } @@ -71,6 +68,7 @@ export class ScaleSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope, direction?: EffectDirection) { + super() const ctorPtr : KPointer = ScaleSymbolEffect.ctor_scalesymboleffect((scope)!, (direction)!) this.peer = new Finalizable(ctorPtr, ScaleSymbolEffect.getFinalizer()) } diff --git a/arkoala-arkts/arkui/src/generated/ArkSymbolEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSymbolEffectMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..23a3497e70374ea41ee4945d0a9b24d62cc4d766 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkSymbolEffectMaterialized.ts @@ -0,0 +1,56 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class SymbolEffectInternal { + public static fromPtr(ptr: KPointer): SymbolEffect { + const obj : SymbolEffect = new SymbolEffect() + obj.peer = new Finalizable(ptr, SymbolEffect.getFinalizer()) + return obj + } +} +export class SymbolEffect implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_symboleffect(): KPointer { + const retval = ArkUIGeneratedNativeModule._SymbolEffect_ctor() + return retval + } + constructor() { + const ctorPtr : KPointer = SymbolEffect.ctor_symboleffect() + this.peer = new Finalizable(ctorPtr, SymbolEffect.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SymbolEffect_getFinalizer() + } + public dummyForAccessorGenerate(): void { + this.dummyForAccessorGenerate_serialize() + return + } + private dummyForAccessorGenerate_serialize(): void { + ArkUIGeneratedNativeModule._SymbolEffect_dummyForAccessorGenerate(this.peer!.ptr) + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts b/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts index 7b00462d9459c577ea46b8ad08122d4c170b0a7a..77ba2e93777e29ebb4fb6d05a819ad544fc827a6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts @@ -50,7 +50,7 @@ import { GestureInfo, GestureJudgeResult, GestureType, GestureMask } from "./Ark import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { PixelMap } from "./ArkPixelMapMaterialized" import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphAttribute } from "./ArkSymbolglyphInterfaces" -import { SymbolEffect } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect } from "./ArkSymbolEffectMaterialized" /** @memo:stable */ export class ArkSymbolGlyphComponent extends ArkCommonMethodComponent { getPeer(): ArkSymbolGlyphPeer { diff --git a/arkoala-arkts/arkui/src/generated/ArkSymbolglyphInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSymbolglyphInterfaces.ts index b94889054cd5a3e034c2483cd71d1ffb3fb67696..dbc61eee3bfa14eecc78259ebb5f052c96ea8f4f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSymbolglyphInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSymbolglyphInterfaces.ts @@ -20,7 +20,6 @@ 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 { SymbolEffect } from "./ArkArkuiExternalInterfaces" import { CommonMethod, 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, 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 } from "./ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions } from "./ArkUnitsInterfaces" import { DrawModifier } from "./ArkDrawModifierMaterialized" @@ -46,6 +45,7 @@ import { GestureModifier } from "./ArkGestureModifierMaterialized" import { GestureInfo, GestureJudgeResult, GestureType, GestureMask } from "./ArkGestureInterfaces" import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { PixelMap } from "./ArkPixelMapMaterialized" +import { SymbolEffect } from "./ArkSymbolEffectMaterialized" export type SymbolGlyphInterface = (value?: Resource) => SymbolGlyphAttribute; export enum SymbolRenderingStrategy { SINGLE = 0, @@ -61,8 +61,6 @@ export enum EffectFillStyle { CUMULATIVE = 0, ITERATIVE = 1 } -export interface PulseSymbolEffect extends SymbolEffect { -} export interface SymbolGlyphAttribute extends CommonMethod { fontSize: number | string | Resource; fontColor: Array; diff --git a/arkoala-arkts/arkui/src/generated/ArkSystemOpsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSystemOpsMaterialized.ts index 49851f1256437d4d0a9dbf5fe393f03927164d89..f1053624dc9231af8e2b37d9cba71f9ec1b88345 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSystemOpsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSystemOpsMaterialized.ts @@ -41,6 +41,12 @@ export class SystemOps { SystemOps.restoreInstanceId_serialize() return } + public static getResourceId(bundleName: string, moduleName: string, params: Array): int32 { + const bundleName_casted = bundleName as (string) + const moduleName_casted = moduleName as (string) + const params_casted = params as (Array) + return SystemOps.getResourceId_serialize(bundleName_casted, moduleName_casted, params_casted) + } private static StartFrame_serialize(): KPointer { const retval = ArkUIGeneratedNativeModule._SystemOps_StartFrame() return retval @@ -54,4 +60,15 @@ export class SystemOps { private static restoreInstanceId_serialize(): void { ArkUIGeneratedNativeModule._SystemOps_restoreInstanceId() } + private static getResourceId_serialize(bundleName: string, moduleName: string, params: Array): int32 { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(params.length as int32) + for (let i = 0; i < params.length; i++) { + const params_element : string = params[i] + thisSerializer.writeString(params_element) + } + const retval = ArkUIGeneratedNativeModule._SystemOps_getResourceId(bundleName, moduleName, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } } diff --git a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts index a6b39545fe6da4a1a6448c2e8abc94140180ee79..6e0fa57eb38feba440404129ad8923c968f8fea3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts @@ -26,7 +26,7 @@ import { CallbackKind } from "./peers/CallbackKind" import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./peers/CallbackTransformer" export interface TextBaseController { - setSelection(selectionStart: number, selectionEnd: number, options: SelectionOptions): void + setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void closeSelectionMenu(): void getLayoutManager(): LayoutManager } diff --git a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts index 940194f9911b08e205dfa6e63b252fb00c6bc460..b26f5eb51df17f8e0b69a2ac61e34f62a290ce32 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts @@ -29,8 +29,8 @@ export interface UIExtensionProxy { sendSync(data: Map): Map onAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void onSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void - offAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void - offSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void + offAsyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void + offSyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void } export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionProxy { peer?: Finalizable | undefined = undefined diff --git a/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts index b71e7e11b96e1150cc777d8ee5d6016df1f62f91..4677521279b415b4c9b4185da6d923e9d8989314 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts @@ -185,10 +185,6 @@ export interface MarkStyle { size?: Length; strokeWidth?: Length; } -export interface TouchPoint { - x: Dimension; - y: Dimension; -} export interface DirectionalEdgesT { start: number; end: number; diff --git a/arkoala-arkts/arkui/src/generated/GlobalScope.ts b/arkoala-arkts/arkui/src/generated/GlobalScope.ts index f3f6dec359d753d598f394217f20a8b8f16c4550..3f8fce71ab0cd35b63fa8c9313d17cb0d57cbd73 100644 --- a/arkoala-arkts/arkui/src/generated/GlobalScope.ts +++ b/arkoala-arkts/arkui/src/generated/GlobalScope.ts @@ -17,9 +17,17 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { Context, AnimateParam } from "./ArkCommonInterfaces" -import { GlobalScope } from "./peers/GlobalScope" import { Resource } from "./ArkResourceInterfaces" import { Callback_Void } from "./SyntheticDeclarations" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" +import { Profiler } from "./ArkProfilerNamespace" +import { PointerStyle } from "./ArkArkuiCustomInterfaces" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, toPeerPtr, MaterializedBase, NativeBuffer } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" export function getContext(component?: Object | undefined): Context { return GlobalScope.getContext(component) } @@ -65,3 +73,203 @@ export function getInspectorNodeById(id: number): Object { export function setAppBgColor(value: string): void { GlobalScope.setAppBgColor(value) } +export class GlobalScope { + public static getContext(component?: Object): Context { + const component_casted = component as (Object | undefined) + return GlobalScope.getContext_serialize(component_casted) + } + static getContext_serialize(component?: Object): Context { + const thisSerializer : Serializer = Serializer.hold() + let component_type : int32 = RuntimeType.UNDEFINED + component_type = runtimeType(component) + thisSerializer.writeInt8(component_type as int32) + if ((RuntimeType.UNDEFINED) != (component_type)) { + const component_value = component! + thisSerializer.writeCustomObject("Object", component_value) + } + const retval = ArkUIGeneratedNativeModule._GlobalScope_getContext(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const returnResult : Context = retvalDeserializer.readContext() + return returnResult + } + public static postCardAction(component: Object, action: Object): void { + const component_casted = component as (Object) + const action_casted = action as (Object) + GlobalScope.postCardAction_serialize(component_casted, action_casted) + return + } + static postCardAction_serialize(component: Object, action: Object): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeCustomObject("Object", component) + thisSerializer.writeCustomObject("Object", action) + ArkUIGeneratedNativeModule._GlobalScope_postCardAction(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static dollar_r(value: string, params: Array): Resource { + const value_casted = value as (string) + const params_casted = params as (Array) + return GlobalScope.dollar_r_serialize(value_casted, params_casted) + } + static dollar_r_serialize(value: string, params: Array): Resource { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(params.length as int32) + for (let i = 0; i < params.length; i++) { + const params_element : object = params[i] + thisSerializer.writeCustomObject("Any", params_element) + } + const retval = ArkUIGeneratedNativeModule._GlobalScope_dollar_r(value, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const returnResult : Resource = retvalDeserializer.readResource() + return returnResult + } + public static dollar_rawfile(value: string): Resource { + const value_casted = value as (string) + return GlobalScope.dollar_rawfile_serialize(value_casted) + } + static dollar_rawfile_serialize(value: string): Resource { + const retval = ArkUIGeneratedNativeModule._GlobalScope_dollar_rawfile(value) + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const returnResult : Resource = retvalDeserializer.readResource() + return returnResult + } + public static animateTo(value: AnimateParam, event: (() => void)): void { + const value_casted = value as (AnimateParam) + const event_casted = event as ((() => void)) + GlobalScope.animateTo_serialize(value_casted, event_casted) + return + } + static animateTo_serialize(value: AnimateParam, event: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeAnimateParam(value) + thisSerializer.holdAndWriteCallback(event) + ArkUIGeneratedNativeModule._GlobalScope_animateTo(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static animateToImmediately(value: AnimateParam, event: (() => void)): void { + const value_casted = value as (AnimateParam) + const event_casted = event as ((() => void)) + GlobalScope.animateToImmediately_serialize(value_casted, event_casted) + return + } + static animateToImmediately_serialize(value: AnimateParam, event: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeAnimateParam(value) + thisSerializer.holdAndWriteCallback(event) + ArkUIGeneratedNativeModule._GlobalScope_animateToImmediately(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static vp2px(value: number): number { + const value_casted = value as (number) + return GlobalScope.vp2px_serialize(value_casted) + } + static vp2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_vp2px(value) + return retval + } + public static px2vp(value: number): number { + const value_casted = value as (number) + return GlobalScope.px2vp_serialize(value_casted) + } + static px2vp_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_px2vp(value) + return retval + } + public static fp2px(value: number): number { + const value_casted = value as (number) + return GlobalScope.fp2px_serialize(value_casted) + } + static fp2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_fp2px(value) + return retval + } + public static px2fp(value: number): number { + const value_casted = value as (number) + return GlobalScope.px2fp_serialize(value_casted) + } + static px2fp_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_px2fp(value) + return retval + } + public static lpx2px(value: number): number { + const value_casted = value as (number) + return GlobalScope.lpx2px_serialize(value_casted) + } + static lpx2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_lpx2px(value) + return retval + } + public static px2lpx(value: number): number { + const value_casted = value as (number) + return GlobalScope.px2lpx_serialize(value_casted) + } + static px2lpx_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_px2lpx(value) + return retval + } + public static getInspectorNodes(): Object { + return GlobalScope.getInspectorNodes_serialize() + } + static getInspectorNodes_serialize(): Object { + const retval = ArkUIGeneratedNativeModule._GlobalScope_getInspectorNodes() + throw new Error("Object deserialization is not implemented.") + } + public static getInspectorNodeById(id: number): Object { + const id_casted = id as (number) + return GlobalScope.getInspectorNodeById_serialize(id_casted) + } + static getInspectorNodeById_serialize(id: number): Object { + const retval = ArkUIGeneratedNativeModule._GlobalScope_getInspectorNodeById(id) + throw new Error("Object deserialization is not implemented.") + } + public static setAppBgColor(value: string): void { + const value_casted = value as (string) + GlobalScope.setAppBgColor_serialize(value_casted) + return + } + static setAppBgColor_serialize(value: string): void { + ArkUIGeneratedNativeModule._GlobalScope_setAppBgColor(value) + } + public static Profiler_registerVsyncCallback(callback_: ((info: string) => void)): void { + const callback__casted = callback_ as (((info: string) => void)) + GlobalScope.Profiler_registerVsyncCallback_serialize(callback__casted) + return + } + static Profiler_registerVsyncCallback_serialize(callback_: ((info: string) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback_) + ArkUIGeneratedNativeModule._GlobalScope_Profiler_registerVsyncCallback(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static Profiler_unregisterVsyncCallback(): void { + GlobalScope.Profiler_unregisterVsyncCallback_serialize() + return + } + static Profiler_unregisterVsyncCallback_serialize(): void { + ArkUIGeneratedNativeModule._GlobalScope_Profiler_unregisterVsyncCallback() + } + public static cursorControl_setCursor(value: PointerStyle): void { + const value_casted = value as (PointerStyle) + GlobalScope.cursorControl_setCursor_serialize(value_casted) + return + } + static cursorControl_setCursor_serialize(value: PointerStyle): void { + ArkUIGeneratedNativeModule._GlobalScope_cursorControl_setCursor(value.valueOf()) + } + public static cursorControl_restoreDefault(): void { + GlobalScope.cursorControl_restoreDefault_serialize() + return + } + static cursorControl_restoreDefault_serialize(): void { + ArkUIGeneratedNativeModule._GlobalScope_cursorControl_restoreDefault() + } + public static focusControl_requestFocus(value: string): boolean { + const value_casted = value as (string) + return GlobalScope.focusControl_requestFocus_serialize(value_casted) + } + static focusControl_requestFocus_serialize(value: string): boolean { + const retval = ArkUIGeneratedNativeModule._GlobalScope_focusControl_requestFocus(value) + return retval + } +} diff --git a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts index fa8b42549c8a016636fa0dd0b3b9f534fed79a21..03923ac165134786049ed81bfb10e7506a286a22 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts @@ -13,10 +13,12 @@ * limitations under the License. */ -import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, NativeBuffer, KSerializerBuffer, loadNativeModuleLibrary } from "@koalaui/interop" + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, KSerializerBuffer, loadNativeModuleLibrary, NativeBuffer } from "@koalaui/interop" import { int32, float32 } from "@koalaui/common" import { Length } from "./../ArkUnitsInterfaces" - export class ArkUIGeneratedNativeModule { static { loadNativeModuleLibrary("ArkUIGeneratedNativeModule") @@ -2148,9 +2150,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SymbolGlyphAttribute_renderingStrategy(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SymbolGlyphAttribute_symbolEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SymbolGlyphAttribute_symbolEffect1(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SymbolSpan_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct @@ -3130,8 +3132,36 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SystemOps_restoreInstanceId(): void @ani.unsafe.Quick + native static _SystemOps_getResourceId(bundleName: KStringPtr, moduleName: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): int32 + @ani.unsafe.Quick native static _FocusController_requestFocus(key: KStringPtr): void @ani.unsafe.Direct + native static _DrawableDescriptor_ctor(): KPointer + @ani.unsafe.Direct + native static _DrawableDescriptor_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _DrawableDescriptor_getPixelMap(ptr: KPointer): KPointer + @ani.unsafe.Direct + native static _LayeredDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Direct + native static _LayeredDrawableDescriptor_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _LayeredDrawableDescriptor_getForeground(ptr: KPointer): KPointer + @ani.unsafe.Direct + native static _LayeredDrawableDescriptor_getBackground(ptr: KPointer): KPointer + @ani.unsafe.Direct + native static _LayeredDrawableDescriptor_getMask(ptr: KPointer): KPointer + @ani.unsafe.Quick + native static _LayeredDrawableDescriptor_getMaskClipPath(): string + @ani.unsafe.Direct + native static _PixelMapDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Direct + native static _PixelMapDrawableDescriptor_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _AnimatedDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Direct + native static _AnimatedDrawableDescriptor_getFinalizer(): KPointer + @ani.unsafe.Direct native static _DrawingCanvas_ctor(pixelmap: KPointer): KPointer @ani.unsafe.Direct native static _DrawingCanvas_getFinalizer(): KPointer @@ -3296,6 +3326,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Quick native static _GlobalScope_ohos_measure_utils_measureTextSize(thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer @ani.unsafe.Direct + native static _SymbolEffect_ctor(): KPointer + @ani.unsafe.Direct + native static _SymbolEffect_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _SymbolEffect_dummyForAccessorGenerate(ptr: KPointer): void + @ani.unsafe.Direct native static _ScaleSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _ScaleSymbolEffect_getFinalizer(): KPointer @@ -4768,6 +4804,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _BounceSymbolEffect_setDirection(ptr: KPointer, direction: KInt): void @ani.unsafe.Direct + native static _PulseSymbolEffect_ctor(): KPointer + @ani.unsafe.Direct + native static _PulseSymbolEffect_getFinalizer(): KPointer + @ani.unsafe.Direct native static _TabsController_ctor(): KPointer @ani.unsafe.Direct native static _TabsController_getFinalizer(): KPointer @@ -5509,4 +5549,4 @@ export class ArkUIGeneratedNativeModule { native static _GlobalScope_cursorControl_restoreDefault(): void @ani.unsafe.Quick native static _GlobalScope_focusControl_requestFocus(value: KStringPtr): boolean -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/arkts/ArkUINativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/ArkUINativeModule.ts index d3374a102483ef87d0718e6cdc07617f2032d5ae..3c871481d5ee135c9e0596531690ee897d3a43a1 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/ArkUINativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/ArkUINativeModule.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, NativeBuffer, KSerializerBuffer, loadNativeModuleLibrary } from "@koalaui/interop" +import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, KSerializerBuffer, loadNativeModuleLibrary, NativeBuffer } from "@koalaui/interop" import { int32, float32 } from "@koalaui/common" export class ArkUINativeModule { diff --git a/arkoala-arkts/arkui/src/generated/arkts/TestNativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/TestNativeModule.ts index 693dc3291fb0f8e88e55c312ed2dec9931b62c8a..4de9e341784e38ae3e0729cad9e0e27b9ffe5e44 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/TestNativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/TestNativeModule.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, NativeBuffer, KSerializerBuffer, loadNativeModuleLibrary } from "@koalaui/interop" +import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, KSerializerBuffer, loadNativeModuleLibrary, NativeBuffer } from "@koalaui/interop" import { int32, float32 } from "@koalaui/common" export class TestNativeModule { diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index 2e0e6997faa45d7df4a857f74fef5f603a8ab67b..cb6766380600b4a3572abbd5fe8c2c339bc5cc3d 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { KBoolean, KStringPtr, NativeBuffer, MaterializedBase } from "@koalaui/interop" import { int32 } from "@koalaui/common" import { BusinessError } from "./../ArkBaseInterfaces" @@ -11,13 +29,18 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOps } from "./../ArkLazyForEachOpsMaterialized" import { SystemOps } from "./../ArkSystemOpsMaterialized" import { FocusController } from "./../ArkFocusControllerMaterialized" -import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" +import { DrawableDescriptor } from "./../ArkDrawableDescriptorMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" -import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, WebHeader, SnapshotOptions, PerfMonitorActionType, PerfMonitorSourceType, ShapeSize, RectShapeOptions, RoundRectShapeOptions, PathShapeOptions, FontOptions, FontInfo, MeasureOptions, EffectDirection, EffectScope, SymbolEffect, ErrorCallback } from "./../ArkArkuiExternalInterfaces" +import { LayeredDrawableDescriptor } from "./../ArkLayeredDrawableDescriptorMaterialized" +import { PixelMapDrawableDescriptor } from "./../ArkPixelMapDrawableDescriptorMaterialized" +import { AnimationOptions } from "./../ArkArkuiDrawabledescriptorInterfaces" +import { AnimatedDrawableDescriptor } from "./../ArkAnimatedDrawableDescriptorMaterialized" +import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" +import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, WebHeader, SnapshotOptions, PerfMonitorActionType, PerfMonitorSourceType, ShapeSize, RectShapeOptions, RoundRectShapeOptions, PathShapeOptions, FontOptions, FontInfo, MeasureOptions, EffectDirection, EffectScope, TouchPoint, ErrorCallback } from "./../ArkArkuiExternalInterfaces" import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" import { Resource } from "./../ArkResourceInterfaces" import { ColorMetrics } from "./../ArkColorMetricsMaterialized" -import { ResourceColor, Position, Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, Offset, Font, LengthMetricsUnit, MarkStyle, Bias, EdgeWidth, DirectionalEdgesT, LengthConstrain, DividerStyleOptions, VP, PX, LPX, TouchPoint } from "./../ArkUnitsInterfaces" +import { ResourceColor, Position, Length, SizeOptions, Dimension, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, Offset, Font, LengthMetricsUnit, MarkStyle, Bias, EdgeWidth, DirectionalEdgesT, LengthConstrain, DividerStyleOptions, VP, PX, LPX } from "./../ArkUnitsInterfaces" import { WebviewController } from "./../ArkWebviewControllerMaterialized" import { GlobalScope_ohos_arkui_componentSnapshot } from "./../ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized" import { AsyncCallback_image_PixelMap_Void, Literal_Want_want, 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_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, AnimationRange_Number, 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_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, onItemDragStart_event_type, 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, Literal_Boolean_next_Axis_direction, 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, 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" @@ -30,6 +53,7 @@ import { EllipseShape } from "./../ArkEllipseShapeMaterialized" import { PathShape } from "./../ArkPathShapeMaterialized" import { GlobalScope_ohos_font } from "./../ArkGlobalScopeOhosFontMaterialized" import { GlobalScope_ohos_measure_utils } from "./../ArkGlobalScopeOhosMeasureUtilsMaterialized" +import { SymbolEffect } from "./../ArkSymbolEffectMaterialized" import { ScaleSymbolEffect } from "./../ArkScaleSymbolEffectMaterialized" import { ReplaceSymbolEffect } from "./../ArkReplaceSymbolEffectMaterialized" import { FrameNode } from "./../ArkFrameNodeMaterialized" @@ -42,7 +66,7 @@ import { EventEmulator } from "./../ArkEventEmulatorMaterialized" import { ClickEvent } from "./../ArkClickEventMaterialized" import { AbilityComponentInterface, AbilityComponentAttribute } from "./../ArkAbilityComponentInterfaces" import { DrawModifier } from "./../ArkDrawModifierMaterialized" -import { ResizableOptions, DrawableDescriptor, DrawingColorFilter, ResolutionQuality, DrawingLattice, ImageRenderMode, ImageContent, DynamicRangeMode, ImageInterpolation, ImageInterface, ImageAttribute, ImageSourceSize, ImageErrorCallback, ImageError } from "./../ArkImageInterfaces" +import { ResizableOptions, DrawingColorFilter, ResolutionQuality, DrawingLattice, ImageRenderMode, ImageContent, DynamicRangeMode, ImageInterpolation, ImageInterface, ImageAttribute, ImageSourceSize, ImageErrorCallback, ImageError } from "./../ArkImageInterfaces" import { HoverEvent } from "./../ArkHoverEventMaterialized" import { MouseEvent } from "./../ArkMouseEventMaterialized" import { TouchEvent } from "./../ArkTouchEventMaterialized" @@ -198,7 +222,7 @@ import { RelativeContainerInterface, RelativeContainerAttribute, GuideLinePositi import { VirtualScrollOptions, TemplateOptions } from "./../ArkRepeatInterfaces" import { RichEditorDeleteDirection, RichEditorSpanType, RichEditorResponseType, RichEditorSpanPosition, RichEditorTextStyle, LeadingMarginPlaceholder, RichEditorParagraphStyle, PasteEvent, RichEditorTextSpan, RichEditorLayoutStyle, RichEditorImageSpanStyle, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorParagraphResult, RichEditorSymbolSpanStyleResult, RichEditorTextSpanResult, RichEditorImageSpanStyleResult, RichEditorImageSpanResult, RichEditorImageSpan, RichEditorRange, RichEditorGesture, RichEditorTextSpanOptions, KeyboardOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, PlaceholderStyle, RichEditorSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorSymbolSpanOptions, RichEditorSelection, RichEditorInsertValue, RichEditorDeleteValue, RichEditorChangeValue, RichEditorOptions, RichEditorStyledStringOptions, SelectionMenuOptions, MenuOnAppearCallback, RichEditorSpan, RichEditorAttribute, PasteEventCallback, SubmitCallback, CutEvent, CopyEvent, RichEditorInterface } from "./../ArkRichEditorInterfaces" import { DecorationStyleInterface, StyleOptions, StyledStringKey, SpanStyle, StyledStringValue, TextStyleInterface, GestureStyleInterface, ParagraphStyleInterface, ImageAttachmentLayoutStyle, ImageAttachmentInterface, CustomSpanMetrics, CustomSpanDrawInfo, CustomSpanMeasureInfo, UserDataSpan } from "./../ArkStyledStringInterfaces" -import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphInterface, SymbolGlyphAttribute, EffectFillStyle, PulseSymbolEffect } from "./../ArkSymbolglyphInterfaces" +import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphInterface, SymbolGlyphAttribute, EffectFillStyle } from "./../ArkSymbolglyphInterfaces" import { DecorationStyleResult, TextRange, MenuType, PreviewText, StyledStringChangedListener, TextDataDetectorConfig, OnDidChangeCallback, CaretStyle, EditableTextOnChangeCallback, InsertValue, DeleteValue, FontSettingOptions, TextDataDetectorType, TextDeleteDirection, StyledStringChangeValue, PositionWithAffinity, LineMetrics, TextBox, Affinity, TextMenuItem } from "./../ArkTextCommonInterfaces" import { RichEditorController } from "./../ArkRichEditorControllerMaterialized" import { RichEditorStyledStringController } from "./../ArkRichEditorStyledStringControllerMaterialized" @@ -240,6 +264,7 @@ import { HierarchicalSymbolEffect } from "./../ArkHierarchicalSymbolEffectMateri import { AppearSymbolEffect } from "./../ArkAppearSymbolEffectMaterialized" import { DisappearSymbolEffect } from "./../ArkDisappearSymbolEffectMaterialized" import { BounceSymbolEffect } from "./../ArkBounceSymbolEffectMaterialized" +import { PulseSymbolEffect } from "./../ArkPulseSymbolEffectMaterialized" import { SymbolSpanInterface, SymbolSpanAttribute } from "./../ArkSymbolSpanInterfaces" import { BarMode, AnimationMode, BarPosition, LayoutStyle, TabsOptions, TabsInterface, TabsAttribute, DividerStyle, TabsAnimationEvent, BarGridColumnOptions, ScrollableBarModeOptions, OnTabsAnimationStartCallback, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, TabContentAnimatedTransition } from "./../ArkTabsInterfaces" import { TabsController } from "./../ArkTabsControllerMaterialized" @@ -400,6 +425,9 @@ export class TypeChecker { static isAnimatableArithmetic(value: object|string|number|undefined|null): boolean { return value instanceof AnimatableArithmetic } + static isAnimatedDrawableDescriptor(value: object|string|number|undefined|null): boolean { + return value instanceof AnimatedDrawableDescriptor + } static isAnimateParam(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean): boolean { return value instanceof AnimateParam } @@ -409,6 +437,9 @@ export class TypeChecker { static isAnimationMode(value: object|string|number|undefined|null): boolean { return value instanceof AnimationMode } + static isAnimationOptions(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { + return value instanceof AnimationOptions + } static isAnimationStatus(value: object|string|number|undefined|null): boolean { return value instanceof AnimationStatus } @@ -1111,7 +1142,7 @@ export class TypeChecker { static isDragResult(value: object|string|number|undefined|null): boolean { return value instanceof DragResult } - static isDrawableDescriptor(value: object|string|number|undefined|null, arg0: boolean): boolean { + static isDrawableDescriptor(value: object|string|number|undefined|null): boolean { return value instanceof DrawableDescriptor } static isDrawContext(value: object|string|number|undefined|null, arg0: boolean): boolean { @@ -1792,6 +1823,9 @@ export class TypeChecker { static isLaunchMode(value: object|string|number|undefined|null): boolean { return value instanceof LaunchMode } + static isLayeredDrawableDescriptor(value: object|string|number|undefined|null): boolean { + return value instanceof LayeredDrawableDescriptor + } static isLayoutable(value: object|string|number|undefined|null, arg0: boolean): boolean { return value instanceof Layoutable } @@ -2716,6 +2750,9 @@ export class TypeChecker { static isPixelMap(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { return value instanceof PixelMap } + static isPixelMapDrawableDescriptor(value: object|string|number|undefined|null): boolean { + return value instanceof PixelMapDrawableDescriptor + } static isPixelMapMock(value: object|string|number|undefined|null): boolean { return value instanceof PixelMapMock } @@ -5932,6 +5969,9 @@ export class TypeChecker { static isArray_String(value: object|string|number|undefined|null): boolean { return value instanceof Array } + static isArray_PixelMap(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 } @@ -6121,4 +6161,4 @@ export class TypeChecker { static isArray_SpanStyle(value: object|string|number|undefined|null): boolean { return value instanceof Array } -} \ 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 5ebbda30cd5cb77a2557b539397d6be16320d687..f124afcb47b45e3ea389d9cebd24c3c66961504e 100644 --- a/arkoala-arkts/arkui/src/generated/index.ts +++ b/arkoala-arkts/arkui/src/generated/index.ts @@ -130,6 +130,7 @@ export * from "./ArkBaseInterfaces" export * from "./ArkStdlibInterfaces" export * from "./ArkAnimationExtenderInterfaces" export * from "./ArkArkuiCustomInterfaces" +export * from "./ArkArkuiDrawabledescriptorInterfaces" export * from "./ArkArkuiExternalInterfaces" export * from "./SyntheticDeclarations" export * from "./ArkCustomBuilderInterfaces" @@ -277,6 +278,10 @@ export * from "./ArkUnifiedDataMaterialized" export * from "./ArkLazyForEachOpsMaterialized" export * from "./ArkSystemOpsMaterialized" export * from "./ArkFocusControllerMaterialized" +export * from "./ArkDrawableDescriptorMaterialized" +export * from "./ArkLayeredDrawableDescriptorMaterialized" +export * from "./ArkPixelMapDrawableDescriptorMaterialized" +export * from "./ArkAnimatedDrawableDescriptorMaterialized" export * from "./ArkDrawingCanvasMaterialized" export * from "./ArkLengthMetricsMaterialized" export * from "./ArkColorMetricsMaterialized" @@ -291,6 +296,7 @@ export * from "./ArkEllipseShapeMaterialized" export * from "./ArkPathShapeMaterialized" export * from "./ArkGlobalScopeOhosFontMaterialized" export * from "./ArkGlobalScopeOhosMeasureUtilsMaterialized" +export * from "./ArkSymbolEffectMaterialized" export * from "./ArkScaleSymbolEffectMaterialized" export * from "./ArkReplaceSymbolEffectMaterialized" export * from "./ArkFrameNodeMaterialized" @@ -380,6 +386,7 @@ export * from "./ArkHierarchicalSymbolEffectMaterialized" export * from "./ArkAppearSymbolEffectMaterialized" export * from "./ArkDisappearSymbolEffectMaterialized" export * from "./ArkBounceSymbolEffectMaterialized" +export * from "./ArkPulseSymbolEffectMaterialized" export * from "./ArkTabsControllerMaterialized" export * from "./ArkTabContentTransitionProxyMaterialized" export * from "./ArkTextControllerMaterialized" @@ -442,6 +449,9 @@ export * from "./GlobalScope" export * from "./ArkProfilerNamespace" export * from "./ArkCursorControlNamespace" export * from "./ArkFocusControlNamespace" +export * from "./peers/Serializer" +export * from "./peers/Deserializer" +export * from "./peers/CallbackDeserializeCall" export * from "./ArkIndicatorBuilder" export * from "./ArkDotIndicatorBuilder" export * from "./ArkDigitIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkAbilityComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkAbilityComponentPeer.ts index 883c215896fef76e3fbf6a28b2c6d4b374c2bae8..42bde42fd7cd2b322bd09393c25bf04e9bc6ef3d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkAbilityComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkAbilityComponentPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { Want } from "./../ArkArkuiExternalInterfaces" import { AbilityComponentAttribute } from "./../ArkAbilityComponentInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts index ca0e1129bdb7a852edd0e8d86d916899d442ae01..94133c60289bcdf78c5bfe344aea6b4426f96922 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Font, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkAnimatorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkAnimatorPeer.ts index e40aa46e6984d113ecb076dc5ac78c0d3417ca3c..01598095ba40e169c782705ec6389773ab4caace 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkAnimatorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkAnimatorPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { AnimatorAttribute } from "./../ArkAnimatorInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkBadgePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkBadgePeer.ts index 9bcde3ce105efefaf89f28a5fe2a34c56c36895f..208088778cc5f7fc1d39865a39cc7128175f58ff 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkBadgePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkBadgePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { BadgeParamWithNumber, BadgeAttribute, BadgeParamWithString } from "./../ArkBadgeInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts index 47072b6acc6ca908fb51e036608b87e7c7fd49f4..e954835da49c112e477204c4e073c0206a4f641e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { BlankAttribute } from "./../ArkBlankInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts index 30193b3995449523049ef3f23df76bd92158b1eb..f8b9a943ce98f4d25dc05d60b670b268d8f2f382 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPeer.ts index b44e9588e28dcbade6c9243450081eb0b6be58b6..27ad368a86837e4666780605d0c8749d04488ea5 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPeer.ts @@ -17,20 +17,17 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Axis } from "./../ArkEnumsInterfaces" import { CurrentDayStyle, NonCurrentDayStyle, TodayStyle, WeekStyle, WorkStateStyle, CalendarSelectedDate, CalendarRequestedData, MonthData, CalendarAttribute } from "./../ArkCalendarInterfaces" import { Callback_CalendarSelectedDate_Void, Callback_CalendarRequestedData_Void, Type_CalendarInterface_value, Literal_Number_day_month_year } from "./../SyntheticDeclarations" import { CalendarController } from "./../ArkCalendarControllerMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts index 0b9c357f55e0242770f992e7e52a922346dbec4e..e9bcc6af1ac18f34423f360d0ca22b7e807984e6 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, PickerTextStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Offset, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts index 310e7e8262034c11d9cb741d926f137036b8e468..82a2fe93f1a4334ca14c1083f5498a7ef8a31036 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -63,8 +62,6 @@ import { CanvasAttribute } from "./../ArkCanvasInterfaces" import { ImageAIOptions } from "./../ArkImageCommonInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxPeer.ts index 3c5513db151eba8b244f07dd890b3b661a4818e1..fffc35053bd78060a590656bd03578629cb7637b 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, MarkStyle, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts index 304d5842254a601135df77e6fd96da7e398cd845..d1d32edf6c5c0589a68ab54f0844761895070775 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, MarkStyle, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts index 8c0a2635d47e657c47892ba42d43c7ae9eea5f85..26a17a2e3065ad0736535b7dfea89986ec887280 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { CircleOptions, CircleAttribute } from "./../ArkCircleInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts index c3da16ca4b949bd4189725bbdd69e6b7d43ee47b..b6b3b732341d25ae0b3939875b1fc892b5e3c6bc 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, PointLightStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { ColumnOptions, ColumnAttribute } from "./../ArkColumnInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkColumnSplitPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkColumnSplitPeer.ts index 89d01a78f786a6c8538db9c18603cd2865691d49..1715725b8a40b87a35c4a6c0b7c13c9623d3cdcf 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkColumnSplitPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkColumnSplitPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts index f55d0de844baa9801e2ca85980be7d2f7f326fa2..b4428ab430e37305036d27f152cb536f0f622b16 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" import { DrawModifier } from "./../ArkDrawModifierMaterialized" import { Rectangle, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, CustomBuilder, DragItemInfo, UniformDataType, PreDragStatus, MotionPathOptions, ShadowOptions, ShadowStyle, 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" @@ -58,8 +57,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkComponent3dPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkComponent3dPeer.ts index 0cd78c7a54676cc446bda7191aeba42b59b41883..d58ba65ff4740e5876840121f234fde1b9b7c1ae 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkComponent3dPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkComponent3dPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkContainerSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkContainerSpanPeer.ts index d88fc694c3332d593f17cf8cb947c47240f45467..04aa03b0d008a40a5d1d78d1cb8ef83b09a0cd0d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkContainerSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkContainerSpanPeer.ts @@ -17,19 +17,16 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { TextBackgroundStyle } from "./../ArkSpanInterfaces" import { AttributeModifier } from "./../../handwritten" import { ContainerSpanAttribute } from "./../ArkContainerSpanInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts index 9df8b019242436cd04122ec1dc8b161dd594a088..804b7e869e4fa6729459f9d67d1047d00e90b3fa 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { CounterAttribute } from "./../ArkCounterInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts index 5f4e485d5365e5c8fadbbef1139ef33895fe5951..211738af3a57eb0a8adfc8a0a241652930004b2c 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkDatePickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkDatePickerPeer.ts index 71f38fe81ebe994d90e15f42f7de905ec8a8c166..60cd1e4fd52626f69b5d93c51d3e039ffefeb562 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkDatePickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkDatePickerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, PickerTextStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts index 8b282a4193be2198521f2c686fed74899b4adf62..1eb5e78b76f63f8c220ffb08c3d904a97b7c411a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { DividerAttribute } from "./../ArkDividerInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkEffectComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkEffectComponentPeer.ts index eb4685e4191913897c4e190464d6b6d85ec0daff..a46f0b5b745d9604e005e2c9417111507a7c4101 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkEffectComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkEffectComponentPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { EffectComponentAttribute } from "./../ArkEffectComponentInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts index ad0a81f4bd742bd35efc0605b83f13a4842218ee..d676da4886f3526f0712d46c823c4099e4937ea9 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { EllipseOptions, EllipseAttribute } from "./../ArkEllipseInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts index 670edcf8e6d9cbec71f31e0fa71df04e27828a97..7bb2babb146bf1ba102fef1d0c38c7ed4f315518 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts index b57d289b6bb3b7133d3c003d3e0beb3edb4cbfca..d3e47f00aad4939138df2fdd7c650cbb4d1e3c04 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, PointLightStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { FlexOptions, FlexAttribute } from "./../ArkFlexInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFlowItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFlowItemPeer.ts index b95221f0f644a3633c2c5da1e31be697ebb87281..3a0133ecbf851c78b5f01eac3a07a77eb8e5b431 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFlowItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFlowItemPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { FlowItemAttribute } from "./../ArkFlowItemInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFolderStackPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFolderStackPeer.ts index c516abf2abc8ecc010c91d08d75b89f2d62c9ef2..7a108a8e66b1dc0f21d794b37352beb54337ea93 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFolderStackPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFolderStackPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts index 1f16a89ba02ad8bf9bd939a8f2bcb776f9d836ab..6e627887b532159bf589ba943360cbc9ea07be4e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFormLinkPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFormLinkPeer.ts index 45d3d87df8cb0680a4cf24e54ea8f6975349c070..5cc62e0c8e4d15e6e1b6fb9051c280af30f39e70 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFormLinkPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFormLinkPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { FormLinkOptions, FormLinkAttribute } from "./../ArkFormLinkInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts index 9dde294ef95118cbfd97d85b30e1d6c32bbc14bd..f31dc56997e64ff439a297d0cc746850521e150b 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridColPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridColPeer.ts index e0f32467e43c945da7346c2f282566e302d12d55..b9c9270e9f7a3fd30106365c92c9d87d9babc262 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridColPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridColPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts index c11a6ee14cbee8c9d489f9418aa0234f2d8fb3de..e8d0fb171b24a4ad387a05184bd1dc6c51219c10 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkColumnPeer, ArkColumnAttributes } from "./ArkColumnPeer" import { ColumnAttribute } from "./../ArkColumnInterfaces" import { CommonMethod, 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, 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, PointLightStyle } from "./../ArkCommonInterfaces" @@ -61,8 +60,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { GridContainerOptions, GridContainerAttribute } from "./../ArkGridContainerInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts index f4ed13684374ff6a532a7344e1a9fcc8c16e07e5..a5fd7077f42ad3c72d8b4d94b94458e6176a6580 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { GridItemOptions, GridItemAttribute } from "./../ArkGridItemInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts index 0db0fed3c34f4280b747b000fde2dfdafc02a21a..bee3ddaf061b42df9f099041d1773618cefc5403 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { ScrollableCommonMethod, CommonMethod, 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, 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, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, ItemDragInfo } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -62,8 +61,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { Scroller } from "./../ArkScrollerMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridRowPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridRowPeer.ts index d3c7f8052bb0725d33aa330782566acbc27f9f74..04bfdeaf524b4b15fac6599a921d5651e4a89ca4 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridRowPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridRowPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { GridRowOptions, GridRowAttribute } from "./../ArkGridRowInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkHyperlinkPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkHyperlinkPeer.ts index 94e6b6d2a79bab749d5fb0293ad03fa1ad856334..a4093a71f97ea71736e95b34951eb40819f62ce3 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkHyperlinkPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkHyperlinkPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { HyperlinkAttribute } from "./../ArkHyperlinkInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkImageAnimatorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkImageAnimatorPeer.ts index 7ca71c27ef6c69a57799f4e912f95a6b9dbb5a5c..bb6c9fd58de0cb45713107fad66d1246261e365e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkImageAnimatorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkImageAnimatorPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts index 560d06740dd131aa80eb6183df63ce83c84f8097..0b3289451adec3d062676345c8721f0d03e8e3b4 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, PointLightStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -30,7 +29,7 @@ import { DrawModifier } from "./../ArkDrawModifierMaterialized" import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, ImageFit, CopyOptions } 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_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event } from "./../SyntheticDeclarations" import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" -import { ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, DrawableDescriptor, ImageAttribute, ImageContent } from "./../ArkImageInterfaces" +import { ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, ImageAttribute, ImageContent } from "./../ArkImageInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { ClickEvent } from "./../ArkClickEventMaterialized" import { HoverEvent } from "./../ArkHoverEventMaterialized" @@ -59,10 +58,9 @@ import { PinchGestureInterface } from "./../ArkPinchGestureInterfaceMaterialized import { SwipeGestureInterface } from "./../ArkSwipeGestureInterfaceMaterialized" import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMaterialized" import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" +import { DrawableDescriptor } from "./../ArkDrawableDescriptorMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" @@ -103,7 +101,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { thisSerializer.writeResource(src_1_1) } } - else if (TypeChecker.isDrawableDescriptor(src, false)) { + else if (TypeChecker.isDrawableDescriptor(src)) { thisSerializer.writeInt8(2 as int32) const src_2 = src as DrawableDescriptor thisSerializer.writeDrawableDescriptor(src_2) @@ -136,7 +134,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { thisSerializer.writeResource(src_1_1) } } - else if (TypeChecker.isDrawableDescriptor(src, false)) { + else if (TypeChecker.isDrawableDescriptor(src)) { thisSerializer.writeInt8(2 as int32) const src_2 = src as DrawableDescriptor thisSerializer.writeDrawableDescriptor(src_2) @@ -174,7 +172,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { thisSerializer.writeResource(src_1_1) } } - else if (TypeChecker.isDrawableDescriptor(src, false)) { + else if (TypeChecker.isDrawableDescriptor(src)) { thisSerializer.writeInt8(2 as int32) const src_2 = src as DrawableDescriptor thisSerializer.writeDrawableDescriptor(src_2) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts index 930412a0e0c1a10d6555bdf46732c5bb54d1b3df..3919fb6cca13cbed5e81a2dabed3c7c0a2125c7c 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkBaseSpanPeer, ArkBaseSpanAttributes } from "./ArkSpanPeer" import { BaseSpan, TextBackgroundStyle } from "./../ArkSpanInterfaces" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" @@ -62,8 +61,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts index 190d2353b14dafcec60680cb8e251b3c3f80d4cb..c3bf2e4d62ebebfcc57f3102e56cb0ae4475a93b 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -63,8 +62,6 @@ import { IndicatorComponentController } from "./../ArkIndicatorComponentControll import { IndicatorComponentAttribute } from "./../ArkIndicatorcomponentInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" export class ArkIndicatorComponentPeer extends ArkCommonMethodPeer { diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkLinePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkLinePeer.ts index 2905e0b92f2bdedf959a2fbbd61917f7ff3056bf..1b64d51deb0a24d80fb70fd72664550bc73d5229 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkLinePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkLinePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { LineOptions, LineAttribute } from "./../ArkLineInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkLinearindicatorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkLinearindicatorPeer.ts index f1f353dd9db405bea15ebe6b57502f526fea2cf3..49fcb9d2d05eaf427591fc155bb9fa3fe51b2406 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkLinearindicatorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkLinearindicatorPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { LinearIndicatorController } from "./../ArkLinearIndicatorControllerMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkListItemGroupPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkListItemGroupPeer.ts index 5e051ab6f7cd08ae4a45ea13c915c9b0fdb01be4..17a1665a0b7279875131f3f922fbde89147735ff 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkListItemGroupPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkListItemGroupPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -62,8 +61,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { ListItemGroupOptions, ListItemGroupAttribute } from "./../ArkListItemGroupInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts index 36daa5872d7156e7459669b31491fdb267c6956c..ff0b3e64bf21af9363aa0df199a427ff8494ef38 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts index 94e001dea4422ddf6082b589014cbba2694f2051..e0476242dc54ae4cde9b6f373c17cab961cd36bb 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { ScrollableCommonMethod, CommonMethod, 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, 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, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, ItemDragInfo } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, LengthConstrain, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkLoadingProgressPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkLoadingProgressPeer.ts index f953912f63e0bf935c16b4d15401ca02c8201cb4..95bb139fe025176ddd5bed4e2f7020549f49f396 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkLoadingProgressPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkLoadingProgressPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkLocationButtonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkLocationButtonPeer.ts index fffa41c6c94f0a5cefed28b980f960e30f386301..dc07965b8426df566ef3ffbaef4a9c12a1ba071a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkLocationButtonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkLocationButtonPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkSecurityComponentMethodPeer, ArkSecurityComponentMethodAttributes } from "./ArkSecurityComponentPeer" import { SecurityComponentMethod, SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -33,8 +32,6 @@ import { ClickEvent } from "./../ArkClickEventMaterialized" import { LocationButtonOnClickResult, LocationButtonAttribute, LocationButtonOptions } from "./../ArkLocationButtonInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMarqueePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMarqueePeer.ts index cd530ea6e6937489607c0e4cda3c350c61694b8e..a57ecf63ba9b3633610bb06ddd85e9ddc6d72fed 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMarqueePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMarqueePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { MarqueeOptions, MarqueeAttribute } from "./../ArkMarqueeInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts index d0f29ab525284726c2e37cad8f7ab2ea177b9944..c1320ab2b36eb31fac4a16cb5b8537524270d227 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts @@ -17,14 +17,13 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkImagePeer, ArkImageAttributes } from "./ArkImagePeer" -import { ImageAttribute, ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, DrawableDescriptor } from "./../ArkImageInterfaces" +import { ImageAttribute, ResizableOptions, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality } from "./../ArkImageInterfaces" import { CommonMethod, 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, 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, PointLightStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" import { DrawModifier } from "./../ArkDrawModifierMaterialized" @@ -59,11 +58,10 @@ import { PinchGestureInterface } from "./../ArkPinchGestureInterfaceMaterialized import { SwipeGestureInterface } from "./../ArkSwipeGestureInterfaceMaterialized" import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMaterialized" import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" +import { DrawableDescriptor } from "./../ArkDrawableDescriptorMaterialized" import { ASTCResource, MediaCachedImageAttribute } from "./../ArkMediaCachedImageInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" @@ -104,7 +102,7 @@ export class ArkMediaCachedImagePeer extends ArkImagePeer { thisSerializer.writeResource(src_1_1) } } - else if (TypeChecker.isDrawableDescriptor(src, false)) { + else if (TypeChecker.isDrawableDescriptor(src)) { thisSerializer.writeInt8(2 as int32) const src_2 = src as DrawableDescriptor thisSerializer.writeDrawableDescriptor(src_2) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts index 7d81662465ac2218d541745b78cc0cefc005cf01..af8ddf5b85199e49f81a8f3de63e8a23202d3116 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { MenuItemGroupOptions, MenuItemGroupAttribute } from "./../ArkMenuItemGroupInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts index 5cfdbbbf7a5cb5a3f1abe65000d5ef8975046d71..4d3da103ad840c3684bbebf897916789c868fd66 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, SymbolGlyphModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Font, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { MenuItemOptions, MenuItemAttribute } from "./../ArkMenuItemInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMenuPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMenuPeer.ts index 7bd5533a9eac6c73e84a1510f1dbf32c2e51c420..39d0447902559ebfb041f72505e99c9e347bc23e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMenuPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMenuPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Font, DividerStyleOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts index 51538011619da3863ca972159030379c1174f21a..da8bdd294fd02e65420d3cc5f56f4c4f0931fa56 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, SymbolGlyphModifier, LayoutSafeAreaType, LayoutSafeAreaEdge } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -62,8 +61,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavRouterPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavRouterPeer.ts index 9ff8c9989f1bd4f85292f1a2bd06098532df1f12..6c5e5d29962b7cb0e7939c6a9c3db42c9f9bd5b0 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavRouterPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavRouterPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts index f99c3f3a14633f463fe54e8b03ffca4b84853d26..049b89eb0ef0541f2f521cfb3fcdbc991d287cfd 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNodeContainerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNodeContainerPeer.ts index 0c49c055f471ece4371a89370fa845a3716a6ebe..bf47d7c49790de54c18057aa848216d41eee1c7a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNodeContainerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNodeContainerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { NodeController } from "./../ArkArkuiExternalInterfaces" import { NodeContainerAttribute } from "./../ArkNodeContainerInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPanelPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPanelPeer.ts index 24d2a209bf3d0fc644ee537d08d3b026d010018a..4ee437dd2eec51b9a1c3d6c6a9ee1cf550771434 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPanelPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPanelPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPasteButtonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPasteButtonPeer.ts index 61cd6094185e9ab16f16fffce69a82ad18469644..1ea86ba091fe8e248c0c58bf5bc7ee3c0d038a58 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPasteButtonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPasteButtonPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkSecurityComponentMethodPeer, ArkSecurityComponentMethodAttributes } from "./ArkSecurityComponentPeer" import { SecurityComponentMethod, SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -33,8 +32,6 @@ import { ClickEvent } from "./../ArkClickEventMaterialized" import { PasteButtonOnClickResult, PasteButtonAttribute, PasteButtonOptions } from "./../ArkPasteButtonInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts index eb3bcf4a2c8cc942f1085c02a1dff2f694894685..8c864fb51f8ce8a7d123b27793d470cbd5c774a5 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { PathOptions, PathAttribute } from "./../ArkPathInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPatternLockPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPatternLockPeer.ts index c6b420fedbff145f716e63643363b5e3464cd41d..017ae2025a4e5d557ecf303769dae13e95cdf1c0 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPatternLockPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPatternLockPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { PatternLockController } from "./../ArkPatternLockControllerMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPluginComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPluginComponentPeer.ts index 4a73418ad46d3f03aca9b3a563b8dc8931dead4e..aaa3f0ab2b58af97fef144f2615eda49c2ce8bd4 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPluginComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPluginComponentPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPolygonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPolygonPeer.ts index 4e935a44cbf0d589813dc627dd09958904fea1a5..8b53959681b376b7975769230acb4f7277c6faba 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPolygonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPolygonPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { PolygonOptions, PolygonAttribute } from "./../ArkPolygonInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPolylinePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPolylinePeer.ts index f1115c703e736a2e5578a5dc4fc6eea0ead76f04..5a9a4cf14893750ff2eaa5a049a740b860d87ca5 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPolylinePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPolylinePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { PolylineOptions, PolylineAttribute } from "./../ArkPolylineInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts index bd116b4ba0a9b8b5a38eea5da58e9cc8f9c2e355..0ca27f7f6df3bdcf7f04dc44f945a14fe0143831 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkQrcodePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkQrcodePeer.ts index ab0ec631ea1af330a9ea9ffa8d8916c4f1a2c174..ef21ab3ebe65cfcdaa1c71a0cf4fafbb5ce31cc8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkQrcodePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkQrcodePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { QRCodeAttribute } from "./../ArkQrcodeInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRadioPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRadioPeer.ts index 19ce1e90242d7a39071037a297dc295036084bf0..1dbeb3914e30e1741413267fae29d4c8ef4dbbe6 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRadioPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRadioPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRatingPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRatingPeer.ts index d16b47d488d8a60e32e420349e03b2499acbcd6c..35ede1122378f4a1f63d8bf7af2858684aa1a704 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRatingPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRatingPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts index 9d1cedaf2a867ad39780342cc7474e2da14de190..b664567a98e2518b2ec852418a138ae3f7b1350b 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { RectOptions, RoundedRectOptions, RectAttribute } from "./../ArkRectInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRefreshPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRefreshPeer.ts index c8c5c1a3e1fe18eb50ce7ac500aeef522d07552e..972f29717df90a8b4f5136166cbfa04bcd5465ce 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRefreshPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRefreshPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRelativeContainerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRelativeContainerPeer.ts index f7c9cf773dd0491144cec56c2b55f6722c0a5ea5..d0c1fa5a7c221ae9a1883a88a2bb684b184ffb96 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRelativeContainerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRelativeContainerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRemoteWindowPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRemoteWindowPeer.ts index 3920070a81a7ca939e7b5401be3f7b5824bee68c..4b3b8944e809cc198def7cf6c3d9df6c26185901 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRemoteWindowPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRemoteWindowPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { WindowAnimationTarget, RemoteWindowAttribute } from "./../ArkRemoteWindowInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts index f5f4f97cc0246a42cf304cc0566a0e0b9cfd7f41..e9aa207201a8ef302ab13148c0313c51dd5f98e1 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -63,8 +62,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRichTextPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRichTextPeer.ts index 283a139286663bdb2efc083cd430452c548cdcae..bf5e53293599a6f3f40787834ebc6346409d50f2 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRichTextPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRichTextPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { RichTextAttribute } from "./../ArkRichTextInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRootScenePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRootScenePeer.ts index 3c7978b06a004ddd6cd3abf7f6159c114a6a327a..893ca32f6c35938efa0affffdfc0d34f17d65e99 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRootScenePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRootScenePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { RootSceneSession, RootSceneAttribute } from "./../ArkRootSceneInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts index 911b64ecf90956784c63255b5da25d253250b78b..892cdb28d514bae1a367ef35fc13ee1312c1b5fb 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, PointLightStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { RowOptions, RowAttribute } from "./../ArkRowInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRowSplitPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRowSplitPeer.ts index 8f953ab6aa12072f8401878c894bfa38d3c36c61..5e8fa639f7441b46e1128db33e1f4d5aabee5c96 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRowSplitPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRowSplitPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { RowSplitAttribute } from "./../ArkRowSplitInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSaveButtonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSaveButtonPeer.ts index 85bf92c2df5343fa569ba684ba24757eba737128..ddd31981327be3c1c36e4feffe6d5eb619ef5c70 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSaveButtonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSaveButtonPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkSecurityComponentMethodPeer, ArkSecurityComponentMethodAttributes } from "./ArkSecurityComponentPeer" import { SecurityComponentMethod, SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -33,8 +32,6 @@ import { ClickEvent } from "./../ArkClickEventMaterialized" import { SaveButtonOnClickResult, SaveButtonAttribute, SaveButtonOptions } from "./../ArkSaveButtonInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkScreenPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkScreenPeer.ts index e47370e1bfdf5808cb3de1727e4c86f1fabce573..bc9a30582895daf61b6d9797ae4b7a16613be53a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkScreenPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkScreenPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { ScreenAttribute } from "./../ArkScreenInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkScrollBarPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkScrollBarPeer.ts index 790ee0be408552a5724af0afc8651650df92ca45..9a6bd67f0076d67ca8efff058a0d9ef08421dd1a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkScrollBarPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkScrollBarPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { ScrollBarOptions, ScrollBarAttribute } from "./../ArkScrollBarInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts index faa9dcf00f066f79e24655966962dca6464843cc..b36e636c9d7008497905b30560d42d7f6fd22123 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { ScrollableCommonMethod, CommonMethod, 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, 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, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { Scroller } from "./../ArkScrollerMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts index ef72ad23d67c61387e07de5b76b44257f2fb59fb..0b79bc5a14243afaa3208a606cc51a457c5dcfe4 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, SymbolGlyphModifier, TextDecorationOptions } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Font, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -64,8 +63,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSecurityComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSecurityComponentPeer.ts index 55b4d0f580e4868e1726a6e73d338a7037fb1a5c..1e85683d030268c5debe7a265cb1fabdf1962ba8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSecurityComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSecurityComponentPeer.ts @@ -17,20 +17,17 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" import { SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" import { FontStyle, FontWeight, BorderStyle, Color } from "./../ArkEnumsInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts index f10d63633984bc61bb14c9c3c74f0b0b880dc9ea..55d3ea76e141d717e2735ff7bfdaeaff2438e36f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Font, Offset, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -62,8 +61,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts index 8fb6367d484a8591792d76d728edc62fd8726a37..3560eb91f60f6c7058d1bd0da9beb974abe1a211 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts index 91bd5f20c65741f4168488ba3a729ce0f74356af..36c453d0e6802da136999d815442fbed0d2c5173 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts index 0226a3ab5687b0a796431b398b40fb42a3dc21c4..b6faa4b04fa4b9e5d6cc576add07d550ddbb820b 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts index 0085c7d40076648fb3ddffe8bb15e61a0716a215..653f3a651f69e9d7de0d21815de33d085ed958ba 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Font } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { DecorationStyleInterface } from "./../ArkStyledStringInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts index 50d9a46ff82d3fb1f73ec622d4845d0d13d4de05..2fde75ed1453642332fc8af9f357a6dc17189021 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, PointLightStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { StackOptions, StackAttribute } from "./../ArkStackInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkStaticComponentsPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkStaticComponentsPeer.ts index 4d49ae5a7f4ecde55acb6c051a7e9da9ff4245f1..5f37c94ba4f5a328c78efd5f9b64ff03aea2b821 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkStaticComponentsPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkStaticComponentsPeer.ts @@ -17,16 +17,13 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkStepperItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkStepperItemPeer.ts index 2f829dad90c38ed26198874881d91543bb3ff372..196188c7d6d66826d04b1d431ff948631e353bb7 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkStepperItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkStepperItemPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkStepperPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkStepperPeer.ts index 47652b0333054f1c752370ca479e76a2a9196ea4..1d4fc63791f93ec813fac17c06e949b198afff9d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkStepperPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkStepperPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { StepperAttribute } from "./../ArkStepperInterfaces" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts index 8b4ced502a24409f0919047186d2e09e5a927342..a8f9e3f3bb748b74b33d640a69b2d35cb23b8c29 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -65,8 +64,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { SwiperController } from "./../ArkSwiperControllerMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" export class ArkSwiperPeer extends ArkCommonMethodPeer { diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolSpanPeer.ts index cafdd90b593cb2f44dbbfc111dd26a2a195b82e1..a1d4ed4a10d0d705da1ee48b8d4477cff4495415 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolSpanPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts index e0fd8593a14ab7ae9ddc29da6e1b1c3c05fd67cb..ad2af0661ff65997e51b00758c8768847c8921de 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -51,7 +50,7 @@ import { GestureInfo, GestureJudgeResult, GestureType, GestureMask } from "./../ import { BaseGestureEvent } from "./../ArkBaseGestureEventMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphAttribute } from "./../ArkSymbolglyphInterfaces" -import { SymbolEffect } from "./../ArkArkuiExternalInterfaces" +import { SymbolEffect } from "./../ArkSymbolEffectMaterialized" import { TapGestureInterface } from "./../ArkTapGestureInterfaceMaterialized" import { LongPressGestureInterface } from "./../ArkLongPressGestureInterfaceMaterialized" import { PanGestureInterface } from "./../ArkPanGestureInterfaceMaterialized" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" @@ -173,7 +170,6 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { } symbolEffect0Attribute(symbolEffect: SymbolEffect, isActive?: boolean): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.writeSymbolEffect(symbolEffect) let isActive_type : int32 = RuntimeType.UNDEFINED isActive_type = runtimeType(isActive) thisSerializer.writeInt8(isActive_type as int32) @@ -181,12 +177,11 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { const isActive_value = isActive! thisSerializer.writeBoolean(isActive_value) } - ArkUIGeneratedNativeModule._SymbolGlyphAttribute_symbolEffect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SymbolGlyphAttribute_symbolEffect0(this.peer.ptr, toPeerPtr(symbolEffect), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } symbolEffect1Attribute(symbolEffect: SymbolEffect, triggerValue?: number): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.writeSymbolEffect(symbolEffect) let triggerValue_type : int32 = RuntimeType.UNDEFINED triggerValue_type = runtimeType(triggerValue) thisSerializer.writeInt8(triggerValue_type as int32) @@ -194,7 +189,7 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { const triggerValue_value = triggerValue! thisSerializer.writeNumber(triggerValue_value) } - ArkUIGeneratedNativeModule._SymbolGlyphAttribute_symbolEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SymbolGlyphAttribute_symbolEffect1(this.peer.ptr, toPeerPtr(symbolEffect), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } } diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts index efb45ed216dc290fdba1a4d01fa4f518bef984b9..824623ad86751180b2e50d2b9825daeca0d37b7e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -62,8 +61,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" export class ArkTabContentPeer extends ArkCommonMethodPeer { diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts index 15010b073807829ae436d1ed239193c147fac833..70e8c13f6c25fef625bb24544b670865463f84d3 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts index d4f17a2c86ff59f6fce2721ce492dab2bab13892..137ea13dd1e42e704ea301b495dfcac2f6507e2c 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, TextDecorationOptions, InputCounterOptions } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Font, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -64,8 +63,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextClockPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextClockPeer.ts index 3186e10af6b87693ac7cde1fb16e27b91dc83222..64ddd18f6a1c1f111f462839e695daca4ea9259e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextClockPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextClockPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts index 6c6844979cea2a3b0a5620d6046b99bfdfe8bd14..5ea69fc4fe4b2d8fe859f2fc16d1306a303f25f9 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, TextDecorationOptions, InputCounterOptions } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Font, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -65,8 +64,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts index 7f4a5fb760a5015f9cd9879ab43320edcfabf2da..d22d0f48736c8d653b0827473a8c60b96d723a0c 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Font, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -64,8 +63,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts index a2e9e8844d29794a4d33c0f7b4c37627f773ccc9..aadd22e3ec2c3d34de2d8d1c4e4742cf7659bb36 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, PickerTextStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextTimerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextTimerPeer.ts index cc55e71c2c8e8137bc9222683b09cee6839982b3..436fe50d1ae1810790c267c6a34d7eb828225606 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextTimerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextTimerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTimePickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTimePickerPeer.ts index 588d4dcb687eade48ec155be3e5e1667299386c2..3453ca893956e5680ae2305bbc39597bd41223ae 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTimePickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTimePickerPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, PickerTextStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts index 70d72001f73deea5128776f5c08a36f56105ff09..9a51aae343967ec7c21a7022d6f57d2e29068699 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, ContentModifier } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts index d86bd34ca407d5bc877bea064339eb0c51369a63..e4fa719278ca42c5de2572741111ac9bc4d93de1 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -63,8 +62,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkVideoPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkVideoPeer.ts index 8b855420721289554cabfaa562d83e89e9ff7e22..95a99479f3550b4ca70bed4e88b578e564194b25 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkVideoPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkVideoPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkWaterFlowPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkWaterFlowPeer.ts index f63950dad73ad85db30ca26164e72c4b922e8a35..30c8e2268f29213a379c72de69ace44b530aeef4 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkWaterFlowPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkWaterFlowPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { ScrollableCommonMethod, CommonMethod, 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, 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, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts index ca682d510053c3f9dedb1a32b77b13838d419b73..dac5cee0f5ced676f3b92176ffe1998a579986a8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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, NestedScrollOptions } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -63,8 +62,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkWindowScenePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkWindowScenePeer.ts index 1cd0abfb181139c42fc111b512f98398967fd450..f6cf05635ee86d74ddcc70db1479a0b7b98c6d0f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkWindowScenePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkWindowScenePeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -60,8 +59,6 @@ import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMateri import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkXcomponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkXcomponentPeer.ts index 0a22ba21076b3d4b1a53c7c5e486fa8ef5dfd8f0..19a771899e7438ebbe4d331fcd41e6609e877824 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkXcomponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkXcomponentPeer.ts @@ -17,12 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { ArkUIGeneratedNativeModule } from "#components" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, 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, 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 } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" @@ -61,8 +60,6 @@ import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized import { XComponentController } from "./../ArkXComponentControllerMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { TypeChecker } from "#components" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts index 21e52cd095ef505b48b109eab9a5852884a17bd6..9e3106ad03cb3d660daef6b0baa3277ad02f2c6b 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -13,6 +13,9 @@ * limitations under the License. */ + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { CallbackKind } from "./CallbackKind" import { Deserializer } from "./Deserializer" import { int32, float32, int64 } from "@koalaui/common" @@ -95,7 +98,6 @@ import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" - export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as AccessibilityCallback) @@ -1473,7 +1475,8 @@ export function deserializeAndCallMenuOnAppearCallback(thisDeserializer: Deseria export function deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as NavExtender_OnUpdateStack) - _call() + let name : string = (thisDeserializer.readString() as string) + _call(name) } export function deserializeAndCallOnAdsBlockedCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() @@ -2234,4 +2237,4 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 219587748/*CallbackKind.Kind_WithThemeInterface*/: return deserializeAndCallWithThemeInterface(thisDeserializer); } console.log("Unknown callback kind") -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbacksChecker.ts b/arkoala-arkts/arkui/src/generated/peers/CallbacksChecker.ts index 690797b391b04a66b147e72e5479e691b57ce983..3baf92a0b31d30d7ab941da8a52aaf5ec6f29320 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbacksChecker.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbacksChecker.ts @@ -38,12 +38,12 @@ export function checkArkoalaCallbacks() { case CallbackEventKind.Event_CallCallback: { deserializeAndCallCallback(deserializer) break; - } + } case CallbackEventKind.Event_HoldManagedResource: { const resourceId = deserializer.readInt32() ResourceHolder.instance().hold(resourceId) break; - } + } case CallbackEventKind.Event_ReleaseManagedResource: { const resourceId = deserializer.readInt32() ResourceHolder.instance().release(resourceId) diff --git a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts index a1a2c0be86b12447907f2d804349856bcc91611f..125e8db9ccb3a3d3124a6a0f040128c7470ae819 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts @@ -1,4 +1,3 @@ - /* * Copyright (c) 2024-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -14,30 +13,31 @@ * limitations under the License. */ -import { KPointer, runtimeType, RuntimeType, CallbackResource, DeserializerBase } from "@koalaui/interop" -import { int32, float32, int64 } from "@koalaui/common" -import { Serializer } from "./Serializer" -import { ArkUIGeneratedNativeModule } from "#components" + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" +import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CallbackKind } from "./CallbackKind" -import { NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, InteropNativeModule } from "@koalaui/interop" +import { Serializer } from "./Serializer" import { TypeChecker } from "#components" import { CallbackTransformer } from "./CallbackTransformer" -import { AccessibilityCallback, CustomBuilder, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, ShadowType, SymbolGlyphModifier, ShadowOptions, SheetSize, DrawContext, ShadowStyle, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, MenuPreviewMode, DismissPopupAction, DragPreviewMode, OutlineStyle, SourceTool, SourceType, EventTarget, HoverModeAreaType, BlurStyle, Rectangle, PickerTextStyle, PickerDialogButtonStyle, MenuPolicy, BlurStyleActivePolicy, BlurOptions, AdaptiveColor, ThemeColorMode, ExpectedFrameRateRange, FinishCallbackType, SheetKeyboardAvoidMode, UIContext, SheetType, ScrollSizeMode, SheetMode, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ModalTransition, ContextMenuAnimationOptions, PopupMessageOptions, TransitionHierarchyStrategy, OverlayOffset, ImageModifier, MotionPathOptions, LinearGradient_common, ScrollableCommonMethod, CommonMethod, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, TransitionOptions, MotionBlurOptions, InvertOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, DragItemInfo, UniformDataType, PreDragStatus, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ContentCoverOptions, SheetOptions, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, RectResult, TouchObject, HistoricalPoint, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, BlurStyleOptions, ContentModifier, LayoutSafeAreaType, LayoutSafeAreaEdge, ItemDragInfo, KeyboardAvoidMode, UIGestureEvent, VisibleAreaEventOptions, MeasureResult, SizeResult, DismissReason, BindOptions, FractionStop, LocalizedVerticalAlignParam, LocalizedHorizontalAlignParam, MotionBlurAnchor, RepeatMode, TouchTestStrategy, IntentionCode, DragResult, Summary, DragBehavior, Context, LightSource, MultiShadowOptions, PointLightStyle } from "./../ArkCommonInterfaces" +import { AccessibilityCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, ShadowType, SymbolGlyphModifier, ShadowOptions, SheetSize, DrawContext, ShadowStyle, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, MenuPreviewMode, DismissPopupAction, DragPreviewMode, OutlineStyle, SourceTool, SourceType, EventTarget, HoverModeAreaType, BlurStyle, Rectangle, PickerTextStyle, PickerDialogButtonStyle, MenuPolicy, BlurStyleActivePolicy, BlurOptions, AdaptiveColor, ThemeColorMode, CustomBuilder, ExpectedFrameRateRange, FinishCallbackType, SheetKeyboardAvoidMode, UIContext, SheetType, ScrollSizeMode, SheetMode, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ModalTransition, ContextMenuAnimationOptions, PopupMessageOptions, TransitionHierarchyStrategy, OverlayOffset, ImageModifier, MotionPathOptions, LinearGradient_common, ScrollableCommonMethod, CommonMethod, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, TransitionOptions, MotionBlurOptions, InvertOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, DragItemInfo, UniformDataType, PreDragStatus, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ContentCoverOptions, SheetOptions, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, RectResult, TouchObject, HistoricalPoint, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, BlurStyleOptions, ContentModifier, LayoutSafeAreaType, LayoutSafeAreaEdge, ItemDragInfo, KeyboardAvoidMode, UIGestureEvent, VisibleAreaEventOptions, MeasureResult, SizeResult, BindOptions, FractionStop, LocalizedVerticalAlignParam, LocalizedHorizontalAlignParam, MotionBlurAnchor, RepeatMode, TouchTestStrategy, DismissReason, IntentionCode, DragResult, Summary, DragBehavior, Context, LightSource, MultiShadowOptions, PointLightStyle } from "./../ArkCommonInterfaces" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, LabelStyle, ControlSize, ButtonOptions } from "./../ArkButtonInterfaces" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../ArkAnimationExtenderInterfaces" import { Callback_RangeUpdate, PointerStyle } from "./../ArkArkuiCustomInterfaces" import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, IndicatorStyle, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ArrowStyle, SwiperAutoFill, SwiperAnimationEvent } from "./../ArkSwiperInterfaces" import { CustomNodeBuilder } from "./../ArkCustomBuilderInterfaces" import { EditableTextOnChangeCallback, OnDidChangeCallback, DecorationStyleResult, MenuType, Affinity, TextRange, StyledStringChangeValue, CaretStyle, InsertValue, DeleteValue, TextMenuItem, LineMetrics, PositionWithAffinity, PreviewText, TextBox, TextDataDetectorConfig, FontSettingOptions, TextDeleteDirection, StyledStringChangedListener, TextDataDetectorType } from "./../ArkTextCommonInterfaces" -import { ErrorCallback, LengthUnit, WebHeader, TextModifier, Want, RectHeightStyle, RectWidthStyle, SymbolEffect, EffectDirection, EffectScope, RectShapeOptions, RoundRectShapeOptions, PathShapeOptions, ShapeSize, MeasureOptions, FontInfo, FontOptions, PerfMonitorSourceType, PerfMonitorActionType, SnapshotOptions, NodeController } from "./../ArkArkuiExternalInterfaces" +import { ErrorCallback, LengthUnit, WebHeader, TextModifier, Want, RectHeightStyle, RectWidthStyle, EffectDirection, EffectScope, RectShapeOptions, RoundRectShapeOptions, PathShapeOptions, ShapeSize, MeasureOptions, FontInfo, FontOptions, PerfMonitorSourceType, PerfMonitorActionType, SnapshotOptions, NodeController } from "./../ArkArkuiExternalInterfaces" import { GetItemMainSizeByIndex, WaterFlowAttribute, WaterFlowLayoutMode, SectionOptions, WaterFlowOptions } from "./../ArkWaterFlowInterfaces" import { ImageCompleteCallback, ImageLoadResult } from "./../ArkImageSpanInterfaces" -import { ImageErrorCallback, ResizableOptions, DrawableDescriptor, DrawingColorFilter, ImageContent, DrawingLattice, ResolutionQuality, ImageError, ImageSourceSize, ImageInterpolation, DynamicRangeMode, ImageRenderMode } from "./../ArkImageInterfaces" -import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavigationOptions, NavigationInterception, NavigationMode, NavBar, NavigationOperation, LaunchMode, BarStyle, NavigationAnimatedTransition, NavContentInfo, NavigationMenuItem, SystemBarStyle, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, ToolbarItemStatus, NavigationTitleMode, NavBarPosition } from "./../ArkNavigationInterfaces" -import { IsolatedComponentInterface, RestrictedWorker, IsolatedOptions, IsolatedComponentAttribute } from "./../ArkIsolatedComponentInterfaces" +import { ImageErrorCallback, ResizableOptions, DrawingColorFilter, ImageContent, DrawingLattice, ResolutionQuality, ImageError, ImageSourceSize, ImageInterpolation, DynamicRangeMode, ImageRenderMode } from "./../ArkImageInterfaces" +import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavigationOptions, NavigationInterception, NavigationMode, NavBar, NavigationOperation, LaunchMode, BarStyle, NavContentInfo, NavigationAnimatedTransition, NavigationMenuItem, SystemBarStyle, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, ToolbarItemStatus, NavigationTitleMode, NavBarPosition } from "./../ArkNavigationInterfaces" +import { IsolatedComponentInterface, RestrictedWorker, IsolatedComponentAttribute, IsolatedOptions } from "./../ArkIsolatedComponentInterfaces" import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyleResult, RichEditorSpanPosition, RichEditorParagraphStyle, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorImageSpanStyle, RichEditorTextStyle, RichEditorGesture, KeyboardOptions, PasteEvent, SelectionMenuOptions, RichEditorRange, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan, RichEditorAttribute, RichEditorInsertValue, RichEditorDeleteValue, RichEditorChangeValue, CutEvent, CopyEvent, RichEditorSpanType, RichEditorResponseType, PlaceholderStyle, RichEditorDeleteDirection, RichEditorSpanStyleOptions, RichEditorStyledStringOptions, RichEditorOptions } from "./../ArkRichEditorInterfaces" import { NavExtender_OnUpdateStack } from "./../ArkNavigationExtenderInterfaces" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, HitTestType, WebCaptureMode, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, 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, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, NativeEmbedTouchInfo, NativeMediaPlayerConfig, ExpandedMenuItemOptions, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, RenderProcessNotRespondingReason, NativeEmbedInfo, NativeEmbedStatus, WebNavigationType, SslError, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, ScreenCaptureConfig, FileSelectorMode, RenderExitReason, MessageLevel, RenderMode, WebKeyboardOptions, AdsBlockedDetails, WebKeyboardCallbackInfo, ViewportFit, RenderProcessNotRespondingData, NativeEmbedVisibilityInfo, IntelligentTrackingPreventionDetails, LoadCommittedDetails, ThreatType, LargestContentfulPaint, FirstMeaningfulPaint, SslErrorEvent, FullScreenEnterEvent, WebOptions, ContextMenuEditStateFlags, ProtectedResourceType } from "./../ArkWebInterfaces" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, HitTestType, WebCaptureMode, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, 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, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, NativeEmbedTouchInfo, NativeMediaPlayerConfig, ExpandedMenuItemOptions, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, NativeEmbedInfo, NativeEmbedStatus, SslError, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, ScreenCaptureConfig, FileSelectorMode, RenderExitReason, MessageLevel, RenderMode, RenderProcessNotRespondingReason, WebNavigationType, WebKeyboardOptions, WebOptions, ContextMenuEditStateFlags, ProtectedResourceType, FullScreenEnterEvent, ThreatType, WebKeyboardCallbackInfo, AdsBlockedDetails, ViewportFit, RenderProcessNotRespondingData, NativeEmbedVisibilityInfo, IntelligentTrackingPreventionDetails, FirstMeaningfulPaint, LargestContentfulPaint, SslErrorEvent, LoadCommittedDetails } from "./../ArkWebInterfaces" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, AlphabetIndexerAttribute, IndexerAlign, AlphabetIndexerOptions } from "./../ArkAlphabetIndexerInterfaces" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../ArkCheckboxInterfaces" import { OnCheckboxGroupChangeCallback, SelectStatus, CheckboxGroupResult, CheckboxGroupOptions } from "./../ArkCheckboxgroupInterfaces" @@ -49,17 +49,17 @@ import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallbac import { OnScrollVisibleContentChangeCallback, ListItemGroupArea, ScrollState, ScrollSnapAlign, ListDividerOptions, ListAttribute, ListItemAlign, ChainAnimationOptions, StickyStyle, ChainEdgeEffect, VisibleListContentInfo, CloseSwipeActionOptions, ListOptions } from "./../ArkListInterfaces" import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, LayoutStyle, DividerStyle, TabsAttribute, BarPosition, BarMode, AnimationMode, BarGridColumnOptions, ScrollableBarModeOptions, TabContentAnimatedTransition, TabsAnimationEvent, TabsOptions } from "./../ArkTabsInterfaces" import { PageTransitionCallback, RouteType, SlideEffect } from "./../ArkPageTransitionInterfaces" -import { PluginErrorCallback, PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../ArkPluginComponentInterfaces" +import { PluginErrorCallback, PluginComponentTemplate, PluginComponentOptions, PluginErrorData } from "./../ArkPluginComponentInterfaces" import { SearchSubmitCallback, CancelButtonStyle, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchAttribute, SearchType, SearchButtonOptions, SearchOptions } from "./../ArkSearchInterfaces" import { SliderTriggerChangeCallback, SliderAttribute, SliderChangeMode, SliderBlockStyle, SliderInteraction, SliderConfiguration, SlideRange, SliderBlockType, SliderStyle, SliderOptions } from "./../ArkSliderInterfaces" import { TextAreaSubmitCallback, ContentType, TextAreaAttribute, 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, ConstraintSizeOptions, ChainWeightOptions, LocalizedMargin, BorderOptions, EdgeStyles, EdgeWidths, EdgeColors, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, Offset, DividerStyleOptions, LengthMetricsUnit, LengthConstrain, DirectionalEdgesT, Bias, MarkStyle } from "./../ArkUnitsInterfaces" -import { WithThemeInterface, CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" +import { WithThemeInterface, CustomTheme, WithThemeAttribute, WithThemeOptions } from "./../ArkWithThemeInterfaces" import { Resource } from "./../ArkResourceInterfaces" -import { Color, ColoringStrategy, FontWeight, Curve, WordBreak, TextOverflow, TextAlign, ImageFit, ImageSpanAlignment, TextDecorationStyle, TextDecorationType, FontStyle, BorderStyle, TextHeightAdaptivePolicy, LineBreakStrategy, TitleHeight, GradientDirection, DialogButtonStyle, TextCase, TouchType, NestedScrollMode, VerticalAlign, Axis, PlayMode, Placement, ArrowPointPosition, Alignment, SharedTransitionEffectType, ClickEffectLevel, HorizontalAlign, TransitionType, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, ResponseType, FunctionKey, ModifierKey, BarState, EdgeEffect, FlexDirection, Edge, XComponentType, CopyOptions, TextContentStyle, EllipsisMode, TextSelectableMode, LineCapStyle, LineJoinStyle, OptionWidthMode, ScrollSource, AppRotation, FoldStatus, FlexAlign, FlexWrap, PixelRoundCalcPolicy, KeySource, KeyType, AccessibilityHoverType, MouseAction, MouseButton, IlluminatedType, HeightBreakpoint, WidthBreakpoint, MarqueeUpdateStrategy, RelateType, Week, EmbeddedType, CheckBoxShape, FillMode, AnimationStatus } from "./../ArkEnumsInterfaces" +import { Color, ColoringStrategy, FontWeight, Curve, WordBreak, TextOverflow, TextAlign, ImageFit, ImageSpanAlignment, TextDecorationStyle, TextDecorationType, FontStyle, BorderStyle, TextHeightAdaptivePolicy, LineBreakStrategy, TitleHeight, GradientDirection, DialogButtonStyle, TextCase, NestedScrollMode, TouchType, VerticalAlign, Axis, PlayMode, Placement, ArrowPointPosition, Alignment, SharedTransitionEffectType, ClickEffectLevel, HorizontalAlign, TransitionType, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, ResponseType, FunctionKey, ModifierKey, BarState, EdgeEffect, FlexDirection, Edge, XComponentType, CopyOptions, TextContentStyle, EllipsisMode, TextSelectableMode, LineCapStyle, LineJoinStyle, OptionWidthMode, ScrollSource, AppRotation, FoldStatus, FlexAlign, FlexWrap, PixelRoundCalcPolicy, KeySource, KeyType, AccessibilityHoverType, MouseAction, MouseButton, IlluminatedType, HeightBreakpoint, WidthBreakpoint, MarqueeUpdateStrategy, RelateType, Week, EmbeddedType, CheckBoxShape, FillMode, AnimationStatus } from "./../ArkEnumsInterfaces" import { PixelMap, PixelMapInternal } from "./../ArkPixelMapMaterialized" import { LengthMetrics, LengthMetricsInternal } from "./../ArkLengthMetricsMaterialized" -import { Tuple_Dimension_Dimension, Callback_GestureEvent_Void, Callback_ClickEvent_Void, Callback_PopInfo_Void, Callback_SwipeActionState_Void, Callback_Void, 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, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_SheetType_Void, Callback_Number_Void, Callback_SpringBackAction_Void, Callback_DismissSheetAction_Void, Callback_SheetDismiss_Void, Callback_DismissContentCoverAction_Void, AnimationRange_Number, 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, Tuple_ResourceColor_Number, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Callback_Array_TouchTestInfo_TouchResult, 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, 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, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_Union_String_Array_String_Void, Callback_Union_Number_Array_Number_Void, Callback_ResourceStr_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_SwiperContentTransitionProxy_Void, Callback_Number_SliderChangeMode_Void, Callback_Union_Number_Resource_Void, Callback_Number_String_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_PanelMode_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, onItemDragStart_event_type, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Tuple_Number_Number, Type_SheetOptions_detents, Literal_ResourceColor_color, Literal_String_value_Callback_Void_action, Literal_Number_day_month_year, 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, 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_PlaybackInfo_Void, Callback_PreparedInfo_Void, Callback_FullscreenInfo_Void, Type_TextPickerAttribute_onChange_callback, Callback_String_Number_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_RefreshStatus_Void, Callback_Array_Number_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Number_Number_PanelMode_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Any_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_TerminationInfo_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void } from "./../SyntheticDeclarations" +import { Tuple_Dimension_Dimension, Callback_GestureEvent_Void, Callback_ClickEvent_Void, Callback_PopInfo_Void, Callback_SwipeActionState_Void, Callback_Void, Callback_DismissPopupAction_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, Callback_NavigationTransitionProxy_Void, Callback_Boolean_Void, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_SheetType_Void, Callback_Number_Void, Callback_SpringBackAction_Void, Callback_DismissSheetAction_Void, Callback_SheetDismiss_Void, Callback_DismissContentCoverAction_Void, AnimationRange_Number, 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, Tuple_ResourceColor_Number, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Callback_Array_TouchTestInfo_TouchResult, 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, 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, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_Union_String_Array_String_Void, Callback_Union_Number_Array_Number_Void, Callback_ResourceStr_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_SwiperContentTransitionProxy_Void, Callback_Number_SliderChangeMode_Void, Callback_Union_Number_Resource_Void, Callback_Number_String_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_PanelMode_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, onItemDragStart_event_type, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Tuple_Number_Number, Type_SheetOptions_detents, Literal_ResourceColor_color, Literal_String_value_Callback_Void_action, Literal_Number_day_month_year, AsyncCallback_image_PixelMap_Void, 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_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_Literal_Number_offsetRemain_Void, 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_PlaybackInfo_Void, Callback_PreparedInfo_Void, Callback_FullscreenInfo_Void, Type_TextPickerAttribute_onChange_callback, Callback_String_Number_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_RefreshStatus_Void, Callback_Array_Number_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Number_Number_PanelMode_Void, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_String_Unknown_Void, Callback_NavigationMode_Void, Callback_NavigationTitleMode_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Any_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_TerminationInfo_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void } from "./../SyntheticDeclarations" import { ICurve, ICurveInternal } from "./../ArkICurveMaterialized" import { TextBackgroundStyle } from "./../ArkSpanInterfaces" import { ImageAttachmentLayoutStyle, UserDataSpan, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, ParagraphStyleInterface, ImageAttachmentInterface, GestureStyleInterface, DecorationStyleInterface, TextStyleInterface, StyledStringKey, StyleOptions, SpanStyle, StyledStringValue } from "./../ArkStyledStringInterfaces" @@ -85,14 +85,13 @@ import { TransitionEffect, TransitionEffectInternal } from "./../ArkTransitionEf import { CanvasPattern, CanvasPatternInternal } from "./../ArkCanvasPatternMaterialized" import { Matrix2D, Matrix2DInternal } from "./../ArkMatrix2DMaterialized" import { CanvasGradient, CanvasGradientInternal } from "./../ArkCanvasGradientMaterialized" -import { NavigationTransitionProxy, NavigationTransitionProxyInternal } from "./../ArkNavigationTransitionProxyMaterialized" import { ColorMetrics, ColorMetricsInternal } from "./../ArkColorMetricsMaterialized" 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 { WebResourceRequest, WebResourceRequestInternal } from "./../ArkWebResourceRequestMaterialized" import { PlaybackSpeed, SeekMode, PlaybackInfo, PreparedInfo, FullscreenInfo, VideoOptions } from "./../ArkVideoInterfaces" import { DateTimeOptions, TimePickerResult, TimePickerFormat, TimePickerDialogOptions, TimePickerOptions } from "./../ArkTimePickerInterfaces" import { DialogAlignment, DialogButtonDirection, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogParamWithOptions, AlertDialogParam, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParamWithConfirm } from "./../ArkAlertDialogInterfaces" @@ -101,6 +100,7 @@ import { TextMenuItemId, TextMenuItemIdInternal } from "./../ArkTextMenuItemIdMa import { TabContentTransitionProxy, TabContentTransitionProxyInternal } from "./../ArkTabContentTransitionProxyMaterialized" import { ProgressStatus, ProgressStyleOptions, CommonProgressStyleOptions, CapsuleStyleOptions, ScanEffectOptions, RingStyleOptions, LinearStyleOptions, ProgressType, ProgressStyle, ProgressOptions } from "./../ArkProgressInterfaces" import { NavDestinationMode, RouteMapConfig, NavDestinationAttribute, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle } from "./../ArkNavDestinationInterfaces" +import { NavigationTransitionProxy, NavigationTransitionProxyInternal } from "./../ArkNavigationTransitionProxyMaterialized" import { NavPathStack, NavPathStackInternal } from "./../ArkNavPathStackMaterialized" import { NavPathInfo, NavPathInfoInternal } from "./../ArkNavPathInfoMaterialized" import { NavDestinationContext, NavDestinationContextInternal } from "./../ArkNavDestinationContextMaterialized" @@ -150,7 +150,6 @@ import { XComponentController, XComponentControllerInternal } from "./../ArkXCom import { WindowSceneAttribute } from "./../ArkWindowSceneInterfaces" import { WebResourceResponse, WebResourceResponseInternal } from "./../ArkWebResourceResponseMaterialized" import { EditMenuOptions, EditMenuOptionsInternal } from "./../ArkEditMenuOptionsMaterialized" -import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { EventResult, EventResultInternal } from "./../ArkEventResultMaterialized" import { BaseEvent, BaseEventInternal } from "./../ArkBaseEventMaterialized" import { DataResubmissionHandler, DataResubmissionHandlerInternal } from "./../ArkDataResubmissionHandlerMaterialized" @@ -162,13 +161,14 @@ import { WebContextMenuParam, WebContextMenuParamInternal } from "./../ArkWebCon import { ScreenCaptureHandler, ScreenCaptureHandlerInternal } from "./../ArkScreenCaptureHandlerMaterialized" import { PermissionRequest, PermissionRequestInternal } from "./../ArkPermissionRequestMaterialized" import { HttpAuthHandler, HttpAuthHandlerInternal } from "./../ArkHttpAuthHandlerMaterialized" -import { FullScreenExitHandler, FullScreenExitHandlerInternal } from "./../ArkFullScreenExitHandlerMaterialized" import { FileSelectorParam, FileSelectorParamInternal } from "./../ArkFileSelectorParamMaterialized" import { FileSelectorResult, FileSelectorResultInternal } from "./../ArkFileSelectorResultMaterialized" import { WebResourceError, WebResourceErrorInternal } from "./../ArkWebResourceErrorMaterialized" import { ConsoleMessage, ConsoleMessageInternal } from "./../ArkConsoleMessageMaterialized" import { JsResult, JsResultInternal } from "./../ArkJsResultMaterialized" import { JsGeolocation, JsGeolocationInternal } from "./../ArkJsGeolocationMaterialized" +import { FullScreenExitHandler, FullScreenExitHandlerInternal } from "./../ArkFullScreenExitHandlerMaterialized" +import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { VideoController, VideoControllerInternal } from "./../ArkVideoControllerMaterialized" import { ToggleType, SwitchStyle, ToggleOptions } from "./../ArkToggleInterfaces" import { TextTimerController, TextTimerControllerInternal } from "./../ArkTextTimerControllerMaterialized" @@ -183,6 +183,7 @@ import { TextController, TextControllerInternal } from "./../ArkTextControllerMa import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { TabsController, TabsControllerInternal } from "./../ArkTabsControllerMaterialized" +import { SymbolEffect, SymbolEffectInternal } from "./../ArkSymbolEffectMaterialized" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { Indicator } from "./../ArkIndicatorBuilder" import { DotIndicator } from "./../ArkDotIndicatorBuilder" @@ -208,6 +209,7 @@ import { PanelMode, PanelHeight, PanelType } from "./../ArkPanelInterfaces" import { NavigationType } from "./../ArkNavigatorInterfaces" import { MenuItemOptions } from "./../ArkMenuItemInterfaces" import { ASTCResource } from "./../ArkMediaCachedImageInterfaces" +import { DrawableDescriptor, DrawableDescriptorInternal } from "./../ArkDrawableDescriptorMaterialized" import { LocationDescription, LocationIconStyle, LocationButtonOnClickResult, LocationButtonOptions } from "./../ArkLocationButtonInterfaces" import { ListItemGroupStyle, ListItemGroupOptions } from "./../ArkListItemGroupInterfaces" import { ChildrenMainSize, ChildrenMainSizeInternal } from "./../ArkChildrenMainSizeMaterialized" @@ -233,13 +235,14 @@ import { RenderingContextSettings, RenderingContextSettingsInternal } from "./.. import { OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal } from "./../ArkOffscreenCanvasRenderingContext2DMaterialized" import { CalendarDialogOptions, CalendarOptions, CalendarPickerAttribute, CalendarAlign } from "./../ArkCalendarPickerInterfaces" import { CalendarController, CalendarControllerInternal } from "./../ArkCalendarControllerMaterialized" -import { MonthData, CalendarDay, CalendarRequestedData, CalendarSelectedDate, WorkStateStyle, WeekStyle, TodayStyle, NonCurrentDayStyle, CurrentDayStyle } from "./../ArkCalendarInterfaces" +import { MonthData, CalendarDay, WorkStateStyle, WeekStyle, TodayStyle, NonCurrentDayStyle, CurrentDayStyle, CalendarRequestedData, CalendarSelectedDate } from "./../ArkCalendarInterfaces" import { BaseShape, BaseShapeInternal } from "./../ArkBaseShapeMaterialized" import { CommonShape, CommonShapeInternal } from "./../ArkCommonShapeMaterialized" import { LinearIndicatorController, LinearIndicatorControllerInternal } from "./../ArkLinearIndicatorControllerMaterialized" import { TextTimerOptions } from "./../ArkTextTimerInterfaces" import { SubmitEvent, SubmitEventInternal } from "./../ArkSubmitEventMaterialized" import { TextClockOptions } from "./../ArkTextClockInterfaces" +import { PulseSymbolEffect, PulseSymbolEffectInternal } from "./../ArkPulseSymbolEffectMaterialized" import { BounceSymbolEffect, BounceSymbolEffectInternal } from "./../ArkBounceSymbolEffectMaterialized" import { DisappearSymbolEffect, DisappearSymbolEffectInternal } from "./../ArkDisappearSymbolEffectMaterialized" import { AppearSymbolEffect, AppearSymbolEffectInternal } from "./../ArkAppearSymbolEffectMaterialized" @@ -278,7 +281,6 @@ import { LongPressGestureEvent, LongPressGestureEventInternal } from "./../ArkLo import { TapGestureEvent, TapGestureEventInternal } from "./../ArkTapGestureEventMaterialized" import { GaugeIndicatorOptions, GaugeShadowOptions, GaugeOptions } from "./../ArkGaugeInterfaces" import { FormLinkOptions } from "./../ArkFormLinkInterfaces" -import { BusinessError } from "./../ArkBaseInterfaces" import { TerminationInfo } from "./../ArkEmbeddedComponentInterfaces" import { EllipseOptions } from "./../ArkEllipseInterfaces" import { CustomDialogControllerOptions } from "./../ArkCustomDialogControllerInterfaces" @@ -297,6 +299,11 @@ import { FrictionMotion, FrictionMotionInternal } from "./../ArkFrictionMotionMa import { SpringMotion, SpringMotionInternal } from "./../ArkSpringMotionMaterialized" import { ReplaceSymbolEffect, ReplaceSymbolEffectInternal } from "./../ArkReplaceSymbolEffectMaterialized" import { ScaleSymbolEffect, ScaleSymbolEffectInternal } from "./../ArkScaleSymbolEffectMaterialized" +import { BusinessError } from "./../ArkBaseInterfaces" +import { AnimationOptions } from "./../ArkArkuiDrawabledescriptorInterfaces" +import { AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal } from "./../ArkAnimatedDrawableDescriptorMaterialized" +import { PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal } from "./../ArkPixelMapDrawableDescriptorMaterialized" +import { LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal } from "./../ArkLayeredDrawableDescriptorMaterialized" export class Deserializer extends DeserializerBase { constructor(data: KSerializerBuffer | KUint8ArrayPtr, length: int32) { @@ -1468,34 +1475,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationTransitionProxy_Void(isSync: boolean = false): ((transitionProxy: NavigationTransitionProxy) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (transitionProxy: NavigationTransitionProxy):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNavigationTransitionProxy(transitionProxy); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1375731066, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1375731066, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCallback_Boolean_Void(isSync: boolean = false): ((parameter: boolean) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: boolean):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeBoolean(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(313269291, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(313269291, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readColorMetrics(): ColorMetrics { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -1523,6 +1502,16 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return ImageAnalyzerControllerInternal.fromPtr(ptr) } + readWebviewController(): WebviewController { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return WebviewControllerInternal.fromPtr(ptr) + } + readWebController(): WebController { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return WebControllerInternal.fromPtr(ptr) + } readEventTarget(): EventTarget { let valueDeserializer : Deserializer = this const area_result : Area = valueDeserializer.readArea() @@ -1534,16 +1523,6 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return WebResourceRequestInternal.fromPtr(ptr) } - readWebviewController(): WebviewController { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return WebviewControllerInternal.fromPtr(ptr) - } - readWebController(): WebController { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return WebControllerInternal.fromPtr(ptr) - } readCallback_String_Void(isSync: boolean = false): ((breakpoints: string) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -2670,6 +2649,34 @@ export class Deserializer extends DeserializerBase { let value : RichEditorGesture = ({onClick: onClick_result, onLongPress: onLongPress_result} as RichEditorGesture) return value } + readCallback_NavigationTransitionProxy_Void(isSync: boolean = false): ((transitionProxy: NavigationTransitionProxy) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (transitionProxy: NavigationTransitionProxy):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNavigationTransitionProxy(transitionProxy); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1375731066, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1375731066, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_Boolean_Void(isSync: boolean = false): ((parameter: boolean) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: boolean):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(313269291, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(313269291, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readNavPathStack(): NavPathStack { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -3803,138 +3810,11 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCustomTheme(): CustomTheme { - let valueDeserializer : Deserializer = this - const _CustomThemeStub_result : string = (valueDeserializer.readString() as string) - let value : CustomTheme = ({_CustomThemeStub: _CustomThemeStub_result} as CustomTheme) - return value - } - readRestrictedWorker(): RestrictedWorker { - let valueDeserializer : Deserializer = this - const _RestrictedWorkerStub_result : string = (valueDeserializer.readString() as string) - let value : RestrictedWorker = ({_RestrictedWorkerStub: _RestrictedWorkerStub_result} as RestrictedWorker) - return value - } - readWant(): Want { - let valueDeserializer : Deserializer = this - const bundleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bundleName_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (bundleName_buf_runtimeType)) - { - bundleName_buf = (valueDeserializer.readString() as string) - } - const bundleName_result : string | undefined = bundleName_buf - const abilityName_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let abilityName_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (abilityName_buf_runtimeType)) - { - abilityName_buf = (valueDeserializer.readString() as string) - } - const abilityName_result : string | undefined = abilityName_buf - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readString() as string) - } - const deviceId_result : string | undefined = deviceId_buf - const uri_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let uri_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (uri_buf_runtimeType)) - { - uri_buf = (valueDeserializer.readString() as string) - } - const uri_result : string | undefined = uri_buf - const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let type_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) - { - type_buf = (valueDeserializer.readString() as string) - } - const type_result : string | undefined = type_buf - const flags_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let flags_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (flags_buf_runtimeType)) - { - flags_buf = (valueDeserializer.readNumber() as number) - } - const flags_result : number | undefined = flags_buf - const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let action_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) - { - action_buf = (valueDeserializer.readString() as string) - } - const action_result : string | undefined = action_buf - const parameters_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let parameters_buf : Map | undefined - if ((RuntimeType.UNDEFINED) != (parameters_buf_runtimeType)) - { - const parameters_buf__size : int32 = valueDeserializer.readInt32() - let parameters_buf_ : Map = new Map() - // TODO: TS map resize - for (let parameters_buf__i = 0; parameters_buf__i < parameters_buf__size; parameters_buf__i++) { - const parameters_buf__key : string = (valueDeserializer.readString() as string) - const parameters_buf__value : Object = (valueDeserializer.readCustomObject("Object") as Object) - parameters_buf_.set(parameters_buf__key, parameters_buf__value) - } - parameters_buf = parameters_buf_ - } - const parameters_result : Map | undefined = parameters_buf - const entities_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let entities_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (entities_buf_runtimeType)) - { - const entities_buf__length : int32 = valueDeserializer.readInt32() - let entities_buf_ : Array = new Array(entities_buf__length) - for (let entities_buf__i = 0; entities_buf__i < entities_buf__length; entities_buf__i++) { - entities_buf_[entities_buf__i] = (valueDeserializer.readString() as string) - } - entities_buf = entities_buf_ - } - const entities_result : Array | undefined = entities_buf - const moduleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let moduleName_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (moduleName_buf_runtimeType)) - { - moduleName_buf = (valueDeserializer.readString() as string) - } - const moduleName_result : string | undefined = moduleName_buf - let value : Want = ({bundleName: bundleName_result, abilityName: abilityName_result, deviceId: deviceId_result, uri: uri_result, type: type_result, flags: flags_result, action: action_result, parameters: parameters_result, entities: entities_result, moduleName: moduleName_result} as Want) - return value - } readStyledString(): StyledString { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return StyledStringInternal.fromPtr(ptr) } - readNavigationAnimatedTransition(): NavigationAnimatedTransition { - let valueDeserializer : Deserializer = this - const onTransitionEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onTransitionEnd_buf : ((parameter: boolean) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onTransitionEnd_buf_runtimeType)) - { - onTransitionEnd_buf = valueDeserializer.readCallback_Boolean_Void() - } - const onTransitionEnd_result : ((parameter: boolean) => void) | undefined = onTransitionEnd_buf - const timeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let timeout_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (timeout_buf_runtimeType)) - { - timeout_buf = (valueDeserializer.readNumber() as number) - } - const timeout_result : number | undefined = timeout_buf - const isInteractive_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let isInteractive_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (isInteractive_buf_runtimeType)) - { - isInteractive_buf = valueDeserializer.readBoolean() - } - const isInteractive_result : boolean | undefined = isInteractive_buf - const transition_result : ((transitionProxy: NavigationTransitionProxy) => void) = valueDeserializer.readCallback_NavigationTransitionProxy_Void() - let value : NavigationAnimatedTransition = ({onTransitionEnd: onTransitionEnd_result, timeout: timeout_result, isInteractive: isInteractive_result, transition: transition_result} as NavigationAnimatedTransition) - return value - } readProfiler_Callback_String_Void(isSync: boolean = false): Callback_String_Void { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -4110,39 +3990,133 @@ export class Deserializer extends DeserializerBase { let value : SpanStyle = ({start: start_result, length: length_result, styledKey: styledKey_result, styledValue: styledValue_result} as SpanStyle) return value } - readCallback_UIExtensionProxy_Void(isSync: boolean = false): ((parameter: UIExtensionProxy) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: UIExtensionProxy):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeUIExtensionProxy(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1063506522, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1063506522, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readWaterFlowAttribute(): WaterFlowAttribute { - throw new Error("Interface with functions is not supported") - } - readWaterFlowSections(): WaterFlowSections { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return WaterFlowSectionsInternal.fromPtr(ptr) - } - readScroller(): Scroller { + readRestrictedWorker(): RestrictedWorker { let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return ScrollerInternal.fromPtr(ptr) + const _RestrictedWorkerStub_result : string = (valueDeserializer.readString() as string) + let value : RestrictedWorker = ({_RestrictedWorkerStub: _RestrictedWorkerStub_result} as RestrictedWorker) + return value } - readSectionOptions(): SectionOptions { + readWant(): Want { let valueDeserializer : Deserializer = this - const itemsCount_result : number = (valueDeserializer.readNumber() as number) - const crossCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let crossCount_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (crossCount_buf_runtimeType)) + const bundleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bundleName_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (bundleName_buf_runtimeType)) + { + bundleName_buf = (valueDeserializer.readString() as string) + } + const bundleName_result : string | undefined = bundleName_buf + const abilityName_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let abilityName_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (abilityName_buf_runtimeType)) + { + abilityName_buf = (valueDeserializer.readString() as string) + } + const abilityName_result : string | undefined = abilityName_buf + const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let deviceId_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) + { + deviceId_buf = (valueDeserializer.readString() as string) + } + const deviceId_result : string | undefined = deviceId_buf + const uri_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let uri_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (uri_buf_runtimeType)) + { + uri_buf = (valueDeserializer.readString() as string) + } + const uri_result : string | undefined = uri_buf + const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let type_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) + { + type_buf = (valueDeserializer.readString() as string) + } + const type_result : string | undefined = type_buf + const flags_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let flags_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (flags_buf_runtimeType)) + { + flags_buf = (valueDeserializer.readNumber() as number) + } + const flags_result : number | undefined = flags_buf + const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let action_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) + { + action_buf = (valueDeserializer.readString() as string) + } + const action_result : string | undefined = action_buf + const parameters_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let parameters_buf : Map | undefined + if ((RuntimeType.UNDEFINED) != (parameters_buf_runtimeType)) + { + const parameters_buf__size : int32 = valueDeserializer.readInt32() + let parameters_buf_ : Map = new Map() + // TODO: TS map resize + for (let parameters_buf__i = 0; parameters_buf__i < parameters_buf__size; parameters_buf__i++) { + const parameters_buf__key : string = (valueDeserializer.readString() as string) + const parameters_buf__value : Object = (valueDeserializer.readCustomObject("Object") as Object) + parameters_buf_.set(parameters_buf__key, parameters_buf__value) + } + parameters_buf = parameters_buf_ + } + const parameters_result : Map | undefined = parameters_buf + const entities_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let entities_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (entities_buf_runtimeType)) + { + const entities_buf__length : int32 = valueDeserializer.readInt32() + let entities_buf_ : Array = new Array(entities_buf__length) + for (let entities_buf__i = 0; entities_buf__i < entities_buf__length; entities_buf__i++) { + entities_buf_[entities_buf__i] = (valueDeserializer.readString() as string) + } + entities_buf = entities_buf_ + } + const entities_result : Array | undefined = entities_buf + const moduleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let moduleName_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (moduleName_buf_runtimeType)) + { + moduleName_buf = (valueDeserializer.readString() as string) + } + const moduleName_result : string | undefined = moduleName_buf + let value : Want = ({bundleName: bundleName_result, abilityName: abilityName_result, deviceId: deviceId_result, uri: uri_result, type: type_result, flags: flags_result, action: action_result, parameters: parameters_result, entities: entities_result, moduleName: moduleName_result} as Want) + return value + } + readCallback_UIExtensionProxy_Void(isSync: boolean = false): ((parameter: UIExtensionProxy) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: UIExtensionProxy):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeUIExtensionProxy(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1063506522, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1063506522, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readWaterFlowAttribute(): WaterFlowAttribute { + throw new Error("Interface with functions is not supported") + } + readWaterFlowSections(): WaterFlowSections { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return WaterFlowSectionsInternal.fromPtr(ptr) + } + readScroller(): Scroller { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return ScrollerInternal.fromPtr(ptr) + } + readSectionOptions(): SectionOptions { + let valueDeserializer : Deserializer = this + const itemsCount_result : number = (valueDeserializer.readNumber() as number) + const crossCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let crossCount_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (crossCount_buf_runtimeType)) { crossCount_buf = (valueDeserializer.readNumber() as number) } @@ -4439,11 +4413,6 @@ export class Deserializer extends DeserializerBase { let value : SelectionMenuOptionsExt = ({onAppear: onAppear_result, onDisappear: onDisappear_result, preview: preview_result, menuType: menuType_result} as SelectionMenuOptionsExt) return value } - readWebKeyboardController(): WebKeyboardController { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return WebKeyboardControllerInternal.fromPtr(ptr) - } readCallback_Literal_String_plainText_Void(isSync: boolean = false): ((selectedText: Literal_String_plainText) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -4459,6 +4428,46 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + readNestedScrollOptionsExt(): NestedScrollOptionsExt { + let valueDeserializer : Deserializer = this + const scrollUp_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollUp_buf : NestedScrollMode | undefined + if ((RuntimeType.UNDEFINED) != (scrollUp_buf_runtimeType)) + { + scrollUp_buf = (valueDeserializer.readInt32() as NestedScrollMode) + } + const scrollUp_result : NestedScrollMode | undefined = scrollUp_buf + const scrollDown_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollDown_buf : NestedScrollMode | undefined + if ((RuntimeType.UNDEFINED) != (scrollDown_buf_runtimeType)) + { + scrollDown_buf = (valueDeserializer.readInt32() as NestedScrollMode) + } + const scrollDown_result : NestedScrollMode | undefined = scrollDown_buf + const scrollRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollRight_buf : NestedScrollMode | undefined + if ((RuntimeType.UNDEFINED) != (scrollRight_buf_runtimeType)) + { + scrollRight_buf = (valueDeserializer.readInt32() as NestedScrollMode) + } + const scrollRight_result : NestedScrollMode | undefined = scrollRight_buf + const scrollLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollLeft_buf : NestedScrollMode | undefined + if ((RuntimeType.UNDEFINED) != (scrollLeft_buf_runtimeType)) + { + scrollLeft_buf = (valueDeserializer.readInt32() as NestedScrollMode) + } + const scrollLeft_result : NestedScrollMode | undefined = scrollLeft_buf + let value : NestedScrollOptionsExt = ({scrollUp: scrollUp_result, scrollDown: scrollDown_result, scrollRight: scrollRight_result, scrollLeft: scrollLeft_result} as NestedScrollOptionsExt) + return value + } + readNestedScrollOptions(): NestedScrollOptions { + let valueDeserializer : Deserializer = this + const scrollForward_result : NestedScrollMode = (valueDeserializer.readInt32() as NestedScrollMode) + const scrollBackward_result : NestedScrollMode = (valueDeserializer.readInt32() as NestedScrollMode) + let value : NestedScrollOptions = ({scrollForward: scrollForward_result, scrollBackward: scrollBackward_result} as NestedScrollOptions) + return value + } readEventResult(): EventResult { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -4545,46 +4554,6 @@ export class Deserializer extends DeserializerBase { let value : NativeEmbedInfo = ({id: id_result, type: type_result, src: src_result, position: position_result, width: width_result, height: height_result, url: url_result, tag: tag_result, params: params_result} as NativeEmbedInfo) return value } - readNestedScrollOptionsExt(): NestedScrollOptionsExt { - let valueDeserializer : Deserializer = this - const scrollUp_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollUp_buf : NestedScrollMode | undefined - if ((RuntimeType.UNDEFINED) != (scrollUp_buf_runtimeType)) - { - scrollUp_buf = (valueDeserializer.readInt32() as NestedScrollMode) - } - const scrollUp_result : NestedScrollMode | undefined = scrollUp_buf - const scrollDown_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollDown_buf : NestedScrollMode | undefined - if ((RuntimeType.UNDEFINED) != (scrollDown_buf_runtimeType)) - { - scrollDown_buf = (valueDeserializer.readInt32() as NestedScrollMode) - } - const scrollDown_result : NestedScrollMode | undefined = scrollDown_buf - const scrollRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollRight_buf : NestedScrollMode | undefined - if ((RuntimeType.UNDEFINED) != (scrollRight_buf_runtimeType)) - { - scrollRight_buf = (valueDeserializer.readInt32() as NestedScrollMode) - } - const scrollRight_result : NestedScrollMode | undefined = scrollRight_buf - const scrollLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollLeft_buf : NestedScrollMode | undefined - if ((RuntimeType.UNDEFINED) != (scrollLeft_buf_runtimeType)) - { - scrollLeft_buf = (valueDeserializer.readInt32() as NestedScrollMode) - } - const scrollLeft_result : NestedScrollMode | undefined = scrollLeft_buf - let value : NestedScrollOptionsExt = ({scrollUp: scrollUp_result, scrollDown: scrollDown_result, scrollRight: scrollRight_result, scrollLeft: scrollLeft_result} as NestedScrollOptionsExt) - return value - } - readNestedScrollOptions(): NestedScrollOptions { - let valueDeserializer : Deserializer = this - const scrollForward_result : NestedScrollMode = (valueDeserializer.readInt32() as NestedScrollMode) - const scrollBackward_result : NestedScrollMode = (valueDeserializer.readInt32() as NestedScrollMode) - let value : NestedScrollOptions = ({scrollForward: scrollForward_result, scrollBackward: scrollBackward_result} as NestedScrollOptions) - return value - } readDataResubmissionHandler(): DataResubmissionHandler { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -4630,11 +4599,6 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return HttpAuthHandlerInternal.fromPtr(ptr) } - readFullScreenExitHandler(): FullScreenExitHandler { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return FullScreenExitHandlerInternal.fromPtr(ptr) - } readFileSelectorParam(): FileSelectorParam { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -4681,11 +4645,27 @@ export class Deserializer extends DeserializerBase { let value : ScreenCaptureConfig = ({captureMode: captureMode_result} as ScreenCaptureConfig) return value } + readFullScreenExitHandler(): FullScreenExitHandler { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return FullScreenExitHandlerInternal.fromPtr(ptr) + } + readWebKeyboardController(): WebKeyboardController { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return WebKeyboardControllerInternal.fromPtr(ptr) + } readVideoController(): VideoController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return VideoControllerInternal.fromPtr(ptr) } + readCustomTheme(): CustomTheme { + let valueDeserializer : Deserializer = this + const _CustomThemeStub_result : string = (valueDeserializer.readString() as string) + let value : CustomTheme = ({_CustomThemeStub: _CustomThemeStub_result} as CustomTheme) + return value + } readTimePickerDialogOptions(): TimePickerDialogOptions { let valueDeserializer : Deserializer = this const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -5770,8 +5750,9 @@ export class Deserializer extends DeserializerBase { throw new Error("Interface with functions is not supported") } readSymbolEffect(): SymbolEffect { - let value : SymbolEffect = ({} as SymbolEffect) - return value + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return SymbolEffectInternal.fromPtr(ptr) } readDigitIndicator(): DigitIndicator { throw new Error("Can not deserialize builder class") @@ -7034,6 +7015,33 @@ export class Deserializer extends DeserializerBase { let value : NavContentInfo = ({name: name_result, index: index_result, mode: mode_result, param: param_result, navDestinationId: navDestinationId_result} as NavContentInfo) return value } + readNavigationAnimatedTransition(): NavigationAnimatedTransition { + let valueDeserializer : Deserializer = this + const onTransitionEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onTransitionEnd_buf : ((parameter: boolean) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onTransitionEnd_buf_runtimeType)) + { + onTransitionEnd_buf = valueDeserializer.readCallback_Boolean_Void() + } + const onTransitionEnd_result : ((parameter: boolean) => void) | undefined = onTransitionEnd_buf + const timeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let timeout_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (timeout_buf_runtimeType)) + { + timeout_buf = (valueDeserializer.readNumber() as number) + } + const timeout_result : number | undefined = timeout_buf + const isInteractive_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isInteractive_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isInteractive_buf_runtimeType)) + { + isInteractive_buf = valueDeserializer.readBoolean() + } + const isInteractive_result : boolean | undefined = isInteractive_buf + const transition_result : ((transitionProxy: NavigationTransitionProxy) => void) = valueDeserializer.readCallback_NavigationTransitionProxy_Void() + let value : NavigationAnimatedTransition = ({onTransitionEnd: onTransitionEnd_result, timeout: timeout_result, isInteractive: isInteractive_result, transition: transition_result} as NavigationAnimatedTransition) + return value + } readNavDestinationContext(): NavDestinationContext { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -7431,9 +7439,8 @@ export class Deserializer extends DeserializerBase { } readDrawableDescriptor(): DrawableDescriptor { let valueDeserializer : Deserializer = this - const _DrawableDescriptorStub_result : string = (valueDeserializer.readString() as string) - let value : DrawableDescriptor = ({_DrawableDescriptorStub: _DrawableDescriptorStub_result} as DrawableDescriptor) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return DrawableDescriptorInternal.fromPtr(ptr) } readMatrix2D(): Matrix2D { let valueDeserializer : Deserializer = this @@ -12617,11 +12624,12 @@ export class Deserializer extends DeserializerBase { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return ():void => { + return (name: string):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); + _argsSerializer.writeString(name); (isSync) ? (InteropNativeModule._CallCallbackSync(-588228933, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-588228933, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } @@ -13182,149 +13190,6 @@ export class Deserializer extends DeserializerBase { let value : DoubleAnimationParam = ({propertyName: propertyName_result, startValue: startValue_result, endValue: endValue_result, duration: duration_result, delay: delay_result, curve: curve_result, onProgress: onProgress_result, onFinish: onFinish_result} as DoubleAnimationParam) return value } - readWithThemeOptions(): WithThemeOptions { - let valueDeserializer : Deserializer = this - const theme_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let theme_buf : CustomTheme | undefined - if ((RuntimeType.UNDEFINED) != (theme_buf_runtimeType)) - { - theme_buf = valueDeserializer.readCustomTheme() - } - const theme_result : CustomTheme | undefined = theme_buf - const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colorMode_buf : ThemeColorMode | undefined - if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) - { - colorMode_buf = (valueDeserializer.readInt32() as ThemeColorMode) - } - const colorMode_result : ThemeColorMode | undefined = colorMode_buf - let value : WithThemeOptions = ({theme: theme_result, colorMode: colorMode_result} as WithThemeOptions) - return value - } - readWithThemeInterface(isSync: boolean = false): WithThemeInterface { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (options: WithThemeOptions):WithThemeAttribute => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeWithThemeOptions(options); - let _continuationValue : WithThemeAttribute | undefined; - const _continuationCallback : ((value: WithThemeAttribute) => void) = (value: WithThemeAttribute):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(219587748, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(219587748, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as WithThemeAttribute); } - } - readType_NavigationAttribute_customNavContentTransition_delegate(isSync: boolean = false): ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation):NavigationAnimatedTransition | undefined => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNavContentInfo(from); - _argsSerializer.writeNavContentInfo(to); - _argsSerializer.writeInt32(operation.valueOf()); - let _continuationValue : NavigationAnimatedTransition | undefined; - const _continuationCallback : ((value: NavigationAnimatedTransition | undefined) => void) = (value?: NavigationAnimatedTransition | undefined):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(1044833488, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1044833488, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as NavigationAnimatedTransition | undefined); } - } - readSliderTriggerChangeCallback(isSync: boolean = false): SliderTriggerChangeCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (value: number, mode: SliderChangeMode):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(value); - _argsSerializer.writeInt32(mode.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(711649376, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(711649376, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (type: RouteType, progress: number):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(type.valueOf()); - _argsSerializer.writeNumber(progress); - (isSync) ? (InteropNativeModule._CallCallbackSync(1627123591, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1627123591, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readOnScrollCallback(isSync: boolean = false): OnScrollCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (scrollOffset: number, scrollState: ScrollState):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(scrollOffset); - _argsSerializer.writeInt32(scrollState.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(-160015401, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-160015401, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readOnMoveHandler(isSync: boolean = false): OnMoveHandler { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (from: number, to: number):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(from); - _argsSerializer.writeNumber(to); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1200281222, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1200281222, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readIsolatedOptions(): IsolatedOptions { - let valueDeserializer : Deserializer = this - const want_result : Want = valueDeserializer.readWant() - const worker_result : RestrictedWorker = valueDeserializer.readRestrictedWorker() - let value : IsolatedOptions = ({want: want_result, worker: worker_result} as IsolatedOptions) - return value - } - readIsolatedComponentInterface(isSync: boolean = false): IsolatedComponentInterface { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (options: IsolatedOptions):IsolatedComponentAttribute => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeIsolatedOptions(options); - let _continuationValue : IsolatedComponentAttribute | undefined; - const _continuationCallback : ((value: IsolatedComponentAttribute) => void) = (value: IsolatedComponentAttribute):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(2139680213, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(2139680213, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as IsolatedComponentAttribute); } - } - readWithThemeAttribute(): WithThemeAttribute { - let value : WithThemeAttribute = ({} as WithThemeAttribute) - return value - } readCallback_WithThemeAttribute_Void(isSync: boolean = false): ((value: WithThemeAttribute) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -13444,21 +13309,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_String_Unknown_Void(isSync: boolean = false): ((name: string,param: object) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (name: string, param: object):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(name); - _argsSerializer.writeCustomObject("Any", param); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCallback_Pointer_Void(isSync: boolean = false): ((value: KPointer) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -13596,34 +13446,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationTitleMode_Void(isSync: boolean = false): ((titleMode: NavigationTitleMode) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (titleMode: NavigationTitleMode):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(titleMode.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(1685437830, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1685437830, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCallback_NavigationMode_Void(isSync: boolean = false): ((mode: NavigationMode) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (mode: NavigationMode):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(mode.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(960690982, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(960690982, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCallback_Literal_Number_offsetRemain_Void(isSync: boolean = false): ((value: Literal_Number_offsetRemain) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -13639,9 +13461,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readIsolatedComponentAttribute(): IsolatedComponentAttribute { - throw new Error("Interface with functions is not supported") - } readCallback_IsolatedComponentAttribute_Void(isSync: boolean = false): ((value: IsolatedComponentAttribute) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -13744,21 +13563,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readButtonTriggerClickCallback(isSync: boolean = false): ButtonTriggerClickCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (xPos: number, yPos: number):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(xPos); - _argsSerializer.writeNumber(yPos); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1964292933, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1964292933, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readLinearIndicatorController(): LinearIndicatorController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -14022,6 +13826,39 @@ export class Deserializer extends DeserializerBase { let value : StyleOptions = ({start: start_result, length: length_result, styledKey: styledKey_result, styledValue: styledValue_result} as StyleOptions) return value } + readIsolatedComponentAttribute(): IsolatedComponentAttribute { + throw new Error("Interface with functions is not supported") + } + readIsolatedOptions(): IsolatedOptions { + let valueDeserializer : Deserializer = this + const want_result : Want = valueDeserializer.readWant() + const worker_result : RestrictedWorker = valueDeserializer.readRestrictedWorker() + let value : IsolatedOptions = ({want: want_result, worker: worker_result} as IsolatedOptions) + return value + } + readIsolatedComponentInterface(isSync: boolean = false): IsolatedComponentInterface { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (options: IsolatedOptions):IsolatedComponentAttribute => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeIsolatedOptions(options); + let _continuationValue : IsolatedComponentAttribute | undefined; + const _continuationCallback : ((value: IsolatedComponentAttribute) => void) = (value: IsolatedComponentAttribute):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(2139680213, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(2139680213, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as IsolatedComponentAttribute); } + } + readReceiveCallback(): ReceiveCallback { + let valueDeserializer : Deserializer = this + const _ReceiveCallbackStub_result : string = (valueDeserializer.readString() as string) + let value : ReceiveCallback = ({_ReceiveCallbackStub: _ReceiveCallbackStub_result} as ReceiveCallback) + return value + } readCallback_Literal_Number_code_Want_want_Void(isSync: boolean = false): ((parameter: Literal_Number_code_Want_want) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -14045,12 +13882,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readReceiveCallback(): ReceiveCallback { - let valueDeserializer : Deserializer = this - const _ReceiveCallbackStub_result : string = (valueDeserializer.readString() as string) - let value : ReceiveCallback = ({_ReceiveCallbackStub: _ReceiveCallbackStub_result} as ReceiveCallback) - return value - } readUIExtensionOptions(): UIExtensionOptions { let valueDeserializer : Deserializer = this const isTransferringCaller_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -14213,104 +14044,12 @@ export class Deserializer extends DeserializerBase { let value : XComponentOptions = ({type: type_result, controller: controller_result, imageAIOptions: imageAIOptions_result} as XComponentOptions) return value } - readAdsBlockedDetails(): AdsBlockedDetails { + readExpandedMenuItemOptions(): ExpandedMenuItemOptions { let valueDeserializer : Deserializer = this - const url_result : string = (valueDeserializer.readString() as string) - const adsBlocked_buf_length : int32 = valueDeserializer.readInt32() - let adsBlocked_buf : Array = new Array(adsBlocked_buf_length) - for (let adsBlocked_buf_i = 0; adsBlocked_buf_i < adsBlocked_buf_length; adsBlocked_buf_i++) { - adsBlocked_buf[adsBlocked_buf_i] = (valueDeserializer.readString() as string) - } - const adsBlocked_result : Array = adsBlocked_buf - let value : AdsBlockedDetails = ({url: url_result, adsBlocked: adsBlocked_result} as AdsBlockedDetails) - return value - } - readOnAdsBlockedCallback(isSync: boolean = false): OnAdsBlockedCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (details: AdsBlockedDetails):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeAdsBlockedDetails(details); - (isSync) ? (InteropNativeModule._CallCallbackSync(1572284740, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1572284740, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readWebKeyboardOptions(): WebKeyboardOptions { - let valueDeserializer : Deserializer = this - const useSystemKeyboard_result : boolean = valueDeserializer.readBoolean() - const enterKeyType_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enterKeyType_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (enterKeyType_buf_runtimeType)) - { - enterKeyType_buf = (valueDeserializer.readNumber() as number) - } - const enterKeyType_result : number | undefined = enterKeyType_buf - const customKeyboard_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let customKeyboard_buf : CustomBuilder | undefined - if ((RuntimeType.UNDEFINED) != (customKeyboard_buf_runtimeType)) - { - customKeyboard_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - } - const customKeyboard_result : CustomBuilder | undefined = customKeyboard_buf - let value : WebKeyboardOptions = ({useSystemKeyboard: useSystemKeyboard_result, enterKeyType: enterKeyType_result, customKeyboard: customKeyboard_result} as WebKeyboardOptions) - return value - } - readWebKeyboardCallbackInfo(): WebKeyboardCallbackInfo { - let valueDeserializer : Deserializer = this - const controller_result : WebKeyboardController = (valueDeserializer.readWebKeyboardController() as WebKeyboardController) - const attributes_buf_size : int32 = valueDeserializer.readInt32() - let attributes_buf : Map = new Map() - // TODO: TS map resize - for (let attributes_buf_i = 0; attributes_buf_i < attributes_buf_size; attributes_buf_i++) { - const attributes_buf_key : string = (valueDeserializer.readString() as string) - const attributes_buf_value : string = (valueDeserializer.readString() as string) - attributes_buf.set(attributes_buf_key, attributes_buf_value) - } - const attributes_result : Map = attributes_buf - let value : WebKeyboardCallbackInfo = ({controller: controller_result, attributes: attributes_result} as WebKeyboardCallbackInfo) - return value - } - readWebKeyboardCallback(isSync: boolean = false): WebKeyboardCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (keyboardCallbackInfo: WebKeyboardCallbackInfo):WebKeyboardOptions => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeWebKeyboardCallbackInfo(keyboardCallbackInfo); - let _continuationValue : WebKeyboardOptions | undefined; - const _continuationCallback : ((value: WebKeyboardOptions) => void) = (value: WebKeyboardOptions):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1829763354, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1829763354, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as WebKeyboardOptions); } - } - readOnViewportFitChangedCallback(isSync: boolean = false): OnViewportFitChangedCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (viewportFit: ViewportFit):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(viewportFit.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(1847083191, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1847083191, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readExpandedMenuItemOptions(): ExpandedMenuItemOptions { - let valueDeserializer : Deserializer = this - const content_buf_selector : int32 = valueDeserializer.readInt8() - let content_buf : string | Resource | undefined - if (content_buf_selector == 0) { - content_buf = (valueDeserializer.readString() as string) + const content_buf_selector : int32 = valueDeserializer.readInt8() + let content_buf : string | Resource | undefined + if (content_buf_selector == 0) { + content_buf = (valueDeserializer.readString() as string) } else if (content_buf_selector == 1) { content_buf = valueDeserializer.readResource() @@ -14341,41 +14080,6 @@ export class Deserializer extends DeserializerBase { let value : ExpandedMenuItemOptions = ({content: content_result, startIcon: startIcon_result, action: action_result} as ExpandedMenuItemOptions) return value } - readOnRenderProcessRespondingCallback(isSync: boolean = false): OnRenderProcessRespondingCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return ():void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - (isSync) ? (InteropNativeModule._CallCallbackSync(1334389194, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1334389194, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readRenderProcessNotRespondingData(): RenderProcessNotRespondingData { - let valueDeserializer : Deserializer = this - const jsStack_result : string = (valueDeserializer.readString() as string) - const pid_result : number = (valueDeserializer.readNumber() as number) - const reason_result : RenderProcessNotRespondingReason = (valueDeserializer.readInt32() as RenderProcessNotRespondingReason) - let value : RenderProcessNotRespondingData = ({jsStack: jsStack_result, pid: pid_result, reason: reason_result} as RenderProcessNotRespondingData) - return value - } - readOnRenderProcessNotRespondingCallback(isSync: boolean = false): OnRenderProcessNotRespondingCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (data: RenderProcessNotRespondingData):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeRenderProcessNotRespondingData(data); - (isSync) ? (InteropNativeModule._CallCallbackSync(47282303, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(47282303, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readNativeMediaPlayerConfig(): NativeMediaPlayerConfig { let valueDeserializer : Deserializer = this const enable_result : boolean = valueDeserializer.readBoolean() @@ -14383,22 +14087,80 @@ export class Deserializer extends DeserializerBase { let value : NativeMediaPlayerConfig = ({enable: enable_result, shouldOverlay: shouldOverlay_result} as NativeMediaPlayerConfig) return value } - readOnOverrideUrlLoadingCallback(isSync: boolean = false): OnOverrideUrlLoadingCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (webResourceRequest: WebResourceRequest):boolean => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeWebResourceRequest(webResourceRequest); - let _continuationValue : boolean | undefined; - const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(865258467, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(865258467, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } + readScriptItem(): ScriptItem { + let valueDeserializer : Deserializer = this + const script_result : string = (valueDeserializer.readString() as string) + const scriptRules_buf_length : int32 = valueDeserializer.readInt32() + let scriptRules_buf : Array = new Array(scriptRules_buf_length) + for (let scriptRules_buf_i = 0; scriptRules_buf_i < scriptRules_buf_length; scriptRules_buf_i++) { + scriptRules_buf[scriptRules_buf_i] = (valueDeserializer.readString() as string) + } + const scriptRules_result : Array = scriptRules_buf + let value : ScriptItem = ({script: script_result, scriptRules: scriptRules_result} as ScriptItem) + return value + } + readWebMediaOptions(): WebMediaOptions { + let valueDeserializer : Deserializer = this + const resumeInterval_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let resumeInterval_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (resumeInterval_buf_runtimeType)) + { + resumeInterval_buf = (valueDeserializer.readNumber() as number) + } + const resumeInterval_result : number | undefined = resumeInterval_buf + const audioExclusive_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let audioExclusive_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (audioExclusive_buf_runtimeType)) + { + audioExclusive_buf = valueDeserializer.readBoolean() + } + const audioExclusive_result : boolean | undefined = audioExclusive_buf + let value : WebMediaOptions = ({resumeInterval: resumeInterval_result, audioExclusive: audioExclusive_result} as WebMediaOptions) + return value + } + readJavaScriptProxy(): JavaScriptProxy { + let valueDeserializer : Deserializer = this + const object__result : Object = (valueDeserializer.readCustomObject("Object") as Object) + const name_result : string = (valueDeserializer.readString() as string) + const methodList_buf_length : int32 = valueDeserializer.readInt32() + let methodList_buf : Array = new Array(methodList_buf_length) + for (let methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { + methodList_buf[methodList_buf_i] = (valueDeserializer.readString() as string) + } + const methodList_result : Array = methodList_buf + const controller_buf_selector : int32 = valueDeserializer.readInt8() + let controller_buf : WebController | WebviewController | undefined + if (controller_buf_selector == 0) { + controller_buf = (valueDeserializer.readWebController() as WebController) + } + else if (controller_buf_selector == 1) { + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) + } + else { + throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") + } + const controller_result : WebController | WebviewController = (controller_buf as WebController | WebviewController) + const asyncMethodList_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let asyncMethodList_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (asyncMethodList_buf_runtimeType)) + { + const asyncMethodList_buf__length : int32 = valueDeserializer.readInt32() + let asyncMethodList_buf_ : Array = new Array(asyncMethodList_buf__length) + for (let asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { + asyncMethodList_buf_[asyncMethodList_buf__i] = (valueDeserializer.readString() as string) + } + asyncMethodList_buf = asyncMethodList_buf_ + } + const asyncMethodList_result : Array | undefined = asyncMethodList_buf + const permission_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let permission_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (permission_buf_runtimeType)) + { + permission_buf = (valueDeserializer.readString() as string) + } + const permission_result : string | undefined = permission_buf + let value : JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) + return value } readNativeEmbedTouchInfo(): NativeEmbedTouchInfo { let valueDeserializer : Deserializer = this @@ -14440,27 +14202,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readNativeEmbedVisibilityInfo(): NativeEmbedVisibilityInfo { - let valueDeserializer : Deserializer = this - const visibility_result : boolean = valueDeserializer.readBoolean() - const embedId_result : string = (valueDeserializer.readString() as string) - let value : NativeEmbedVisibilityInfo = ({visibility: visibility_result, embedId: embedId_result} as NativeEmbedVisibilityInfo) - return value - } - readOnNativeEmbedVisibilityChangeCallback(isSync: boolean = false): OnNativeEmbedVisibilityChangeCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (nativeEmbedVisibilityInfo: NativeEmbedVisibilityInfo):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNativeEmbedVisibilityInfo(nativeEmbedVisibilityInfo); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1641338704, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1641338704, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readNativeEmbedDataInfo(): NativeEmbedDataInfo { let valueDeserializer : Deserializer = this const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -14508,82 +14249,11 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readScriptItem(): ScriptItem { - let valueDeserializer : Deserializer = this - const script_result : string = (valueDeserializer.readString() as string) - const scriptRules_buf_length : int32 = valueDeserializer.readInt32() - let scriptRules_buf : Array = new Array(scriptRules_buf_length) - for (let scriptRules_buf_i = 0; scriptRules_buf_i < scriptRules_buf_length; scriptRules_buf_i++) { - scriptRules_buf[scriptRules_buf_i] = (valueDeserializer.readString() as string) - } - const scriptRules_result : Array = scriptRules_buf - let value : ScriptItem = ({script: script_result, scriptRules: scriptRules_result} as ScriptItem) - return value - } - readIntelligentTrackingPreventionDetails(): IntelligentTrackingPreventionDetails { + readOnOverScrollEvent(): OnOverScrollEvent { let valueDeserializer : Deserializer = this - const host_result : string = (valueDeserializer.readString() as string) - const trackerHost_result : string = (valueDeserializer.readString() as string) - let value : IntelligentTrackingPreventionDetails = ({host: host_result, trackerHost: trackerHost_result} as IntelligentTrackingPreventionDetails) - return value - } - readOnIntelligentTrackingPreventionCallback(isSync: boolean = false): OnIntelligentTrackingPreventionCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (details: IntelligentTrackingPreventionDetails):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeIntelligentTrackingPreventionDetails(details); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1377876844, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1377876844, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readLoadCommittedDetails(): LoadCommittedDetails { - let valueDeserializer : Deserializer = this - const isMainFrame_result : boolean = valueDeserializer.readBoolean() - const isSameDocument_result : boolean = valueDeserializer.readBoolean() - const didReplaceEntry_result : boolean = valueDeserializer.readBoolean() - const navigationType_result : WebNavigationType = (valueDeserializer.readInt32() as WebNavigationType) - const url_result : string = (valueDeserializer.readString() as string) - let value : LoadCommittedDetails = ({isMainFrame: isMainFrame_result, isSameDocument: isSameDocument_result, didReplaceEntry: didReplaceEntry_result, navigationType: navigationType_result, url: url_result} as LoadCommittedDetails) - return value - } - readOnNavigationEntryCommittedCallback(isSync: boolean = false): OnNavigationEntryCommittedCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (loadCommittedDetails: LoadCommittedDetails):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeLoadCommittedDetails(loadCommittedDetails); - (isSync) ? (InteropNativeModule._CallCallbackSync(-398722176, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-398722176, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readOnSafeBrowsingCheckResultCallback(isSync: boolean = false): OnSafeBrowsingCheckResultCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (threatType: ThreatType):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(threatType.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1099824577, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1099824577, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readOnOverScrollEvent(): OnOverScrollEvent { - let valueDeserializer : Deserializer = this - const xOffset_result : number = (valueDeserializer.readNumber() as number) - const yOffset_result : number = (valueDeserializer.readNumber() as number) - let value : OnOverScrollEvent = ({xOffset: xOffset_result, yOffset: yOffset_result} as OnOverScrollEvent) + const xOffset_result : number = (valueDeserializer.readNumber() as number) + const yOffset_result : number = (valueDeserializer.readNumber() as number) + let value : OnOverScrollEvent = ({xOffset: xOffset_result, yOffset: yOffset_result} as OnOverScrollEvent) return value } readCallback_OnOverScrollEvent_Void(isSync: boolean = false): ((parameter: OnOverScrollEvent) => void) { @@ -14623,100 +14293,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readLargestContentfulPaint(): LargestContentfulPaint { - let valueDeserializer : Deserializer = this - const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let navigationStartTime_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (navigationStartTime_buf_runtimeType)) - { - navigationStartTime_buf = (valueDeserializer.readNumber() as number) - } - const navigationStartTime_result : number | undefined = navigationStartTime_buf - const largestImagePaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let largestImagePaintTime_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (largestImagePaintTime_buf_runtimeType)) - { - largestImagePaintTime_buf = (valueDeserializer.readNumber() as number) - } - const largestImagePaintTime_result : number | undefined = largestImagePaintTime_buf - const largestTextPaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let largestTextPaintTime_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (largestTextPaintTime_buf_runtimeType)) - { - largestTextPaintTime_buf = (valueDeserializer.readNumber() as number) - } - const largestTextPaintTime_result : number | undefined = largestTextPaintTime_buf - const imageBPP_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let imageBPP_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (imageBPP_buf_runtimeType)) - { - imageBPP_buf = (valueDeserializer.readNumber() as number) - } - const imageBPP_result : number | undefined = imageBPP_buf - const largestImageLoadStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let largestImageLoadStartTime_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (largestImageLoadStartTime_buf_runtimeType)) - { - largestImageLoadStartTime_buf = (valueDeserializer.readNumber() as number) - } - const largestImageLoadStartTime_result : number | undefined = largestImageLoadStartTime_buf - const largestImageLoadEndTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let largestImageLoadEndTime_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (largestImageLoadEndTime_buf_runtimeType)) - { - largestImageLoadEndTime_buf = (valueDeserializer.readNumber() as number) - } - const largestImageLoadEndTime_result : number | undefined = largestImageLoadEndTime_buf - let value : LargestContentfulPaint = ({navigationStartTime: navigationStartTime_result, largestImagePaintTime: largestImagePaintTime_result, largestTextPaintTime: largestTextPaintTime_result, imageBPP: imageBPP_result, largestImageLoadStartTime: largestImageLoadStartTime_result, largestImageLoadEndTime: largestImageLoadEndTime_result} as LargestContentfulPaint) - return value - } - readOnLargestContentfulPaintCallback(isSync: boolean = false): OnLargestContentfulPaintCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (largestContentfulPaint: LargestContentfulPaint):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeLargestContentfulPaint(largestContentfulPaint); - (isSync) ? (InteropNativeModule._CallCallbackSync(1390640532, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1390640532, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readFirstMeaningfulPaint(): FirstMeaningfulPaint { - let valueDeserializer : Deserializer = this - const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let navigationStartTime_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (navigationStartTime_buf_runtimeType)) - { - navigationStartTime_buf = (valueDeserializer.readNumber() as number) - } - const navigationStartTime_result : number | undefined = navigationStartTime_buf - const firstMeaningfulPaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let firstMeaningfulPaintTime_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (firstMeaningfulPaintTime_buf_runtimeType)) - { - firstMeaningfulPaintTime_buf = (valueDeserializer.readNumber() as number) - } - const firstMeaningfulPaintTime_result : number | undefined = firstMeaningfulPaintTime_buf - let value : FirstMeaningfulPaint = ({navigationStartTime: navigationStartTime_result, firstMeaningfulPaintTime: firstMeaningfulPaintTime_result} as FirstMeaningfulPaint) - return value - } - readOnFirstMeaningfulPaintCallback(isSync: boolean = false): OnFirstMeaningfulPaintCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (firstMeaningfulPaint: FirstMeaningfulPaint):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeFirstMeaningfulPaint(firstMeaningfulPaint); - (isSync) ? (InteropNativeModule._CallCallbackSync(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOnFirstContentfulPaintEvent(): OnFirstContentfulPaintEvent { let valueDeserializer : Deserializer = this const navigationStartTick_result : number = (valueDeserializer.readNumber() as number) @@ -14896,32 +14472,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readSslErrorEvent(): SslErrorEvent { - let valueDeserializer : Deserializer = this - const handler_result : SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) - const error_result : SslError = (valueDeserializer.readInt32() as SslError) - const url_result : string = (valueDeserializer.readString() as string) - const originalUrl_result : string = (valueDeserializer.readString() as string) - const referrer_result : string = (valueDeserializer.readString() as string) - const isFatalError_result : boolean = valueDeserializer.readBoolean() - const isMainFrame_result : boolean = valueDeserializer.readBoolean() - let value : SslErrorEvent = ({handler: handler_result, error: error_result, url: url_result, originalUrl: originalUrl_result, referrer: referrer_result, isFatalError: isFatalError_result, isMainFrame: isMainFrame_result} as SslErrorEvent) - return value - } - readOnSslErrorEventCallback(isSync: boolean = false): OnSslErrorEventCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (sslErrorEvent: SslErrorEvent):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeSslErrorEvent(sslErrorEvent); - (isSync) ? (InteropNativeModule._CallCallbackSync(-399603614, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-399603614, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOnSslErrorEventReceiveEvent(): OnSslErrorEventReceiveEvent { let valueDeserializer : Deserializer = this const handler_result : SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) @@ -14998,19 +14548,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnContextMenuHideCallback(isSync: boolean = false): OnContextMenuHideCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return ():void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - (isSync) ? (InteropNativeModule._CallCallbackSync(1788572278, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1788572278, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOnContextMenuShowEvent(): OnContextMenuShowEvent { let valueDeserializer : Deserializer = this const param_result : WebContextMenuParam = (valueDeserializer.readWebContextMenuParam() as WebContextMenuParam) @@ -15144,40 +14681,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readFullScreenEnterEvent(): FullScreenEnterEvent { - let valueDeserializer : Deserializer = this - const handler_result : FullScreenExitHandler = (valueDeserializer.readFullScreenExitHandler() as FullScreenExitHandler) - const videoWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let videoWidth_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (videoWidth_buf_runtimeType)) - { - videoWidth_buf = (valueDeserializer.readNumber() as number) - } - const videoWidth_result : number | undefined = videoWidth_buf - const videoHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let videoHeight_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (videoHeight_buf_runtimeType)) - { - videoHeight_buf = (valueDeserializer.readNumber() as number) - } - const videoHeight_result : number | undefined = videoHeight_buf - let value : FullScreenEnterEvent = ({handler: handler_result, videoWidth: videoWidth_result, videoHeight: videoHeight_result} as FullScreenEnterEvent) - return value - } - readOnFullScreenEnterCallback(isSync: boolean = false): OnFullScreenEnterCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: FullScreenEnterEvent):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeFullScreenEnterEvent(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(81230317, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(81230317, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOnResourceLoadEvent(): OnResourceLoadEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) @@ -15609,176 +15112,504 @@ export class Deserializer extends DeserializerBase { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (parameter: OnProgressChangeEvent):void => { + return (parameter: OnProgressChangeEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeOnProgressChangeEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(1018740377, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1018740377, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnPageBeginEvent(): OnPageBeginEvent { + let valueDeserializer : Deserializer = this + const url_result : string = (valueDeserializer.readString() as string) + let value : OnPageBeginEvent = ({url: url_result} as OnPageBeginEvent) + return value + } + readCallback_OnPageBeginEvent_Void(isSync: boolean = false): ((parameter: OnPageBeginEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: OnPageBeginEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeOnPageBeginEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-2040193994, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2040193994, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnPageEndEvent(): OnPageEndEvent { + let valueDeserializer : Deserializer = this + const url_result : string = (valueDeserializer.readString() as string) + let value : OnPageEndEvent = ({url: url_result} as OnPageEndEvent) + return value + } + readCallback_OnPageEndEvent_Void(isSync: boolean = false): ((parameter: OnPageEndEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: OnPageEndEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeOnPageEndEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-130135362, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-130135362, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readWebOptions(): WebOptions { + let valueDeserializer : Deserializer = this + const src_buf_selector : int32 = valueDeserializer.readInt8() + let src_buf : string | Resource | undefined + if (src_buf_selector == 0) { + src_buf = (valueDeserializer.readString() as string) + } + else if (src_buf_selector == 1) { + src_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for src_buf has to be chosen through deserialisation.") + } + const src_result : string | Resource = (src_buf as string | Resource) + const controller_buf_selector : int32 = valueDeserializer.readInt8() + let controller_buf : WebController | WebviewController | undefined + if (controller_buf_selector == 0) { + controller_buf = (valueDeserializer.readWebController() as WebController) + } + else if (controller_buf_selector == 1) { + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) + } + else { + throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") + } + const controller_result : WebController | WebviewController = (controller_buf as WebController | WebviewController) + const renderMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let renderMode_buf : RenderMode | undefined + if ((RuntimeType.UNDEFINED) != (renderMode_buf_runtimeType)) + { + renderMode_buf = (valueDeserializer.readInt32() as RenderMode) + } + const renderMode_result : RenderMode | undefined = renderMode_buf + const incognitoMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let incognitoMode_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (incognitoMode_buf_runtimeType)) + { + incognitoMode_buf = valueDeserializer.readBoolean() + } + const incognitoMode_result : boolean | undefined = incognitoMode_buf + const sharedRenderProcessToken_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sharedRenderProcessToken_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (sharedRenderProcessToken_buf_runtimeType)) + { + sharedRenderProcessToken_buf = (valueDeserializer.readString() as string) + } + const sharedRenderProcessToken_result : string | undefined = sharedRenderProcessToken_buf + let value : WebOptions = ({src: src_result, controller: controller_result, renderMode: renderMode_result, incognitoMode: incognitoMode_result, sharedRenderProcessToken: sharedRenderProcessToken_result} as WebOptions) + return value + } + readHeader(): Header { + let valueDeserializer : Deserializer = this + const headerKey_result : string = (valueDeserializer.readString() as string) + const headerValue_result : string = (valueDeserializer.readString() as string) + let value : Header = ({headerKey: headerKey_result, headerValue: headerValue_result} as Header) + return value + } + readOnContextMenuHideCallback(isSync: boolean = false): OnContextMenuHideCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return ():void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + (isSync) ? (InteropNativeModule._CallCallbackSync(1788572278, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1788572278, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readFullScreenEnterEvent(): FullScreenEnterEvent { + let valueDeserializer : Deserializer = this + const handler_result : FullScreenExitHandler = (valueDeserializer.readFullScreenExitHandler() as FullScreenExitHandler) + const videoWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let videoWidth_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (videoWidth_buf_runtimeType)) + { + videoWidth_buf = (valueDeserializer.readNumber() as number) + } + const videoWidth_result : number | undefined = videoWidth_buf + const videoHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let videoHeight_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (videoHeight_buf_runtimeType)) + { + videoHeight_buf = (valueDeserializer.readNumber() as number) + } + const videoHeight_result : number | undefined = videoHeight_buf + let value : FullScreenEnterEvent = ({handler: handler_result, videoWidth: videoWidth_result, videoHeight: videoHeight_result} as FullScreenEnterEvent) + return value + } + readOnFullScreenEnterCallback(isSync: boolean = false): OnFullScreenEnterCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: FullScreenEnterEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeFullScreenEnterEvent(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(81230317, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(81230317, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnSafeBrowsingCheckResultCallback(isSync: boolean = false): OnSafeBrowsingCheckResultCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (threatType: ThreatType):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(threatType.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1099824577, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1099824577, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readWebKeyboardOptions(): WebKeyboardOptions { + let valueDeserializer : Deserializer = this + const useSystemKeyboard_result : boolean = valueDeserializer.readBoolean() + const enterKeyType_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enterKeyType_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (enterKeyType_buf_runtimeType)) + { + enterKeyType_buf = (valueDeserializer.readNumber() as number) + } + const enterKeyType_result : number | undefined = enterKeyType_buf + const customKeyboard_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let customKeyboard_buf : CustomBuilder | undefined + if ((RuntimeType.UNDEFINED) != (customKeyboard_buf_runtimeType)) + { + customKeyboard_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + } + const customKeyboard_result : CustomBuilder | undefined = customKeyboard_buf + let value : WebKeyboardOptions = ({useSystemKeyboard: useSystemKeyboard_result, enterKeyType: enterKeyType_result, customKeyboard: customKeyboard_result} as WebKeyboardOptions) + return value + } + readWebKeyboardCallbackInfo(): WebKeyboardCallbackInfo { + let valueDeserializer : Deserializer = this + const controller_result : WebKeyboardController = (valueDeserializer.readWebKeyboardController() as WebKeyboardController) + const attributes_buf_size : int32 = valueDeserializer.readInt32() + let attributes_buf : Map = new Map() + // TODO: TS map resize + for (let attributes_buf_i = 0; attributes_buf_i < attributes_buf_size; attributes_buf_i++) { + const attributes_buf_key : string = (valueDeserializer.readString() as string) + const attributes_buf_value : string = (valueDeserializer.readString() as string) + attributes_buf.set(attributes_buf_key, attributes_buf_value) + } + const attributes_result : Map = attributes_buf + let value : WebKeyboardCallbackInfo = ({controller: controller_result, attributes: attributes_result} as WebKeyboardCallbackInfo) + return value + } + readWebKeyboardCallback(isSync: boolean = false): WebKeyboardCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (keyboardCallbackInfo: WebKeyboardCallbackInfo):WebKeyboardOptions => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeWebKeyboardCallbackInfo(keyboardCallbackInfo); + let _continuationValue : WebKeyboardOptions | undefined; + const _continuationCallback : ((value: WebKeyboardOptions) => void) = (value: WebKeyboardOptions):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1829763354, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1829763354, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as WebKeyboardOptions); } + } + readAdsBlockedDetails(): AdsBlockedDetails { + let valueDeserializer : Deserializer = this + const url_result : string = (valueDeserializer.readString() as string) + const adsBlocked_buf_length : int32 = valueDeserializer.readInt32() + let adsBlocked_buf : Array = new Array(adsBlocked_buf_length) + for (let adsBlocked_buf_i = 0; adsBlocked_buf_i < adsBlocked_buf_length; adsBlocked_buf_i++) { + adsBlocked_buf[adsBlocked_buf_i] = (valueDeserializer.readString() as string) + } + const adsBlocked_result : Array = adsBlocked_buf + let value : AdsBlockedDetails = ({url: url_result, adsBlocked: adsBlocked_result} as AdsBlockedDetails) + return value + } + readOnAdsBlockedCallback(isSync: boolean = false): OnAdsBlockedCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (details: AdsBlockedDetails):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeAdsBlockedDetails(details); + (isSync) ? (InteropNativeModule._CallCallbackSync(1572284740, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1572284740, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnViewportFitChangedCallback(isSync: boolean = false): OnViewportFitChangedCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (viewportFit: ViewportFit):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(viewportFit.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(1847083191, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1847083191, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnRenderProcessRespondingCallback(isSync: boolean = false): OnRenderProcessRespondingCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return ():void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + (isSync) ? (InteropNativeModule._CallCallbackSync(1334389194, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1334389194, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readRenderProcessNotRespondingData(): RenderProcessNotRespondingData { + let valueDeserializer : Deserializer = this + const jsStack_result : string = (valueDeserializer.readString() as string) + const pid_result : number = (valueDeserializer.readNumber() as number) + const reason_result : RenderProcessNotRespondingReason = (valueDeserializer.readInt32() as RenderProcessNotRespondingReason) + let value : RenderProcessNotRespondingData = ({jsStack: jsStack_result, pid: pid_result, reason: reason_result} as RenderProcessNotRespondingData) + return value + } + readOnRenderProcessNotRespondingCallback(isSync: boolean = false): OnRenderProcessNotRespondingCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (data: RenderProcessNotRespondingData):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeRenderProcessNotRespondingData(data); + (isSync) ? (InteropNativeModule._CallCallbackSync(47282303, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(47282303, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readNativeEmbedVisibilityInfo(): NativeEmbedVisibilityInfo { + let valueDeserializer : Deserializer = this + const visibility_result : boolean = valueDeserializer.readBoolean() + const embedId_result : string = (valueDeserializer.readString() as string) + let value : NativeEmbedVisibilityInfo = ({visibility: visibility_result, embedId: embedId_result} as NativeEmbedVisibilityInfo) + return value + } + readOnNativeEmbedVisibilityChangeCallback(isSync: boolean = false): OnNativeEmbedVisibilityChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (nativeEmbedVisibilityInfo: NativeEmbedVisibilityInfo):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNativeEmbedVisibilityInfo(nativeEmbedVisibilityInfo); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1641338704, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1641338704, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readIntelligentTrackingPreventionDetails(): IntelligentTrackingPreventionDetails { + let valueDeserializer : Deserializer = this + const host_result : string = (valueDeserializer.readString() as string) + const trackerHost_result : string = (valueDeserializer.readString() as string) + let value : IntelligentTrackingPreventionDetails = ({host: host_result, trackerHost: trackerHost_result} as IntelligentTrackingPreventionDetails) + return value + } + readOnIntelligentTrackingPreventionCallback(isSync: boolean = false): OnIntelligentTrackingPreventionCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (details: IntelligentTrackingPreventionDetails):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeIntelligentTrackingPreventionDetails(details); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1377876844, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1377876844, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnOverrideUrlLoadingCallback(isSync: boolean = false): OnOverrideUrlLoadingCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (webResourceRequest: WebResourceRequest):boolean => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeWebResourceRequest(webResourceRequest); + let _continuationValue : boolean | undefined; + const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(865258467, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(865258467, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + readFirstMeaningfulPaint(): FirstMeaningfulPaint { + let valueDeserializer : Deserializer = this + const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let navigationStartTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (navigationStartTime_buf_runtimeType)) + { + navigationStartTime_buf = (valueDeserializer.readNumber() as number) + } + const navigationStartTime_result : number | undefined = navigationStartTime_buf + const firstMeaningfulPaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let firstMeaningfulPaintTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (firstMeaningfulPaintTime_buf_runtimeType)) + { + firstMeaningfulPaintTime_buf = (valueDeserializer.readNumber() as number) + } + const firstMeaningfulPaintTime_result : number | undefined = firstMeaningfulPaintTime_buf + let value : FirstMeaningfulPaint = ({navigationStartTime: navigationStartTime_result, firstMeaningfulPaintTime: firstMeaningfulPaintTime_result} as FirstMeaningfulPaint) + return value + } + readOnFirstMeaningfulPaintCallback(isSync: boolean = false): OnFirstMeaningfulPaintCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (firstMeaningfulPaint: FirstMeaningfulPaint):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeFirstMeaningfulPaint(firstMeaningfulPaint); + (isSync) ? (InteropNativeModule._CallCallbackSync(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readLargestContentfulPaint(): LargestContentfulPaint { + let valueDeserializer : Deserializer = this + const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let navigationStartTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (navigationStartTime_buf_runtimeType)) + { + navigationStartTime_buf = (valueDeserializer.readNumber() as number) + } + const navigationStartTime_result : number | undefined = navigationStartTime_buf + const largestImagePaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let largestImagePaintTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (largestImagePaintTime_buf_runtimeType)) + { + largestImagePaintTime_buf = (valueDeserializer.readNumber() as number) + } + const largestImagePaintTime_result : number | undefined = largestImagePaintTime_buf + const largestTextPaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let largestTextPaintTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (largestTextPaintTime_buf_runtimeType)) + { + largestTextPaintTime_buf = (valueDeserializer.readNumber() as number) + } + const largestTextPaintTime_result : number | undefined = largestTextPaintTime_buf + const imageBPP_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let imageBPP_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (imageBPP_buf_runtimeType)) + { + imageBPP_buf = (valueDeserializer.readNumber() as number) + } + const imageBPP_result : number | undefined = imageBPP_buf + const largestImageLoadStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let largestImageLoadStartTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (largestImageLoadStartTime_buf_runtimeType)) + { + largestImageLoadStartTime_buf = (valueDeserializer.readNumber() as number) + } + const largestImageLoadStartTime_result : number | undefined = largestImageLoadStartTime_buf + const largestImageLoadEndTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let largestImageLoadEndTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (largestImageLoadEndTime_buf_runtimeType)) + { + largestImageLoadEndTime_buf = (valueDeserializer.readNumber() as number) + } + const largestImageLoadEndTime_result : number | undefined = largestImageLoadEndTime_buf + let value : LargestContentfulPaint = ({navigationStartTime: navigationStartTime_result, largestImagePaintTime: largestImagePaintTime_result, largestTextPaintTime: largestTextPaintTime_result, imageBPP: imageBPP_result, largestImageLoadStartTime: largestImageLoadStartTime_result, largestImageLoadEndTime: largestImageLoadEndTime_result} as LargestContentfulPaint) + return value + } + readOnLargestContentfulPaintCallback(isSync: boolean = false): OnLargestContentfulPaintCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (largestContentfulPaint: LargestContentfulPaint):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeOnProgressChangeEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(1018740377, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1018740377, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeLargestContentfulPaint(largestContentfulPaint); + (isSync) ? (InteropNativeModule._CallCallbackSync(1390640532, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1390640532, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readOnPageBeginEvent(): OnPageBeginEvent { + readSslErrorEvent(): SslErrorEvent { let valueDeserializer : Deserializer = this + const handler_result : SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) + const error_result : SslError = (valueDeserializer.readInt32() as SslError) const url_result : string = (valueDeserializer.readString() as string) - let value : OnPageBeginEvent = ({url: url_result} as OnPageBeginEvent) + const originalUrl_result : string = (valueDeserializer.readString() as string) + const referrer_result : string = (valueDeserializer.readString() as string) + const isFatalError_result : boolean = valueDeserializer.readBoolean() + const isMainFrame_result : boolean = valueDeserializer.readBoolean() + let value : SslErrorEvent = ({handler: handler_result, error: error_result, url: url_result, originalUrl: originalUrl_result, referrer: referrer_result, isFatalError: isFatalError_result, isMainFrame: isMainFrame_result} as SslErrorEvent) return value } - readCallback_OnPageBeginEvent_Void(isSync: boolean = false): ((parameter: OnPageBeginEvent) => void) { + readOnSslErrorEventCallback(isSync: boolean = false): OnSslErrorEventCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (parameter: OnPageBeginEvent):void => { + return (sslErrorEvent: SslErrorEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeOnPageBeginEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-2040193994, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2040193994, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeSslErrorEvent(sslErrorEvent); + (isSync) ? (InteropNativeModule._CallCallbackSync(-399603614, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-399603614, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readOnPageEndEvent(): OnPageEndEvent { + readLoadCommittedDetails(): LoadCommittedDetails { let valueDeserializer : Deserializer = this + const isMainFrame_result : boolean = valueDeserializer.readBoolean() + const isSameDocument_result : boolean = valueDeserializer.readBoolean() + const didReplaceEntry_result : boolean = valueDeserializer.readBoolean() + const navigationType_result : WebNavigationType = (valueDeserializer.readInt32() as WebNavigationType) const url_result : string = (valueDeserializer.readString() as string) - let value : OnPageEndEvent = ({url: url_result} as OnPageEndEvent) + let value : LoadCommittedDetails = ({isMainFrame: isMainFrame_result, isSameDocument: isSameDocument_result, didReplaceEntry: didReplaceEntry_result, navigationType: navigationType_result, url: url_result} as LoadCommittedDetails) return value } - readCallback_OnPageEndEvent_Void(isSync: boolean = false): ((parameter: OnPageEndEvent) => void) { + readOnNavigationEntryCommittedCallback(isSync: boolean = false): OnNavigationEntryCommittedCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (parameter: OnPageEndEvent):void => { + return (loadCommittedDetails: LoadCommittedDetails):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeOnPageEndEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-130135362, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-130135362, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeLoadCommittedDetails(loadCommittedDetails); + (isSync) ? (InteropNativeModule._CallCallbackSync(-398722176, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-398722176, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readWebMediaOptions(): WebMediaOptions { - let valueDeserializer : Deserializer = this - const resumeInterval_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let resumeInterval_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (resumeInterval_buf_runtimeType)) - { - resumeInterval_buf = (valueDeserializer.readNumber() as number) - } - const resumeInterval_result : number | undefined = resumeInterval_buf - const audioExclusive_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let audioExclusive_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (audioExclusive_buf_runtimeType)) - { - audioExclusive_buf = valueDeserializer.readBoolean() - } - const audioExclusive_result : boolean | undefined = audioExclusive_buf - let value : WebMediaOptions = ({resumeInterval: resumeInterval_result, audioExclusive: audioExclusive_result} as WebMediaOptions) - return value - } - readJavaScriptProxy(): JavaScriptProxy { - let valueDeserializer : Deserializer = this - const object__result : Object = (valueDeserializer.readCustomObject("Object") as Object) - const name_result : string = (valueDeserializer.readString() as string) - const methodList_buf_length : int32 = valueDeserializer.readInt32() - let methodList_buf : Array = new Array(methodList_buf_length) - for (let methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { - methodList_buf[methodList_buf_i] = (valueDeserializer.readString() as string) - } - const methodList_result : Array = methodList_buf - const controller_buf_selector : int32 = valueDeserializer.readInt8() - let controller_buf : WebController | WebviewController | undefined - if (controller_buf_selector == 0) { - controller_buf = (valueDeserializer.readWebController() as WebController) - } - else if (controller_buf_selector == 1) { - controller_buf = (valueDeserializer.readWebviewController() as WebviewController) - } - else { - throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") - } - const controller_result : WebController | WebviewController = (controller_buf as WebController | WebviewController) - const asyncMethodList_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let asyncMethodList_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (asyncMethodList_buf_runtimeType)) - { - const asyncMethodList_buf__length : int32 = valueDeserializer.readInt32() - let asyncMethodList_buf_ : Array = new Array(asyncMethodList_buf__length) - for (let asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { - asyncMethodList_buf_[asyncMethodList_buf__i] = (valueDeserializer.readString() as string) - } - asyncMethodList_buf = asyncMethodList_buf_ - } - const asyncMethodList_result : Array | undefined = asyncMethodList_buf - const permission_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let permission_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (permission_buf_runtimeType)) - { - permission_buf = (valueDeserializer.readString() as string) - } - const permission_result : string | undefined = permission_buf - let value : JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) - return value - } - readWebOptions(): WebOptions { - let valueDeserializer : Deserializer = this - const src_buf_selector : int32 = valueDeserializer.readInt8() - let src_buf : string | Resource | undefined - if (src_buf_selector == 0) { - src_buf = (valueDeserializer.readString() as string) - } - else if (src_buf_selector == 1) { - src_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for src_buf has to be chosen through deserialisation.") - } - const src_result : string | Resource = (src_buf as string | Resource) - const controller_buf_selector : int32 = valueDeserializer.readInt8() - let controller_buf : WebController | WebviewController | undefined - if (controller_buf_selector == 0) { - controller_buf = (valueDeserializer.readWebController() as WebController) - } - else if (controller_buf_selector == 1) { - controller_buf = (valueDeserializer.readWebviewController() as WebviewController) - } - else { - throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") - } - const controller_result : WebController | WebviewController = (controller_buf as WebController | WebviewController) - const renderMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let renderMode_buf : RenderMode | undefined - if ((RuntimeType.UNDEFINED) != (renderMode_buf_runtimeType)) - { - renderMode_buf = (valueDeserializer.readInt32() as RenderMode) - } - const renderMode_result : RenderMode | undefined = renderMode_buf - const incognitoMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let incognitoMode_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (incognitoMode_buf_runtimeType)) - { - incognitoMode_buf = valueDeserializer.readBoolean() - } - const incognitoMode_result : boolean | undefined = incognitoMode_buf - const sharedRenderProcessToken_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let sharedRenderProcessToken_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (sharedRenderProcessToken_buf_runtimeType)) - { - sharedRenderProcessToken_buf = (valueDeserializer.readString() as string) - } - const sharedRenderProcessToken_result : string | undefined = sharedRenderProcessToken_buf - let value : WebOptions = ({src: src_result, controller: controller_result, renderMode: renderMode_result, incognitoMode: incognitoMode_result, sharedRenderProcessToken: sharedRenderProcessToken_result} as WebOptions) - return value - } - readHeader(): Header { - let valueDeserializer : Deserializer = this - const headerKey_result : string = (valueDeserializer.readString() as string) - const headerValue_result : string = (valueDeserializer.readString() as string) - let value : Header = ({headerKey: headerKey_result, headerValue: headerValue_result} as Header) - return value - } readPlaybackInfo(): PlaybackInfo { let valueDeserializer : Deserializer = this const time_result : number = (valueDeserializer.readNumber() as number) @@ -15918,6 +15749,46 @@ export class Deserializer extends DeserializerBase { let value : VideoOptions = ({src: src_result, currentProgressRate: currentProgressRate_result, previewUri: previewUri_result, controller: controller_result, imageAIOptions: imageAIOptions_result} as VideoOptions) return value } + readWithThemeAttribute(): WithThemeAttribute { + let value : WithThemeAttribute = ({} as WithThemeAttribute) + return value + } + readWithThemeOptions(): WithThemeOptions { + let valueDeserializer : Deserializer = this + const theme_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let theme_buf : CustomTheme | undefined + if ((RuntimeType.UNDEFINED) != (theme_buf_runtimeType)) + { + theme_buf = valueDeserializer.readCustomTheme() + } + const theme_result : CustomTheme | undefined = theme_buf + const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorMode_buf : ThemeColorMode | undefined + if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) + { + colorMode_buf = (valueDeserializer.readInt32() as ThemeColorMode) + } + const colorMode_result : ThemeColorMode | undefined = colorMode_buf + let value : WithThemeOptions = ({theme: theme_result, colorMode: colorMode_result} as WithThemeOptions) + return value + } + readWithThemeInterface(isSync: boolean = false): WithThemeInterface { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (options: WithThemeOptions):WithThemeAttribute => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeWithThemeOptions(options); + let _continuationValue : WithThemeAttribute | undefined; + const _continuationCallback : ((value: WithThemeAttribute) => void) = (value: WithThemeAttribute):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(219587748, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(219587748, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as WithThemeAttribute); } + } readSwitchStyle(): SwitchStyle { let valueDeserializer : Deserializer = this const pointRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -16492,6 +16363,20 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + readCallback_EnterKeyType_Void(isSync: boolean = false): ((enterKey: EnterKeyType) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (enterKey: EnterKeyType):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(enterKey.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1802605016, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1802605016, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readTextAreaSubmitCallback(isSync: boolean = false): TextAreaSubmitCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -16513,20 +16398,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_EnterKeyType_Void(isSync: boolean = false): ((enterKey: EnterKeyType) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (enterKey: EnterKeyType):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(enterKey.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1802605016, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1802605016, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readTextAreaOptions(): TextAreaOptions { let valueDeserializer : Deserializer = this const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -16587,6 +16458,46 @@ export class Deserializer extends DeserializerBase { let value : TextOptions = ({controller: controller_result} as TextOptions) return value } + readBarGridColumnOptions(): BarGridColumnOptions { + let valueDeserializer : Deserializer = this + const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sm_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) + { + sm_buf = (valueDeserializer.readNumber() as number) + } + const sm_result : number | undefined = sm_buf + const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let md_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) + { + md_buf = (valueDeserializer.readNumber() as number) + } + const md_result : number | undefined = md_buf + const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lg_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) + { + lg_buf = (valueDeserializer.readNumber() as number) + } + const lg_result : number | undefined = lg_buf + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + { + margin_buf = (valueDeserializer.readLength() as Dimension) + } + const margin_result : Dimension | undefined = margin_buf + const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let gutter_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (gutter_buf_runtimeType)) + { + gutter_buf = (valueDeserializer.readLength() as Dimension) + } + const gutter_result : Dimension | undefined = gutter_buf + let value : BarGridColumnOptions = ({sm: sm_result, md: md_result, lg: lg_result, margin: margin_result, gutter: gutter_result} as BarGridColumnOptions) + return value + } readOnTabsContentWillChangeCallback(isSync: boolean = false): OnTabsContentWillChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -16628,46 +16539,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as TabContentAnimatedTransition | undefined); } } - readBarGridColumnOptions(): BarGridColumnOptions { - let valueDeserializer : Deserializer = this - const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let sm_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) - { - sm_buf = (valueDeserializer.readNumber() as number) - } - const sm_result : number | undefined = sm_buf - const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let md_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) - { - md_buf = (valueDeserializer.readNumber() as number) - } - const md_result : number | undefined = md_buf - const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lg_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) - { - lg_buf = (valueDeserializer.readNumber() as number) - } - const lg_result : number | undefined = lg_buf - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) - { - margin_buf = (valueDeserializer.readLength() as Dimension) - } - const margin_result : Dimension | undefined = margin_buf - const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let gutter_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (gutter_buf_runtimeType)) - { - gutter_buf = (valueDeserializer.readLength() as Dimension) - } - const gutter_result : Dimension | undefined = gutter_buf - let value : BarGridColumnOptions = ({sm: sm_result, md: md_result, lg: lg_result, margin: margin_result, gutter: gutter_result} as BarGridColumnOptions) - return value - } readOnTabsGestureSwipeCallback(isSync: boolean = false): OnTabsGestureSwipeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -16748,6 +16619,11 @@ export class Deserializer extends DeserializerBase { let value : TabsOptions = ({barPosition: barPosition_result, index: index_result, controller: controller_result} as TabsOptions) return value } + readPulseSymbolEffect(): PulseSymbolEffect { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return PulseSymbolEffectInternal.fromPtr(ptr) + } readBounceSymbolEffect(): BounceSymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -16803,6 +16679,11 @@ export class Deserializer extends DeserializerBase { let value : SwiperContentAnimatedTransition = ({timeout: timeout_result, transition: transition_result} as SwiperContentAnimatedTransition) return value } + readIndicatorComponentController(): IndicatorComponentController { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return IndicatorComponentControllerInternal.fromPtr(ptr) + } readOnSwiperGestureSwipeCallback(isSync: boolean = false): OnSwiperGestureSwipeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -16857,11 +16738,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readIndicatorComponentController(): IndicatorComponentController { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return IndicatorComponentControllerInternal.fromPtr(ptr) - } readSwiperController(): SwiperController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -16998,6 +16874,21 @@ export class Deserializer extends DeserializerBase { let value : SliderOptions = ({value: value_result, min: min_result, max: max_result, step: step_result, style: style_result, direction: direction_result, reverse: reverse_result} as SliderOptions) return value } + readSliderTriggerChangeCallback(isSync: boolean = false): SliderTriggerChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (value: number, mode: SliderChangeMode):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(value); + _argsSerializer.writeInt32(mode.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(711649376, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(711649376, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readViewportRect(): ViewportRect { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -17132,83 +17023,6 @@ export class Deserializer extends DeserializerBase { let value : SelectOption = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result} as SelectOption) return value } - readCallback_DeleteValue_Void(isSync: boolean = false): ((parameter: DeleteValue) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: DeleteValue):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeDeleteValue(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-126251459, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-126251459, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readDeleteValue(): DeleteValue { - let valueDeserializer : Deserializer = this - const deleteOffset_result : number = (valueDeserializer.readNumber() as number) - const direction_result : TextDeleteDirection = (valueDeserializer.readInt32() as TextDeleteDirection) - const deleteValue_result : string = (valueDeserializer.readString() as string) - let value : DeleteValue = ({deleteOffset: deleteOffset_result, direction: direction_result, deleteValue: deleteValue_result} as DeleteValue) - return value - } - readCallback_DeleteValue_Boolean(isSync: boolean = false): ((parameter: DeleteValue) => boolean) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: DeleteValue):boolean => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeDeleteValue(parameter); - let _continuationValue : boolean | undefined; - const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1357792883, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1357792883, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } - } - readCallback_InsertValue_Void(isSync: boolean = false): ((parameter: InsertValue) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: InsertValue):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInsertValue(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1121207885, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1121207885, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readInsertValue(): InsertValue { - let valueDeserializer : Deserializer = this - const insertOffset_result : number = (valueDeserializer.readNumber() as number) - const insertValue_result : string = (valueDeserializer.readString() as string) - let value : InsertValue = ({insertOffset: insertOffset_result, insertValue: insertValue_result} as InsertValue) - return value - } - readCallback_InsertValue_Boolean(isSync: boolean = false): ((parameter: InsertValue) => boolean) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: InsertValue):boolean => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInsertValue(parameter); - let _continuationValue : boolean | undefined; - const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-383025085, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-383025085, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } - } readTextDecorationOptions(): TextDecorationOptions { let valueDeserializer : Deserializer = this const type_result : TextDecorationType = (valueDeserializer.readInt32() as TextDecorationType) @@ -17312,27 +17126,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readSearchSubmitCallback(isSync: boolean = false): SearchSubmitCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (searchContent: string, event?: SubmitEvent | undefined):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(searchContent); - let event_type : int32 = RuntimeType.UNDEFINED; - event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); - if ((RuntimeType.UNDEFINED) != (event_type)) { - const event_value = event!; - _argsSerializer.writeSubmitEvent(event_value); - } - (isSync) ? (InteropNativeModule._CallCallbackSync(1717691617, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1717691617, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCaretStyle(): CaretStyle { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -17369,6 +17162,104 @@ export class Deserializer extends DeserializerBase { let value : CaretStyle = ({width: width_result, color: color_result} as CaretStyle) return value } + readCallback_DeleteValue_Void(isSync: boolean = false): ((parameter: DeleteValue) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: DeleteValue):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeDeleteValue(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-126251459, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-126251459, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readDeleteValue(): DeleteValue { + let valueDeserializer : Deserializer = this + const deleteOffset_result : number = (valueDeserializer.readNumber() as number) + const direction_result : TextDeleteDirection = (valueDeserializer.readInt32() as TextDeleteDirection) + const deleteValue_result : string = (valueDeserializer.readString() as string) + let value : DeleteValue = ({deleteOffset: deleteOffset_result, direction: direction_result, deleteValue: deleteValue_result} as DeleteValue) + return value + } + readCallback_DeleteValue_Boolean(isSync: boolean = false): ((parameter: DeleteValue) => boolean) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: DeleteValue):boolean => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeDeleteValue(parameter); + let _continuationValue : boolean | undefined; + const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1357792883, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1357792883, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + readCallback_InsertValue_Void(isSync: boolean = false): ((parameter: InsertValue) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: InsertValue):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInsertValue(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1121207885, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1121207885, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readInsertValue(): InsertValue { + let valueDeserializer : Deserializer = this + const insertOffset_result : number = (valueDeserializer.readNumber() as number) + const insertValue_result : string = (valueDeserializer.readString() as string) + let value : InsertValue = ({insertOffset: insertOffset_result, insertValue: insertValue_result} as InsertValue) + return value + } + readCallback_InsertValue_Boolean(isSync: boolean = false): ((parameter: InsertValue) => boolean) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: InsertValue):boolean => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInsertValue(parameter); + let _continuationValue : boolean | undefined; + const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-383025085, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-383025085, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + readSearchSubmitCallback(isSync: boolean = false): SearchSubmitCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (searchContent: string, event?: SubmitEvent | undefined):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeString(searchContent); + let event_type : int32 = RuntimeType.UNDEFINED; + event_type = runtimeType(event); + _argsSerializer.writeInt8(event_type as int32); + if ((RuntimeType.UNDEFINED) != (event_type)) { + const event_value = event!; + _argsSerializer.writeSubmitEvent(event_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(1717691617, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1717691617, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readSearchOptions(): SearchOptions { let valueDeserializer : Deserializer = this const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -17495,6 +17386,22 @@ export class Deserializer extends DeserializerBase { let value : ScrollSnapOptions = ({snapAlign: snapAlign_result, snapPagination: snapPagination_result, enableSnapToStart: enableSnapToStart_result, enableSnapToEnd: enableSnapToEnd_result} as ScrollSnapOptions) return value } + readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (xOffset: number, yOffset: number, scrollState: ScrollState):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(xOffset); + _argsSerializer.writeNumber(yOffset); + _argsSerializer.writeInt32(scrollState.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1265626662, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1265626662, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readOnScrollFrameBeginHandlerResult(): OnScrollFrameBeginHandlerResult { let valueDeserializer : Deserializer = this const offsetRemain_result : number = (valueDeserializer.readNumber() as number) @@ -17533,22 +17440,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (xOffset: number, yOffset: number, scrollState: ScrollState):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(xOffset); - _argsSerializer.writeNumber(yOffset); - _argsSerializer.writeInt32(scrollState.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1265626662, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1265626662, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCallback_ClickEvent_SaveButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent,result: SaveButtonOnClickResult) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -17634,99 +17525,6 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return EditMenuOptionsInternal.fromPtr(ptr) } - readCopyEvent(): CopyEvent { - let valueDeserializer : Deserializer = this - const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let preventDefault_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (preventDefault_buf_runtimeType)) - { - preventDefault_buf = valueDeserializer.readCallback_Void() - } - const preventDefault_result : (() => void) | undefined = preventDefault_buf - let value : CopyEvent = ({preventDefault: preventDefault_result} as CopyEvent) - return value - } - readCallback_CopyEvent_Void(isSync: boolean = false): ((parameter: CopyEvent) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: CopyEvent):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCopyEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCutEvent(): CutEvent { - let valueDeserializer : Deserializer = this - const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let preventDefault_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (preventDefault_buf_runtimeType)) - { - preventDefault_buf = valueDeserializer.readCallback_Void() - } - const preventDefault_result : (() => void) | undefined = preventDefault_buf - let value : CutEvent = ({preventDefault: preventDefault_result} as CutEvent) - return value - } - readCallback_CutEvent_Void(isSync: boolean = false): ((parameter: CutEvent) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: CutEvent):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCutEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1875695871, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1875695871, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readRichEditorChangeValue(): RichEditorChangeValue { - let valueDeserializer : Deserializer = this - const rangeBefore_result : TextRange = valueDeserializer.readTextRange() - const replacedSpans_buf_length : int32 = valueDeserializer.readInt32() - let replacedSpans_buf : Array = new Array(replacedSpans_buf_length) - for (let replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { - replacedSpans_buf[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() - } - const replacedSpans_result : Array = replacedSpans_buf - const replacedImageSpans_buf_length : int32 = valueDeserializer.readInt32() - let replacedImageSpans_buf : Array = new Array(replacedImageSpans_buf_length) - for (let replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { - replacedImageSpans_buf[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult() - } - const replacedImageSpans_result : Array = replacedImageSpans_buf - const replacedSymbolSpans_buf_length : int32 = valueDeserializer.readInt32() - let replacedSymbolSpans_buf : Array = new Array(replacedSymbolSpans_buf_length) - for (let replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { - replacedSymbolSpans_buf[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() - } - const replacedSymbolSpans_result : Array = replacedSymbolSpans_buf - let value : RichEditorChangeValue = ({rangeBefore: rangeBefore_result, replacedSpans: replacedSpans_result, replacedImageSpans: replacedImageSpans_result, replacedSymbolSpans: replacedSymbolSpans_result} as RichEditorChangeValue) - return value - } - readCallback_RichEditorChangeValue_Boolean(isSync: boolean = false): ((parameter: RichEditorChangeValue) => boolean) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: RichEditorChangeValue):boolean => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeRichEditorChangeValue(parameter); - let _continuationValue : boolean | undefined; - const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(1465860515, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1465860515, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } - } readSubmitEvent(): SubmitEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -17828,6 +17626,99 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + readCopyEvent(): CopyEvent { + let valueDeserializer : Deserializer = this + const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let preventDefault_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (preventDefault_buf_runtimeType)) + { + preventDefault_buf = valueDeserializer.readCallback_Void() + } + const preventDefault_result : (() => void) | undefined = preventDefault_buf + let value : CopyEvent = ({preventDefault: preventDefault_result} as CopyEvent) + return value + } + readCallback_CopyEvent_Void(isSync: boolean = false): ((parameter: CopyEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: CopyEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeCopyEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCutEvent(): CutEvent { + let valueDeserializer : Deserializer = this + const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let preventDefault_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (preventDefault_buf_runtimeType)) + { + preventDefault_buf = valueDeserializer.readCallback_Void() + } + const preventDefault_result : (() => void) | undefined = preventDefault_buf + let value : CutEvent = ({preventDefault: preventDefault_result} as CutEvent) + return value + } + readCallback_CutEvent_Void(isSync: boolean = false): ((parameter: CutEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: CutEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeCutEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1875695871, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1875695871, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readRichEditorChangeValue(): RichEditorChangeValue { + let valueDeserializer : Deserializer = this + const rangeBefore_result : TextRange = valueDeserializer.readTextRange() + const replacedSpans_buf_length : int32 = valueDeserializer.readInt32() + let replacedSpans_buf : Array = new Array(replacedSpans_buf_length) + for (let replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { + replacedSpans_buf[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() + } + const replacedSpans_result : Array = replacedSpans_buf + const replacedImageSpans_buf_length : int32 = valueDeserializer.readInt32() + let replacedImageSpans_buf : Array = new Array(replacedImageSpans_buf_length) + for (let replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { + replacedImageSpans_buf[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult() + } + const replacedImageSpans_result : Array = replacedImageSpans_buf + const replacedSymbolSpans_buf_length : int32 = valueDeserializer.readInt32() + let replacedSymbolSpans_buf : Array = new Array(replacedSymbolSpans_buf_length) + for (let replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { + replacedSymbolSpans_buf[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() + } + const replacedSymbolSpans_result : Array = replacedSymbolSpans_buf + let value : RichEditorChangeValue = ({rangeBefore: rangeBefore_result, replacedSpans: replacedSpans_result, replacedImageSpans: replacedImageSpans_result, replacedSymbolSpans: replacedSymbolSpans_result} as RichEditorChangeValue) + return value + } + readCallback_RichEditorChangeValue_Boolean(isSync: boolean = false): ((parameter: RichEditorChangeValue) => boolean) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: RichEditorChangeValue):boolean => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeRichEditorChangeValue(parameter); + let _continuationValue : boolean | undefined; + const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1465860515, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1465860515, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } readRichEditorDeleteValue(): RichEditorDeleteValue { let valueDeserializer : Deserializer = this const offset_result : number = (valueDeserializer.readNumber() as number) @@ -18348,6 +18239,13 @@ export class Deserializer extends DeserializerBase { let value : PolygonOptions = ({width: width_result, height: height_result} as PolygonOptions) return value } + readPluginComponentOptions(): PluginComponentOptions { + let valueDeserializer : Deserializer = this + const template_result : PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() + const data_result : string = (valueDeserializer.readString() as string) + let value : PluginComponentOptions = ({template: template_result, data: data_result} as PluginComponentOptions) + return value + } readPluginErrorData(): PluginErrorData { let valueDeserializer : Deserializer = this const errcode_result : number = (valueDeserializer.readNumber() as number) @@ -18364,17 +18262,10 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writePluginErrorData(info); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1992671958, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1992671958, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readPluginComponentOptions(): PluginComponentOptions { - let valueDeserializer : Deserializer = this - const template_result : PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() - const data_result : string = (valueDeserializer.readString() as string) - let value : PluginComponentOptions = ({template: template_result, data: data_result} as PluginComponentOptions) - return value + _argsSerializer.writePluginErrorData(info); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1992671958, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1992671958, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } } readCallback_Array_Number_Void(isSync: boolean = false): ((input: Array) => void) { const _resource : CallbackResource = this.readCallbackResource() @@ -18504,6 +18395,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (type: RouteType, progress: number):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(type.valueOf()); + _argsSerializer.writeNumber(progress); + (isSync) ? (InteropNativeModule._CallCallbackSync(1627123591, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1627123591, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readNodeController(): NodeController { let value : NodeController = ({} as NodeController) return value @@ -18513,6 +18419,68 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return NavigationTransitionProxyInternal.fromPtr(ptr) } + readType_NavigationAttribute_customNavContentTransition_delegate(isSync: boolean = false): ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation):NavigationAnimatedTransition | undefined => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNavContentInfo(from); + _argsSerializer.writeNavContentInfo(to); + _argsSerializer.writeInt32(operation.valueOf()); + let _continuationValue : NavigationAnimatedTransition | undefined; + const _continuationCallback : ((value: NavigationAnimatedTransition | undefined) => void) = (value?: NavigationAnimatedTransition | undefined):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1044833488, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1044833488, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as NavigationAnimatedTransition | undefined); } + } + readCallback_String_Unknown_Void(isSync: boolean = false): ((name: string,param: object) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (name: string, param: object):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeString(name); + _argsSerializer.writeCustomObject("Any", param); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_NavigationMode_Void(isSync: boolean = false): ((mode: NavigationMode) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (mode: NavigationMode):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(mode.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(960690982, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(960690982, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_NavigationTitleMode_Void(isSync: boolean = false): ((titleMode: NavigationTitleMode) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (titleMode: NavigationTitleMode):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(titleMode.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(1685437830, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1685437830, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readRouteInfo(): RouteInfo { let valueDeserializer : Deserializer = this const name_result : string = (valueDeserializer.readString() as string) @@ -18607,20 +18575,6 @@ export class Deserializer extends DeserializerBase { let value : ToolbarItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, action: action_result, status: status_result, activeIcon: activeIcon_result, activeSymbolIcon: activeSymbolIcon_result} as ToolbarItem) return value } - readCallback_NavDestinationContext_Void(isSync: boolean = false): ((parameter: NavDestinationContext) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: NavDestinationContext):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNavDestinationContext(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1642725259, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1642725259, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readNavigationMenuItem(): NavigationMenuItem { let valueDeserializer : Deserializer = this const value_buf_selector : int32 = valueDeserializer.readInt8() @@ -18677,6 +18631,20 @@ export class Deserializer extends DeserializerBase { let value : NavigationMenuItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, isEnabled: isEnabled_result, action: action_result} as NavigationMenuItem) return value } + readCallback_NavDestinationContext_Void(isSync: boolean = false): ((parameter: NavDestinationContext) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: NavDestinationContext):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNavDestinationContext(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1642725259, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1642725259, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readCallback_Boolean(isSync: boolean = false): (() => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -18957,6 +18925,48 @@ export class Deserializer extends DeserializerBase { let value : ListItemOptions = ({style: style_result} as ListItemOptions) return value } + readChainAnimationOptions(): ChainAnimationOptions { + let valueDeserializer : Deserializer = this + const minSpace_result : Length = (valueDeserializer.readLength() as Length) + const maxSpace_result : Length = (valueDeserializer.readLength() as Length) + const conductivity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let conductivity_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (conductivity_buf_runtimeType)) + { + conductivity_buf = (valueDeserializer.readNumber() as number) + } + const conductivity_result : number | undefined = conductivity_buf + const intensity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let intensity_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (intensity_buf_runtimeType)) + { + intensity_buf = (valueDeserializer.readNumber() as number) + } + const intensity_result : number | undefined = intensity_buf + const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let edgeEffect_buf : ChainEdgeEffect | undefined + if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) + { + edgeEffect_buf = (valueDeserializer.readInt32() as ChainEdgeEffect) + } + const edgeEffect_result : ChainEdgeEffect | undefined = edgeEffect_buf + const stiffness_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let stiffness_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (stiffness_buf_runtimeType)) + { + stiffness_buf = (valueDeserializer.readNumber() as number) + } + const stiffness_result : number | undefined = stiffness_buf + const damping_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let damping_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (damping_buf_runtimeType)) + { + damping_buf = (valueDeserializer.readNumber() as number) + } + const damping_result : number | undefined = damping_buf + let value : ChainAnimationOptions = ({minSpace: minSpace_result, maxSpace: maxSpace_result, conductivity: conductivity_result, intensity: intensity_result, edgeEffect: edgeEffect_result, stiffness: stiffness_result, damping: damping_result} as ChainAnimationOptions) + return value + } readCallback_Number_Number_Boolean(isSync: boolean = false): ((from: number,to: number) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -18992,21 +19002,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readOnScrollVisibleContentChangeCallback(isSync: boolean = false): OnScrollVisibleContentChangeCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (start: VisibleListContentInfo, end: VisibleListContentInfo):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeVisibleListContentInfo(start); - _argsSerializer.writeVisibleListContentInfo(end); - (isSync) ? (InteropNativeModule._CallCallbackSync(625641334, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(625641334, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCallback_Number_Number_Number_Void(isSync: boolean = false): ((start: number,end: number,center: number) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -19023,48 +19018,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readChainAnimationOptions(): ChainAnimationOptions { - let valueDeserializer : Deserializer = this - const minSpace_result : Length = (valueDeserializer.readLength() as Length) - const maxSpace_result : Length = (valueDeserializer.readLength() as Length) - const conductivity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let conductivity_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (conductivity_buf_runtimeType)) - { - conductivity_buf = (valueDeserializer.readNumber() as number) - } - const conductivity_result : number | undefined = conductivity_buf - const intensity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let intensity_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (intensity_buf_runtimeType)) - { - intensity_buf = (valueDeserializer.readNumber() as number) - } - const intensity_result : number | undefined = intensity_buf - const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let edgeEffect_buf : ChainEdgeEffect | undefined - if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) - { - edgeEffect_buf = (valueDeserializer.readInt32() as ChainEdgeEffect) - } - const edgeEffect_result : ChainEdgeEffect | undefined = edgeEffect_buf - const stiffness_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let stiffness_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (stiffness_buf_runtimeType)) - { - stiffness_buf = (valueDeserializer.readNumber() as number) - } - const stiffness_result : number | undefined = stiffness_buf - const damping_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let damping_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (damping_buf_runtimeType)) - { - damping_buf = (valueDeserializer.readNumber() as number) - } - const damping_result : number | undefined = damping_buf - let value : ChainAnimationOptions = ({minSpace: minSpace_result, maxSpace: maxSpace_result, conductivity: conductivity_result, intensity: intensity_result, edgeEffect: edgeEffect_result, stiffness: stiffness_result, damping: damping_result} as ChainAnimationOptions) - return value - } readListOptions(): ListOptions { let valueDeserializer : Deserializer = this const initialIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -19107,6 +19060,21 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return ListScrollerInternal.fromPtr(ptr) } + readOnScrollVisibleContentChangeCallback(isSync: boolean = false): OnScrollVisibleContentChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (start: VisibleListContentInfo, end: VisibleListContentInfo):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeVisibleListContentInfo(start); + _argsSerializer.writeVisibleListContentInfo(end); + (isSync) ? (InteropNativeModule._CallCallbackSync(625641334, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(625641334, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readLineOptions(): LineOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -19303,6 +19271,13 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + readImageSourceSize(): ImageSourceSize { + let valueDeserializer : Deserializer = this + const width_result : number = (valueDeserializer.readNumber() as number) + const height_result : number = (valueDeserializer.readNumber() as number) + let value : ImageSourceSize = ({width: width_result, height: height_result} as ImageSourceSize) + return value + } readCallback_Type_ImageAttribute_onComplete_callback_event_Void(isSync: boolean = false): ((event?: Type_ImageAttribute_onComplete_callback_event) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -19340,13 +19315,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readImageSourceSize(): ImageSourceSize { - let valueDeserializer : Deserializer = this - const width_result : number = (valueDeserializer.readNumber() as number) - const height_result : number = (valueDeserializer.readNumber() as number) - let value : ImageSourceSize = ({width: width_result, height: height_result} as ImageSourceSize) - return value - } readGridRowOptions(): GridRowOptions { let valueDeserializer : Deserializer = this const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20127,47 +20095,18 @@ export class Deserializer extends DeserializerBase { if ((RuntimeType.UNDEFINED) != (alignContent_buf_runtimeType)) { alignContent_buf = (valueDeserializer.readInt32() as FlexAlign) - } - const alignContent_result : FlexAlign | undefined = alignContent_buf - const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let space_buf : FlexSpaceOptions | undefined - if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) - { - space_buf = valueDeserializer.readFlexSpaceOptions() - } - const space_result : FlexSpaceOptions | undefined = space_buf - let value : FlexOptions = ({direction: direction_result, wrap: wrap_result, justifyContent: justifyContent_result, alignItems: alignItems_result, alignContent: alignContent_result, space: space_result} as FlexOptions) - return value - } - readBusinessError(): BusinessError { - let valueDeserializer : Deserializer = this - const name_result : string = (valueDeserializer.readString() as string) - const message_result : string = (valueDeserializer.readString() as string) - const stack_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let stack_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (stack_buf_runtimeType)) + } + const alignContent_result : FlexAlign | undefined = alignContent_buf + const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let space_buf : FlexSpaceOptions | undefined + if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) { - stack_buf = (valueDeserializer.readString() as string) + space_buf = valueDeserializer.readFlexSpaceOptions() } - const stack_result : string | undefined = stack_buf - const code_result : number = (valueDeserializer.readNumber() as number) - let value : BusinessError = ({name: name_result, message: message_result, stack: stack_result, code: code_result} as BusinessError) + const space_result : FlexSpaceOptions | undefined = space_buf + let value : FlexOptions = ({direction: direction_result, wrap: wrap_result, justifyContent: justifyContent_result, alignItems: alignItems_result, alignContent: alignContent_result, space: space_result} as FlexOptions) return value } - readErrorCallback(isSync: boolean = false): ErrorCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (err: BusinessError):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeBusinessError(err); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1936519453, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1936519453, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readTerminationInfo(): TerminationInfo { let valueDeserializer : Deserializer = this const code_result : number = (valueDeserializer.readNumber() as number) @@ -20961,6 +20900,36 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return ChildrenMainSizeInternal.fromPtr(ptr) } + readOnMoveHandler(isSync: boolean = false): OnMoveHandler { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (from: number, to: number):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(from); + _argsSerializer.writeNumber(to); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1200281222, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1200281222, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnScrollCallback(isSync: boolean = false): OnScrollCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (scrollOffset: number, scrollState: ScrollState):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(scrollOffset); + _argsSerializer.writeInt32(scrollState.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(-160015401, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-160015401, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readCallback_Number_Number_Void(isSync: boolean = false): ((first: number,last: number) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -20991,32 +20960,6 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return MeasurableInternal.fromPtr(ptr) } - readSpringBackAction(): SpringBackAction { - let valueDeserializer : Deserializer = this - const springBack_result : (() => void) = valueDeserializer.readCallback_Void() - let value : SpringBackAction = ({springBack: springBack_result} as SpringBackAction) - return value - } - readDismissSheetAction(): DismissSheetAction { - let valueDeserializer : Deserializer = this - const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() - const reason_result : DismissReason = (valueDeserializer.readInt32() as DismissReason) - let value : DismissSheetAction = ({dismiss: dismiss_result, reason: reason_result} as DismissSheetAction) - return value - } - readSheetDismiss(): SheetDismiss { - let valueDeserializer : Deserializer = this - const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() - let value : SheetDismiss = ({dismiss: dismiss_result} as SheetDismiss) - return value - } - readDismissContentCoverAction(): DismissContentCoverAction { - let valueDeserializer : Deserializer = this - const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() - const reason_result : DismissReason = (valueDeserializer.readInt32() as DismissReason) - let value : DismissContentCoverAction = ({dismiss: dismiss_result, reason: reason_result} as DismissContentCoverAction) - return value - } readMenuElement(): MenuElement { let valueDeserializer : Deserializer = this const value_buf_selector : int32 = valueDeserializer.readInt8() @@ -21067,106 +21010,6 @@ export class Deserializer extends DeserializerBase { let value : MenuElement = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, enabled: enabled_result, action: action_result} as MenuElement) return value } - readDismissPopupAction(): DismissPopupAction { - let valueDeserializer : Deserializer = this - const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() - const reason_result : DismissReason = (valueDeserializer.readInt32() as DismissReason) - let value : DismissPopupAction = ({dismiss: dismiss_result, reason: reason_result} as DismissPopupAction) - return value - } - readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: TouchEvent):HitTestMode => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeTouchEvent(parameter); - let _continuationValue : HitTestMode | undefined; - const _continuationCallback : ((value: HitTestMode) => void) = (value: HitTestMode):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-274419246, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-274419246, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as HitTestMode); } - } - readShouldBuiltInRecognizerParallelWithCallback(isSync: boolean = false): ShouldBuiltInRecognizerParallelWithCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (current: GestureRecognizer, others: Array):GestureRecognizer => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeGestureRecognizer(current); - _argsSerializer.writeInt32(others.length as int32); - for (let i = 0; i < others.length; i++) { - const others_element : GestureRecognizer = others[i]; - _argsSerializer.writeGestureRecognizer(others_element); - } - let _continuationValue : GestureRecognizer | undefined; - const _continuationCallback : ((value: GestureRecognizer) => void) = (value: GestureRecognizer):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-250780276, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-250780276, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as GestureRecognizer); } - } - readGestureRecognizer(): GestureRecognizer { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return GestureRecognizerInternal.fromPtr(ptr) - } - readFingerInfo(): FingerInfo { - let valueDeserializer : Deserializer = this - const id_result : number = (valueDeserializer.readNumber() as number) - const globalX_result : number = (valueDeserializer.readNumber() as number) - const globalY_result : number = (valueDeserializer.readNumber() as number) - const localX_result : number = (valueDeserializer.readNumber() as number) - const localY_result : number = (valueDeserializer.readNumber() as number) - const displayX_result : number = (valueDeserializer.readNumber() as number) - const displayY_result : number = (valueDeserializer.readNumber() as number) - let value : FingerInfo = ({id: id_result, globalX: globalX_result, globalY: globalY_result, localX: localX_result, localY: localY_result, displayX: displayX_result, displayY: displayY_result} as FingerInfo) - return value - } - readBaseGestureEvent(): BaseGestureEvent { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return BaseGestureEventInternal.fromPtr(ptr) - } - readGestureInfo(): GestureInfo { - let valueDeserializer : Deserializer = this - const tag_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let tag_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (tag_buf_runtimeType)) - { - tag_buf = (valueDeserializer.readString() as string) - } - const tag_result : string | undefined = tag_buf - const type_result : GestureControl.GestureType = (valueDeserializer.readInt32() as GestureControl.GestureType) - const isSystemGesture_result : boolean = valueDeserializer.readBoolean() - let value : GestureInfo = ({tag: tag_result, type: type_result, isSystemGesture: isSystemGesture_result} as GestureInfo) - return value - } - readCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(isSync: boolean = false): ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (gestureInfo: GestureInfo, event: BaseGestureEvent):GestureJudgeResult => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeGestureInfo(gestureInfo); - _argsSerializer.writeBaseGestureEvent(event); - let _continuationValue : GestureJudgeResult | undefined; - const _continuationCallback : ((value: GestureJudgeResult) => void) = (value: GestureJudgeResult):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(1319043556, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1319043556, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as GestureJudgeResult); } - } readBackgroundBrightnessOptions(): BackgroundBrightnessOptions { let valueDeserializer : Deserializer = this const rate_result : number = (valueDeserializer.readNumber() as number) @@ -21259,71 +21102,12 @@ export class Deserializer extends DeserializerBase { let value : StateStyles = ({normal: normal_result, pressed: pressed_result, disabled: disabled_result, focused: focused_result, clicked: clicked_result, selected: selected_result} as StateStyles) return value } - readCallback_PreDragStatus_Void(isSync: boolean = false): ((parameter: PreDragStatus) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: PreDragStatus):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(parameter.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(463894668, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(463894668, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readUniformDataType(): UniformDataType { let valueDeserializer : Deserializer = this const _UniformDataTypeStub_result : string = (valueDeserializer.readString() as string) let value : UniformDataType = ({_UniformDataTypeStub: _UniformDataTypeStub_result} as UniformDataType) return value } - readCallback_DragEvent_String_Void(isSync: boolean = false): ((event: DragEvent,extraParams?: string) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: DragEvent, extraParams?: string | undefined):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeDragEvent(event); - let extraParams_type : int32 = RuntimeType.UNDEFINED; - extraParams_type = runtimeType(extraParams); - _argsSerializer.writeInt8(extraParams_type as int32); - if ((RuntimeType.UNDEFINED) != (extraParams_type)) { - const extraParams_value = extraParams!; - _argsSerializer.writeString(extraParams_value); - } - (isSync) ? (InteropNativeModule._CallCallbackSync(-17167687, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-17167687, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: DragEvent, extraParams?: string | undefined):CustomBuilder | DragItemInfo => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeDragEvent(event); - let extraParams_type : int32 = RuntimeType.UNDEFINED; - extraParams_type = runtimeType(extraParams); - _argsSerializer.writeInt8(extraParams_type as int32); - if ((RuntimeType.UNDEFINED) != (extraParams_type)) { - const extraParams_value = extraParams!; - _argsSerializer.writeString(extraParams_value); - } - let _continuationValue : CustomBuilder | DragItemInfo | undefined; - const _continuationCallback : ((value: CustomBuilder | DragItemInfo) => void) = (value: CustomBuilder | DragItemInfo):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(480978023, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(480978023, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as CustomBuilder | DragItemInfo); } - } readLocalizedAlignRuleOptions(): LocalizedAlignRuleOptions { let valueDeserializer : Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -21444,21 +21228,6 @@ export class Deserializer extends DeserializerBase { let value : AlignRuleOption = ({left: left_result, right: right_result, middle: middle_result, top: top_result, bottom: bottom_result, center: center_result, bias: bias_result} as AlignRuleOption) return value } - readCallback_Area_Area_Void(isSync: boolean = false): ((oldValue: Area,newValue: Area) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (oldValue: Area, newValue: Area):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeArea(oldValue); - _argsSerializer.writeArea(newValue); - (isSync) ? (InteropNativeModule._CallCallbackSync(-2024393616, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2024393616, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readMotionBlurOptions(): MotionBlurOptions { let valueDeserializer : Deserializer = this const radius_result : number = (valueDeserializer.readNumber() as number) @@ -21492,23 +21261,6 @@ export class Deserializer extends DeserializerBase { let value : FocusBoxStyle = ({margin: margin_result, strokeColor: strokeColor_result, strokeWidth: strokeWidth_result} as FocusBoxStyle) return value } - readCallback_KeyEvent_Boolean(isSync: boolean = false): ((parameter: KeyEvent) => boolean) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (parameter: KeyEvent):boolean => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeKeyEvent(parameter); - let _continuationValue : boolean | undefined; - const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-2061548092, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2061548092, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } - } readAccessibilityCallback(isSync: boolean = false): AccessibilityCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -21524,21 +21276,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean,event: HoverEvent) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (isHover: boolean, event: HoverEvent):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeBoolean(isHover); - _argsSerializer.writeHoverEvent(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(-916602978, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-916602978, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOutlineOptions(): OutlineOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -22590,6 +22327,161 @@ export class Deserializer extends DeserializerBase { let value : ChainWeightOptions = ({horizontal: horizontal_result, vertical: vertical_result} as ChainWeightOptions) return value } + readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: TouchEvent):HitTestMode => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeTouchEvent(parameter); + let _continuationValue : HitTestMode | undefined; + const _continuationCallback : ((value: HitTestMode) => void) = (value: HitTestMode):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-274419246, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-274419246, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as HitTestMode); } + } + readGestureInfo(): GestureInfo { + let valueDeserializer : Deserializer = this + const tag_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let tag_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (tag_buf_runtimeType)) + { + tag_buf = (valueDeserializer.readString() as string) + } + const tag_result : string | undefined = tag_buf + const type_result : GestureControl.GestureType = (valueDeserializer.readInt32() as GestureControl.GestureType) + const isSystemGesture_result : boolean = valueDeserializer.readBoolean() + let value : GestureInfo = ({tag: tag_result, type: type_result, isSystemGesture: isSystemGesture_result} as GestureInfo) + return value + } + readCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(isSync: boolean = false): ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (gestureInfo: GestureInfo, event: BaseGestureEvent):GestureJudgeResult => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeGestureInfo(gestureInfo); + _argsSerializer.writeBaseGestureEvent(event); + let _continuationValue : GestureJudgeResult | undefined; + const _continuationCallback : ((value: GestureJudgeResult) => void) = (value: GestureJudgeResult):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1319043556, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1319043556, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as GestureJudgeResult); } + } + readCallback_PreDragStatus_Void(isSync: boolean = false): ((parameter: PreDragStatus) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: PreDragStatus):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(parameter.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(463894668, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(463894668, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_DragEvent_String_Void(isSync: boolean = false): ((event: DragEvent,extraParams?: string) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: DragEvent, extraParams?: string | undefined):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeDragEvent(event); + let extraParams_type : int32 = RuntimeType.UNDEFINED; + extraParams_type = runtimeType(extraParams); + _argsSerializer.writeInt8(extraParams_type as int32); + if ((RuntimeType.UNDEFINED) != (extraParams_type)) { + const extraParams_value = extraParams!; + _argsSerializer.writeString(extraParams_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-17167687, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-17167687, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: DragEvent, extraParams?: string | undefined):CustomBuilder | DragItemInfo => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeDragEvent(event); + let extraParams_type : int32 = RuntimeType.UNDEFINED; + extraParams_type = runtimeType(extraParams); + _argsSerializer.writeInt8(extraParams_type as int32); + if ((RuntimeType.UNDEFINED) != (extraParams_type)) { + const extraParams_value = extraParams!; + _argsSerializer.writeString(extraParams_value); + } + let _continuationValue : CustomBuilder | DragItemInfo | undefined; + const _continuationCallback : ((value: CustomBuilder | DragItemInfo) => void) = (value: CustomBuilder | DragItemInfo):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(480978023, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(480978023, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as CustomBuilder | DragItemInfo); } + } + readCallback_Area_Area_Void(isSync: boolean = false): ((oldValue: Area,newValue: Area) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (oldValue: Area, newValue: Area):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeArea(oldValue); + _argsSerializer.writeArea(newValue); + (isSync) ? (InteropNativeModule._CallCallbackSync(-2024393616, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2024393616, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_KeyEvent_Boolean(isSync: boolean = false): ((parameter: KeyEvent) => boolean) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: KeyEvent):boolean => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeKeyEvent(parameter); + let _continuationValue : boolean | undefined; + const _continuationCallback : ((parameter: boolean) => void) = (value: boolean):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-2061548092, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2061548092, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean,event: HoverEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (isHover: boolean, event: HoverEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(isHover); + _argsSerializer.writeHoverEvent(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-916602978, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-916602978, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readTouchResult(): TouchResult { let valueDeserializer : Deserializer = this const strategy_result : TouchTestStrategy = (valueDeserializer.readInt32() as TouchTestStrategy) @@ -22630,27 +22522,104 @@ export class Deserializer extends DeserializerBase { const value_element : TouchTestInfo = value[i]; _argsSerializer.writeTouchTestInfo(value_element); } - let _continuationValue : TouchResult | undefined; - const _continuationCallback : ((value: TouchResult) => void) = (value: TouchResult):void => { _continuationValue = value; } + let _continuationValue : TouchResult | undefined; + const _continuationCallback : ((value: TouchResult) => void) = (value: TouchResult):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-547276916, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-547276916, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as TouchResult); } + } + readDismissPopupAction(): DismissPopupAction { + let valueDeserializer : Deserializer = this + const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() + const reason_result : DismissReason = (valueDeserializer.readInt32() as DismissReason) + let value : DismissPopupAction = ({dismiss: dismiss_result, reason: reason_result} as DismissPopupAction) + return value + } + readSpringBackAction(): SpringBackAction { + let valueDeserializer : Deserializer = this + const springBack_result : (() => void) = valueDeserializer.readCallback_Void() + let value : SpringBackAction = ({springBack: springBack_result} as SpringBackAction) + return value + } + readDismissSheetAction(): DismissSheetAction { + let valueDeserializer : Deserializer = this + const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() + const reason_result : DismissReason = (valueDeserializer.readInt32() as DismissReason) + let value : DismissSheetAction = ({dismiss: dismiss_result, reason: reason_result} as DismissSheetAction) + return value + } + readSheetDismiss(): SheetDismiss { + let valueDeserializer : Deserializer = this + const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() + let value : SheetDismiss = ({dismiss: dismiss_result} as SheetDismiss) + return value + } + readDismissContentCoverAction(): DismissContentCoverAction { + let valueDeserializer : Deserializer = this + const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() + const reason_result : DismissReason = (valueDeserializer.readInt32() as DismissReason) + let value : DismissContentCoverAction = ({dismiss: dismiss_result, reason: reason_result} as DismissContentCoverAction) + return value + } + readKeyEvent(): KeyEvent { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return KeyEventInternal.fromPtr(ptr) + } + readDragEvent(): DragEvent { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return DragEventInternal.fromPtr(ptr) + } + readPixelMapMock(): PixelMapMock { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return PixelMapMockInternal.fromPtr(ptr) + } + readShouldBuiltInRecognizerParallelWithCallback(isSync: boolean = false): ShouldBuiltInRecognizerParallelWithCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (current: GestureRecognizer, others: Array):GestureRecognizer => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeGestureRecognizer(current); + _argsSerializer.writeInt32(others.length as int32); + for (let i = 0; i < others.length; i++) { + const others_element : GestureRecognizer = others[i]; + _argsSerializer.writeGestureRecognizer(others_element); + } + let _continuationValue : GestureRecognizer | undefined; + const _continuationCallback : ((value: GestureRecognizer) => void) = (value: GestureRecognizer):void => { _continuationValue = value; } _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-547276916, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-547276916, _argsSerializer.asBuffer(), _argsSerializer.length())); + (isSync) ? (InteropNativeModule._CallCallbackSync(-250780276, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-250780276, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); - return (_continuationValue as TouchResult); } + return (_continuationValue as GestureRecognizer); } } - readKeyEvent(): KeyEvent { + readGestureRecognizer(): GestureRecognizer { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() - return KeyEventInternal.fromPtr(ptr) + return GestureRecognizerInternal.fromPtr(ptr) } - readDragEvent(): DragEvent { + readFingerInfo(): FingerInfo { let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return DragEventInternal.fromPtr(ptr) + const id_result : number = (valueDeserializer.readNumber() as number) + const globalX_result : number = (valueDeserializer.readNumber() as number) + const globalY_result : number = (valueDeserializer.readNumber() as number) + const localX_result : number = (valueDeserializer.readNumber() as number) + const localY_result : number = (valueDeserializer.readNumber() as number) + const displayX_result : number = (valueDeserializer.readNumber() as number) + const displayY_result : number = (valueDeserializer.readNumber() as number) + let value : FingerInfo = ({id: id_result, globalX: globalX_result, globalY: globalY_result, localX: localX_result, localY: localY_result, displayX: displayX_result, displayY: displayY_result} as FingerInfo) + return value } - readPixelMapMock(): PixelMapMock { + readBaseGestureEvent(): BaseGestureEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() - return PixelMapMockInternal.fromPtr(ptr) + return BaseGestureEventInternal.fromPtr(ptr) } readHistoricalPoint(): HistoricalPoint { let valueDeserializer : Deserializer = this @@ -22809,20 +22778,6 @@ export class Deserializer extends DeserializerBase { let value : CheckboxGroupOptions = ({group: group_result} as CheckboxGroupOptions) return value } - readOnCheckboxChangeCallback(isSync: boolean = false): OnCheckboxChangeCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (value: boolean):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeBoolean(value); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1198592337, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1198592337, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readMarkStyle(): MarkStyle { let valueDeserializer : Deserializer = this const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -22866,6 +22821,20 @@ export class Deserializer extends DeserializerBase { let value : MarkStyle = ({strokeColor: strokeColor_result, size: size_result, strokeWidth: strokeWidth_result} as MarkStyle) return value } + readOnCheckboxChangeCallback(isSync: boolean = false): OnCheckboxChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (value: boolean):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1198592337, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1198592337, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readCheckboxOptions(): CheckboxOptions { let valueDeserializer : Deserializer = this const name_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -22943,52 +22912,6 @@ export class Deserializer extends DeserializerBase { let value : CalendarOptions = ({hintRadius: hintRadius_result, selected: selected_result} as CalendarOptions) return value } - readCalendarRequestedData(): CalendarRequestedData { - let valueDeserializer : Deserializer = this - const year_result : number = (valueDeserializer.readNumber() as number) - const month_result : number = (valueDeserializer.readNumber() as number) - const currentYear_result : number = (valueDeserializer.readNumber() as number) - const currentMonth_result : number = (valueDeserializer.readNumber() as number) - const monthState_result : number = (valueDeserializer.readNumber() as number) - let value : CalendarRequestedData = ({year: year_result, month: month_result, currentYear: currentYear_result, currentMonth: currentMonth_result, monthState: monthState_result} as CalendarRequestedData) - return value - } - readCallback_CalendarRequestedData_Void(isSync: boolean = false): ((event: CalendarRequestedData) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: CalendarRequestedData):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCalendarRequestedData(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCalendarSelectedDate(): CalendarSelectedDate { - let valueDeserializer : Deserializer = this - const year_result : number = (valueDeserializer.readNumber() as number) - const month_result : number = (valueDeserializer.readNumber() as number) - const day_result : number = (valueDeserializer.readNumber() as number) - let value : CalendarSelectedDate = ({year: year_result, month: month_result, day: day_result} as CalendarSelectedDate) - return value - } - readCallback_CalendarSelectedDate_Void(isSync: boolean = false): ((event: CalendarSelectedDate) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: CalendarSelectedDate):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCalendarSelectedDate(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readWorkStateStyle(): WorkStateStyle { let valueDeserializer : Deserializer = this const workDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -23584,6 +23507,52 @@ export class Deserializer extends DeserializerBase { let value : CurrentDayStyle = ({dayColor: dayColor_result, lunarColor: lunarColor_result, markLunarColor: markLunarColor_result, dayFontSize: dayFontSize_result, lunarDayFontSize: lunarDayFontSize_result, dayHeight: dayHeight_result, dayWidth: dayWidth_result, gregorianCalendarHeight: gregorianCalendarHeight_result, dayYAxisOffset: dayYAxisOffset_result, lunarDayYAxisOffset: lunarDayYAxisOffset_result, underscoreXAxisOffset: underscoreXAxisOffset_result, underscoreYAxisOffset: underscoreYAxisOffset_result, scheduleMarkerXAxisOffset: scheduleMarkerXAxisOffset_result, scheduleMarkerYAxisOffset: scheduleMarkerYAxisOffset_result, colSpace: colSpace_result, dailyFiveRowSpace: dailyFiveRowSpace_result, dailySixRowSpace: dailySixRowSpace_result, lunarHeight: lunarHeight_result, underscoreWidth: underscoreWidth_result, underscoreLength: underscoreLength_result, scheduleMarkerRadius: scheduleMarkerRadius_result, boundaryRowOffset: boundaryRowOffset_result, boundaryColOffset: boundaryColOffset_result} as CurrentDayStyle) return value } + readCalendarRequestedData(): CalendarRequestedData { + let valueDeserializer : Deserializer = this + const year_result : number = (valueDeserializer.readNumber() as number) + const month_result : number = (valueDeserializer.readNumber() as number) + const currentYear_result : number = (valueDeserializer.readNumber() as number) + const currentMonth_result : number = (valueDeserializer.readNumber() as number) + const monthState_result : number = (valueDeserializer.readNumber() as number) + let value : CalendarRequestedData = ({year: year_result, month: month_result, currentYear: currentYear_result, currentMonth: currentMonth_result, monthState: monthState_result} as CalendarRequestedData) + return value + } + readCallback_CalendarRequestedData_Void(isSync: boolean = false): ((event: CalendarRequestedData) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: CalendarRequestedData):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeCalendarRequestedData(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCalendarSelectedDate(): CalendarSelectedDate { + let valueDeserializer : Deserializer = this + const year_result : number = (valueDeserializer.readNumber() as number) + const month_result : number = (valueDeserializer.readNumber() as number) + const day_result : number = (valueDeserializer.readNumber() as number) + let value : CalendarSelectedDate = ({year: year_result, month: month_result, day: day_result} as CalendarSelectedDate) + return value + } + readCallback_CalendarSelectedDate_Void(isSync: boolean = false): ((event: CalendarSelectedDate) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: CalendarSelectedDate):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeCalendarSelectedDate(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readCalendarDay(): CalendarDay { let valueDeserializer : Deserializer = this const index_result : number = (valueDeserializer.readNumber() as number) @@ -23640,6 +23609,21 @@ export class Deserializer extends DeserializerBase { let value : ButtonOptions = ({type: type_result, stateEffect: stateEffect_result, buttonStyle: buttonStyle_result, controlSize: controlSize_result, role: role_result} as ButtonOptions) return value } + readButtonTriggerClickCallback(isSync: boolean = false): ButtonTriggerClickCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (xPos: number, yPos: number):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(xPos); + _argsSerializer.writeNumber(yPos); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1964292933, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1964292933, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readBadgeParamWithString(): BadgeParamWithString { let valueDeserializer : Deserializer = this const position_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -23717,36 +23701,36 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return SpringPropInternal.fromPtr(ptr) } - readOnAlphabetIndexerPopupSelectCallback(isSync: boolean = false): OnAlphabetIndexerPopupSelectCallback { + readOnAlphabetIndexerRequestPopupDataCallback(isSync: boolean = false): OnAlphabetIndexerRequestPopupDataCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (index: number):void => { + return (index: number):Array => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(index); - (isSync) ? (InteropNativeModule._CallCallbackSync(726938390, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(726938390, _argsSerializer.asBuffer(), _argsSerializer.length())); + let _continuationValue : Array | undefined; + const _continuationCallback : ((value: Array) => void) = (value: Array):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1956514817, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1956514817, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); - return; } + return (_continuationValue as Array); } } - readOnAlphabetIndexerRequestPopupDataCallback(isSync: boolean = false): OnAlphabetIndexerRequestPopupDataCallback { + readOnAlphabetIndexerPopupSelectCallback(isSync: boolean = false): OnAlphabetIndexerPopupSelectCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (index: number):Array => { + return (index: number):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(index); - let _continuationValue : Array | undefined; - const _continuationCallback : ((value: Array) => void) = (value: Array):void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1956514817, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1956514817, _argsSerializer.asBuffer(), _argsSerializer.length())); + (isSync) ? (InteropNativeModule._CallCallbackSync(726938390, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(726938390, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); - return (_continuationValue as Array); } + return; } } readOnAlphabetIndexerSelectCallback(isSync: boolean = false): OnAlphabetIndexerSelectCallback { const _resource : CallbackResource = this.readCallbackResource() @@ -23868,13 +23852,6 @@ export class Deserializer extends DeserializerBase { let value : AlertDialogButtonOptions = ({enabled: enabled_result, defaultFocus: defaultFocus_result, style: style_result, value: value_result, fontColor: fontColor_result, backgroundColor: backgroundColor_result, action: action_result, primary: primary_result} as AlertDialogButtonOptions) return value } - readDismissDialogAction(): DismissDialogAction { - let valueDeserializer : Deserializer = this - const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() - const reason_result : DismissReason = (valueDeserializer.readInt32() as DismissReason) - let value : DismissDialogAction = ({dismiss: dismiss_result, reason: reason_result} as DismissDialogAction) - return value - } readSheetInfo(): SheetInfo { let valueDeserializer : Deserializer = this const title_buf_selector : int32 = valueDeserializer.readInt8() @@ -23911,6 +23888,13 @@ export class Deserializer extends DeserializerBase { let value : SheetInfo = ({title: title_result, icon: icon_result, action: action_result} as SheetInfo) return value } + readDismissDialogAction(): DismissDialogAction { + let valueDeserializer : Deserializer = this + const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() + const reason_result : DismissReason = (valueDeserializer.readInt32() as DismissReason) + let value : DismissDialogAction = ({dismiss: dismiss_result, reason: reason_result} as DismissDialogAction) + return value + } readReplaceSymbolEffect(): ReplaceSymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -23974,6 +23958,35 @@ export class Deserializer extends DeserializerBase { let value : ShapeSize = ({width: width_result, height: height_result} as ShapeSize) return value } + readBusinessError(): BusinessError { + let valueDeserializer : Deserializer = this + const name_result : string = (valueDeserializer.readString() as string) + const message_result : string = (valueDeserializer.readString() as string) + const stack_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let stack_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (stack_buf_runtimeType)) + { + stack_buf = (valueDeserializer.readString() as string) + } + const stack_result : string | undefined = stack_buf + const code_result : number = (valueDeserializer.readNumber() as number) + let value : BusinessError = ({name: name_result, message: message_result, stack: stack_result, code: code_result} as BusinessError) + return value + } + readErrorCallback(isSync: boolean = false): ErrorCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (err: BusinessError):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBusinessError(err); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1936519453, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1936519453, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readWebHeader(): WebHeader { let valueDeserializer : Deserializer = this const headerKey_result : string = (valueDeserializer.readString() as string) @@ -23981,6 +23994,40 @@ export class Deserializer extends DeserializerBase { let value : WebHeader = ({headerKey: headerKey_result, headerValue: headerValue_result} as WebHeader) return value } + readAnimationOptions(): AnimationOptions { + let valueDeserializer : Deserializer = this + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result : number | undefined = duration_buf + const iterations_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iterations_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (iterations_buf_runtimeType)) + { + iterations_buf = (valueDeserializer.readNumber() as number) + } + const iterations_result : number | undefined = iterations_buf + let value : AnimationOptions = ({duration: duration_result, iterations: iterations_result} as AnimationOptions) + return value + } + readAnimatedDrawableDescriptor(): AnimatedDrawableDescriptor { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return AnimatedDrawableDescriptorInternal.fromPtr(ptr) + } + readPixelMapDrawableDescriptor(): PixelMapDrawableDescriptor { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return PixelMapDrawableDescriptorInternal.fromPtr(ptr) + } + readLayeredDrawableDescriptor(): LayeredDrawableDescriptor { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return LayeredDrawableDescriptorInternal.fromPtr(ptr) + } readLength(): Length | undefined { const valueType = this.readInt8() if ((RuntimeType.NUMBER) == (valueType)) { diff --git a/arkoala-arkts/arkui/src/generated/peers/GlobalScope.ts b/arkoala-arkts/arkui/src/generated/peers/GlobalScope.ts deleted file mode 100644 index 485ca295a1fc83f5fbcb302cb40780edf8f640f8..0000000000000000000000000000000000000000 --- a/arkoala-arkts/arkui/src/generated/peers/GlobalScope.ts +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing 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 { Profiler } from "./../ArkProfilerNamespace" -import { PointerStyle } from "./../ArkArkuiCustomInterfaces" -import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, toPeerPtr, MaterializedBase, NativeBuffer } from "@koalaui/interop" -import { unsafeCast, int32, float32 } from "@koalaui/common" -import { Serializer } from "./Serializer" -import { CallbackKind } from "./CallbackKind" -import { Deserializer } from "./Deserializer" -import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./CallbackTransformer" -export class GlobalScope { - public static getContext(component?: Object): Context { - const component_casted = component as (Object | undefined) - return GlobalScope.getContext_serialize(component_casted) - } - static getContext_serialize(component?: Object): Context { - const thisSerializer : Serializer = Serializer.hold() - let component_type : int32 = RuntimeType.UNDEFINED - component_type = runtimeType(component) - thisSerializer.writeInt8(component_type as int32) - if ((RuntimeType.UNDEFINED) != (component_type)) { - const component_value = component! - thisSerializer.writeCustomObject("Object", component_value) - } - const retval = ArkUIGeneratedNativeModule._GlobalScope_getContext(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) - const returnResult : Context = retvalDeserializer.readContext() - return returnResult - } - public static postCardAction(component: Object, action: Object): void { - const component_casted = component as (Object) - const action_casted = action as (Object) - GlobalScope.postCardAction_serialize(component_casted, action_casted) - return - } - static postCardAction_serialize(component: Object, action: Object): void { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.writeCustomObject("Object", component) - thisSerializer.writeCustomObject("Object", action) - ArkUIGeneratedNativeModule._GlobalScope_postCardAction(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - public static dollar_r(value: string, params: Array): Resource { - const value_casted = value as (string) - const params_casted = params as (Array) - return GlobalScope.dollar_r_serialize(value_casted, params_casted) - } - static dollar_r_serialize(value: string, params: Array): Resource { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.writeInt32(params.length as int32) - for (let i = 0; i < params.length; i++) { - const params_element : object = params[i] - thisSerializer.writeCustomObject("Any", params_element) - } - const retval = ArkUIGeneratedNativeModule._GlobalScope_dollar_r(value, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) - const returnResult : Resource = retvalDeserializer.readResource() - return returnResult - } - public static dollar_rawfile(value: string): Resource { - const value_casted = value as (string) - return GlobalScope.dollar_rawfile_serialize(value_casted) - } - static dollar_rawfile_serialize(value: string): Resource { - const retval = ArkUIGeneratedNativeModule._GlobalScope_dollar_rawfile(value) - let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) - const returnResult : Resource = retvalDeserializer.readResource() - return returnResult - } - public static animateTo(value: AnimateParam, event: (() => void)): void { - const value_casted = value as (AnimateParam) - const event_casted = event as ((() => void)) - GlobalScope.animateTo_serialize(value_casted, event_casted) - return - } - static animateTo_serialize(value: AnimateParam, event: (() => void)): void { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.writeAnimateParam(value) - thisSerializer.holdAndWriteCallback(event) - ArkUIGeneratedNativeModule._GlobalScope_animateTo(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - public static animateToImmediately(value: AnimateParam, event: (() => void)): void { - const value_casted = value as (AnimateParam) - const event_casted = event as ((() => void)) - GlobalScope.animateToImmediately_serialize(value_casted, event_casted) - return - } - static animateToImmediately_serialize(value: AnimateParam, event: (() => void)): void { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.writeAnimateParam(value) - thisSerializer.holdAndWriteCallback(event) - ArkUIGeneratedNativeModule._GlobalScope_animateToImmediately(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - public static vp2px(value: number): number { - const value_casted = value as (number) - return GlobalScope.vp2px_serialize(value_casted) - } - static vp2px_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_vp2px(value) - return retval - } - public static px2vp(value: number): number { - const value_casted = value as (number) - return GlobalScope.px2vp_serialize(value_casted) - } - static px2vp_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_px2vp(value) - return retval - } - public static fp2px(value: number): number { - const value_casted = value as (number) - return GlobalScope.fp2px_serialize(value_casted) - } - static fp2px_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_fp2px(value) - return retval - } - public static px2fp(value: number): number { - const value_casted = value as (number) - return GlobalScope.px2fp_serialize(value_casted) - } - static px2fp_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_px2fp(value) - return retval - } - public static lpx2px(value: number): number { - const value_casted = value as (number) - return GlobalScope.lpx2px_serialize(value_casted) - } - static lpx2px_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_lpx2px(value) - return retval - } - public static px2lpx(value: number): number { - const value_casted = value as (number) - return GlobalScope.px2lpx_serialize(value_casted) - } - static px2lpx_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_px2lpx(value) - return retval - } - public static getInspectorNodes(): Object { - return GlobalScope.getInspectorNodes_serialize() - } - static getInspectorNodes_serialize(): Object { - const retval = ArkUIGeneratedNativeModule._GlobalScope_getInspectorNodes() - throw new Error("Object deserialization is not implemented.") - } - public static getInspectorNodeById(id: number): Object { - const id_casted = id as (number) - return GlobalScope.getInspectorNodeById_serialize(id_casted) - } - static getInspectorNodeById_serialize(id: number): Object { - const retval = ArkUIGeneratedNativeModule._GlobalScope_getInspectorNodeById(id) - throw new Error("Object deserialization is not implemented.") - } - public static setAppBgColor(value: string): void { - const value_casted = value as (string) - GlobalScope.setAppBgColor_serialize(value_casted) - return - } - static setAppBgColor_serialize(value: string): void { - ArkUIGeneratedNativeModule._GlobalScope_setAppBgColor(value) - } - public static Profiler_registerVsyncCallback(callback_: ((info: string) => void)): void { - const callback__casted = callback_ as (((info: string) => void)) - GlobalScope.Profiler_registerVsyncCallback_serialize(callback__casted) - return - } - static Profiler_registerVsyncCallback_serialize(callback_: ((info: string) => void)): void { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback_) - ArkUIGeneratedNativeModule._GlobalScope_Profiler_registerVsyncCallback(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - public static Profiler_unregisterVsyncCallback(): void { - GlobalScope.Profiler_unregisterVsyncCallback_serialize() - return - } - static Profiler_unregisterVsyncCallback_serialize(): void { - ArkUIGeneratedNativeModule._GlobalScope_Profiler_unregisterVsyncCallback() - } - public static cursorControl_setCursor(value: PointerStyle): void { - const value_casted = value as (PointerStyle) - GlobalScope.cursorControl_setCursor_serialize(value_casted) - return - } - static cursorControl_setCursor_serialize(value: PointerStyle): void { - ArkUIGeneratedNativeModule._GlobalScope_cursorControl_setCursor(value.valueOf()) - } - public static cursorControl_restoreDefault(): void { - GlobalScope.cursorControl_restoreDefault_serialize() - return - } - static cursorControl_restoreDefault_serialize(): void { - ArkUIGeneratedNativeModule._GlobalScope_cursorControl_restoreDefault() - } - public static focusControl_requestFocus(value: string): boolean { - const value_casted = value as (string) - return GlobalScope.focusControl_requestFocus_serialize(value_casted) - } - static focusControl_requestFocus_serialize(value: string): boolean { - const retval = ArkUIGeneratedNativeModule._GlobalScope_focusControl_requestFocus(value) - return retval - } -} diff --git a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts index 1b3cb7a683887cba20be67a16895e45b120c332e..fc6dc6f75bda6b00a3beaf1a81514dd546208754 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts @@ -13,27 +13,30 @@ * limitations under the License. */ -import { SerializerBase, Tags, RuntimeType, runtimeType, toPeerPtr, MaterializedBase, nullptr, KPointer } from "@koalaui/interop" -import { int32, float32, unsafeCast, int64 } from "@koalaui/common" -import { NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, InteropNativeModule } from "@koalaui/interop" + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" +import { int32, int64, float32, unsafeCast } from "@koalaui/common" +import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" import { CallbackTransformer } from "./CallbackTransformer" -import { AccessibilityCallback, CustomBuilder, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, ShadowType, SymbolGlyphModifier, ShadowOptions, SheetSize, DrawContext, ShadowStyle, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, MenuPreviewMode, DismissPopupAction, DragPreviewMode, OutlineStyle, SourceTool, SourceType, EventTarget, HoverModeAreaType, BlurStyle, Rectangle, PickerTextStyle, PickerDialogButtonStyle, MenuPolicy, BlurStyleActivePolicy, BlurOptions, AdaptiveColor, ThemeColorMode, ExpectedFrameRateRange, FinishCallbackType, SheetKeyboardAvoidMode, UIContext, SheetType, ScrollSizeMode, SheetMode, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ModalTransition, ContextMenuAnimationOptions, PopupMessageOptions, TransitionHierarchyStrategy, OverlayOffset, ImageModifier, MotionPathOptions, LinearGradient_common, ScrollableCommonMethod, CommonMethod, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, TransitionOptions, MotionBlurOptions, InvertOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, DragItemInfo, UniformDataType, PreDragStatus, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ContentCoverOptions, SheetOptions, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, RectResult, TouchObject, HistoricalPoint, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, BlurStyleOptions, ContentModifier, LayoutSafeAreaType, LayoutSafeAreaEdge, ItemDragInfo, KeyboardAvoidMode, UIGestureEvent, VisibleAreaEventOptions, MeasureResult, SizeResult, DismissReason, BindOptions, FractionStop, LocalizedVerticalAlignParam, LocalizedHorizontalAlignParam, MotionBlurAnchor, RepeatMode, TouchTestStrategy, IntentionCode, DragResult, Summary, DragBehavior, Context, LightSource, MultiShadowOptions, PointLightStyle } from "./../ArkCommonInterfaces" +import { AccessibilityCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, ShadowType, SymbolGlyphModifier, ShadowOptions, SheetSize, DrawContext, ShadowStyle, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, MenuPreviewMode, DismissPopupAction, DragPreviewMode, OutlineStyle, SourceTool, SourceType, EventTarget, HoverModeAreaType, BlurStyle, Rectangle, PickerTextStyle, PickerDialogButtonStyle, MenuPolicy, BlurStyleActivePolicy, BlurOptions, AdaptiveColor, ThemeColorMode, CustomBuilder, ExpectedFrameRateRange, FinishCallbackType, SheetKeyboardAvoidMode, UIContext, SheetType, ScrollSizeMode, SheetMode, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ModalTransition, ContextMenuAnimationOptions, PopupMessageOptions, TransitionHierarchyStrategy, OverlayOffset, ImageModifier, MotionPathOptions, LinearGradient_common, ScrollableCommonMethod, CommonMethod, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, TransitionOptions, MotionBlurOptions, InvertOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, DragItemInfo, UniformDataType, PreDragStatus, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ContentCoverOptions, SheetOptions, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, RectResult, TouchObject, HistoricalPoint, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, BlurStyleOptions, ContentModifier, LayoutSafeAreaType, LayoutSafeAreaEdge, ItemDragInfo, KeyboardAvoidMode, UIGestureEvent, VisibleAreaEventOptions, MeasureResult, SizeResult, BindOptions, FractionStop, LocalizedVerticalAlignParam, LocalizedHorizontalAlignParam, MotionBlurAnchor, RepeatMode, TouchTestStrategy, DismissReason, IntentionCode, DragResult, Summary, DragBehavior, Context, LightSource, MultiShadowOptions, PointLightStyle } from "./../ArkCommonInterfaces" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, LabelStyle, ControlSize, ButtonOptions } from "./../ArkButtonInterfaces" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../ArkAnimationExtenderInterfaces" import { Callback_RangeUpdate, PointerStyle } from "./../ArkArkuiCustomInterfaces" import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, IndicatorStyle, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ArrowStyle, SwiperAutoFill, SwiperAnimationEvent } from "./../ArkSwiperInterfaces" import { CustomNodeBuilder } from "./../ArkCustomBuilderInterfaces" import { EditableTextOnChangeCallback, OnDidChangeCallback, DecorationStyleResult, MenuType, Affinity, TextRange, StyledStringChangeValue, CaretStyle, InsertValue, DeleteValue, TextMenuItem, LineMetrics, PositionWithAffinity, PreviewText, TextBox, TextDataDetectorConfig, FontSettingOptions, TextDeleteDirection, StyledStringChangedListener, TextDataDetectorType } from "./../ArkTextCommonInterfaces" -import { ErrorCallback, LengthUnit, WebHeader, TextModifier, Want, RectHeightStyle, RectWidthStyle, SymbolEffect, EffectDirection, EffectScope, RectShapeOptions, RoundRectShapeOptions, PathShapeOptions, ShapeSize, MeasureOptions, FontInfo, FontOptions, PerfMonitorSourceType, PerfMonitorActionType, SnapshotOptions, NodeController } from "./../ArkArkuiExternalInterfaces" +import { ErrorCallback, LengthUnit, WebHeader, TextModifier, Want, RectHeightStyle, RectWidthStyle, EffectDirection, EffectScope, RectShapeOptions, RoundRectShapeOptions, PathShapeOptions, ShapeSize, MeasureOptions, FontInfo, FontOptions, PerfMonitorSourceType, PerfMonitorActionType, SnapshotOptions, NodeController } from "./../ArkArkuiExternalInterfaces" import { GetItemMainSizeByIndex, WaterFlowAttribute, WaterFlowLayoutMode, SectionOptions, WaterFlowOptions } from "./../ArkWaterFlowInterfaces" import { ImageCompleteCallback, ImageLoadResult } from "./../ArkImageSpanInterfaces" -import { ImageErrorCallback, ResizableOptions, DrawableDescriptor, DrawingColorFilter, ImageContent, DrawingLattice, ResolutionQuality, ImageError, ImageSourceSize, ImageInterpolation, DynamicRangeMode, ImageRenderMode } from "./../ArkImageInterfaces" -import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavigationOptions, NavigationInterception, NavigationMode, NavBar, NavigationOperation, LaunchMode, BarStyle, NavigationAnimatedTransition, NavContentInfo, NavigationMenuItem, SystemBarStyle, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, ToolbarItemStatus, NavigationTitleMode, NavBarPosition } from "./../ArkNavigationInterfaces" -import { IsolatedComponentInterface, RestrictedWorker, IsolatedOptions, IsolatedComponentAttribute } from "./../ArkIsolatedComponentInterfaces" +import { ImageErrorCallback, ResizableOptions, DrawingColorFilter, ImageContent, DrawingLattice, ResolutionQuality, ImageError, ImageSourceSize, ImageInterpolation, DynamicRangeMode, ImageRenderMode } from "./../ArkImageInterfaces" +import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavigationOptions, NavigationInterception, NavigationMode, NavBar, NavigationOperation, LaunchMode, BarStyle, NavContentInfo, NavigationAnimatedTransition, NavigationMenuItem, SystemBarStyle, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, ToolbarItemStatus, NavigationTitleMode, NavBarPosition } from "./../ArkNavigationInterfaces" +import { IsolatedComponentInterface, RestrictedWorker, IsolatedComponentAttribute, IsolatedOptions } from "./../ArkIsolatedComponentInterfaces" import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyleResult, RichEditorSpanPosition, RichEditorParagraphStyle, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorImageSpanStyle, RichEditorTextStyle, RichEditorGesture, KeyboardOptions, PasteEvent, SelectionMenuOptions, RichEditorRange, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan, RichEditorAttribute, RichEditorInsertValue, RichEditorDeleteValue, RichEditorChangeValue, CutEvent, CopyEvent, RichEditorSpanType, RichEditorResponseType, PlaceholderStyle, RichEditorDeleteDirection, RichEditorSpanStyleOptions, RichEditorStyledStringOptions, RichEditorOptions } from "./../ArkRichEditorInterfaces" import { NavExtender_OnUpdateStack } from "./../ArkNavigationExtenderInterfaces" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, HitTestType, WebCaptureMode, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, 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, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, NativeEmbedTouchInfo, NativeMediaPlayerConfig, ExpandedMenuItemOptions, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, RenderProcessNotRespondingReason, NativeEmbedInfo, NativeEmbedStatus, WebNavigationType, SslError, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, ScreenCaptureConfig, FileSelectorMode, RenderExitReason, MessageLevel, RenderMode, WebKeyboardOptions, AdsBlockedDetails, WebKeyboardCallbackInfo, ViewportFit, RenderProcessNotRespondingData, NativeEmbedVisibilityInfo, IntelligentTrackingPreventionDetails, LoadCommittedDetails, ThreatType, LargestContentfulPaint, FirstMeaningfulPaint, SslErrorEvent, FullScreenEnterEvent, WebOptions, ContextMenuEditStateFlags, ProtectedResourceType } from "./../ArkWebInterfaces" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, HitTestType, WebCaptureMode, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, 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, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, NativeEmbedTouchInfo, NativeMediaPlayerConfig, ExpandedMenuItemOptions, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, NativeEmbedInfo, NativeEmbedStatus, SslError, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, ScreenCaptureConfig, FileSelectorMode, RenderExitReason, MessageLevel, RenderMode, RenderProcessNotRespondingReason, WebNavigationType, WebKeyboardOptions, WebOptions, ContextMenuEditStateFlags, ProtectedResourceType, FullScreenEnterEvent, ThreatType, WebKeyboardCallbackInfo, AdsBlockedDetails, ViewportFit, RenderProcessNotRespondingData, NativeEmbedVisibilityInfo, IntelligentTrackingPreventionDetails, FirstMeaningfulPaint, LargestContentfulPaint, SslErrorEvent, LoadCommittedDetails } from "./../ArkWebInterfaces" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, AlphabetIndexerAttribute, IndexerAlign, AlphabetIndexerOptions } from "./../ArkAlphabetIndexerInterfaces" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../ArkCheckboxInterfaces" import { OnCheckboxGroupChangeCallback, SelectStatus, CheckboxGroupResult, CheckboxGroupOptions } from "./../ArkCheckboxgroupInterfaces" @@ -45,17 +48,17 @@ import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallbac import { OnScrollVisibleContentChangeCallback, ListItemGroupArea, ScrollState, ScrollSnapAlign, ListDividerOptions, ListAttribute, ListItemAlign, ChainAnimationOptions, StickyStyle, ChainEdgeEffect, VisibleListContentInfo, CloseSwipeActionOptions, ListOptions } from "./../ArkListInterfaces" import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, LayoutStyle, DividerStyle, TabsAttribute, BarPosition, BarMode, AnimationMode, BarGridColumnOptions, ScrollableBarModeOptions, TabContentAnimatedTransition, TabsAnimationEvent, TabsOptions } from "./../ArkTabsInterfaces" import { PageTransitionCallback, RouteType, SlideEffect } from "./../ArkPageTransitionInterfaces" -import { PluginErrorCallback, PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../ArkPluginComponentInterfaces" +import { PluginErrorCallback, PluginComponentTemplate, PluginComponentOptions, PluginErrorData } from "./../ArkPluginComponentInterfaces" import { SearchSubmitCallback, CancelButtonStyle, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchAttribute, SearchType, SearchButtonOptions, SearchOptions } from "./../ArkSearchInterfaces" import { SliderTriggerChangeCallback, SliderAttribute, SliderChangeMode, SliderBlockStyle, SliderInteraction, SliderConfiguration, SlideRange, SliderBlockType, SliderStyle, SliderOptions } from "./../ArkSliderInterfaces" import { TextAreaSubmitCallback, ContentType, TextAreaAttribute, 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, ConstraintSizeOptions, ChainWeightOptions, LocalizedMargin, BorderOptions, EdgeStyles, EdgeWidths, EdgeColors, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, Offset, DividerStyleOptions, LengthMetricsUnit, LengthConstrain, DirectionalEdgesT, Bias, MarkStyle } from "./../ArkUnitsInterfaces" -import { WithThemeInterface, CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" +import { WithThemeInterface, CustomTheme, WithThemeAttribute, WithThemeOptions } from "./../ArkWithThemeInterfaces" import { Resource } from "./../ArkResourceInterfaces" -import { Color, ColoringStrategy, FontWeight, Curve, WordBreak, TextOverflow, TextAlign, ImageFit, ImageSpanAlignment, TextDecorationStyle, TextDecorationType, FontStyle, BorderStyle, TextHeightAdaptivePolicy, LineBreakStrategy, TitleHeight, GradientDirection, DialogButtonStyle, TextCase, TouchType, NestedScrollMode, VerticalAlign, Axis, PlayMode, Placement, ArrowPointPosition, Alignment, SharedTransitionEffectType, ClickEffectLevel, HorizontalAlign, TransitionType, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, ResponseType, FunctionKey, ModifierKey, BarState, EdgeEffect, FlexDirection, Edge, XComponentType, CopyOptions, TextContentStyle, EllipsisMode, TextSelectableMode, LineCapStyle, LineJoinStyle, OptionWidthMode, ScrollSource, AppRotation, FoldStatus, FlexAlign, FlexWrap, PixelRoundCalcPolicy, KeySource, KeyType, AccessibilityHoverType, MouseAction, MouseButton, IlluminatedType, HeightBreakpoint, WidthBreakpoint, MarqueeUpdateStrategy, RelateType, Week, EmbeddedType, CheckBoxShape, FillMode, AnimationStatus } from "./../ArkEnumsInterfaces" +import { Color, ColoringStrategy, FontWeight, Curve, WordBreak, TextOverflow, TextAlign, ImageFit, ImageSpanAlignment, TextDecorationStyle, TextDecorationType, FontStyle, BorderStyle, TextHeightAdaptivePolicy, LineBreakStrategy, TitleHeight, GradientDirection, DialogButtonStyle, TextCase, NestedScrollMode, TouchType, VerticalAlign, Axis, PlayMode, Placement, ArrowPointPosition, Alignment, SharedTransitionEffectType, ClickEffectLevel, HorizontalAlign, TransitionType, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, ResponseType, FunctionKey, ModifierKey, BarState, EdgeEffect, FlexDirection, Edge, XComponentType, CopyOptions, TextContentStyle, EllipsisMode, TextSelectableMode, LineCapStyle, LineJoinStyle, OptionWidthMode, ScrollSource, AppRotation, FoldStatus, FlexAlign, FlexWrap, PixelRoundCalcPolicy, KeySource, KeyType, AccessibilityHoverType, MouseAction, MouseButton, IlluminatedType, HeightBreakpoint, WidthBreakpoint, MarqueeUpdateStrategy, RelateType, Week, EmbeddedType, CheckBoxShape, FillMode, AnimationStatus } from "./../ArkEnumsInterfaces" import { PixelMap, PixelMapInternal } from "./../ArkPixelMapMaterialized" import { LengthMetrics, LengthMetricsInternal } from "./../ArkLengthMetricsMaterialized" -import { Tuple_Dimension_Dimension, Callback_GestureEvent_Void, Callback_ClickEvent_Void, Callback_PopInfo_Void, Callback_SwipeActionState_Void, Callback_Void, 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, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_SheetType_Void, Callback_Number_Void, Callback_SpringBackAction_Void, Callback_DismissSheetAction_Void, Callback_SheetDismiss_Void, Callback_DismissContentCoverAction_Void, AnimationRange_Number, 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, Tuple_ResourceColor_Number, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Callback_Array_TouchTestInfo_TouchResult, 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, 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, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_Union_String_Array_String_Void, Callback_Union_Number_Array_Number_Void, Callback_ResourceStr_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_SwiperContentTransitionProxy_Void, Callback_Number_SliderChangeMode_Void, Callback_Union_Number_Resource_Void, Callback_Number_String_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_PanelMode_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, onItemDragStart_event_type, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Tuple_Number_Number, Type_SheetOptions_detents, Literal_ResourceColor_color, Literal_String_value_Callback_Void_action, Literal_Number_day_month_year, 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, 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_PlaybackInfo_Void, Callback_PreparedInfo_Void, Callback_FullscreenInfo_Void, Type_TextPickerAttribute_onChange_callback, Callback_String_Number_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_RefreshStatus_Void, Callback_Array_Number_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Number_Number_PanelMode_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Any_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_TerminationInfo_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void } from "./../SyntheticDeclarations" +import { Tuple_Dimension_Dimension, Callback_GestureEvent_Void, Callback_ClickEvent_Void, Callback_PopInfo_Void, Callback_SwipeActionState_Void, Callback_Void, Callback_DismissPopupAction_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, Callback_NavigationTransitionProxy_Void, Callback_Boolean_Void, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_SheetType_Void, Callback_Number_Void, Callback_SpringBackAction_Void, Callback_DismissSheetAction_Void, Callback_SheetDismiss_Void, Callback_DismissContentCoverAction_Void, AnimationRange_Number, 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, Tuple_ResourceColor_Number, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Callback_Array_TouchTestInfo_TouchResult, 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, 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, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_Union_String_Array_String_Void, Callback_Union_Number_Array_Number_Void, Callback_ResourceStr_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_SwiperContentTransitionProxy_Void, Callback_Number_SliderChangeMode_Void, Callback_Union_Number_Resource_Void, Callback_Number_String_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_PanelMode_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, onItemDragStart_event_type, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Tuple_Number_Number, Type_SheetOptions_detents, Literal_ResourceColor_color, Literal_String_value_Callback_Void_action, Literal_Number_day_month_year, AsyncCallback_image_PixelMap_Void, 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_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_Literal_Number_offsetRemain_Void, 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_PlaybackInfo_Void, Callback_PreparedInfo_Void, Callback_FullscreenInfo_Void, Type_TextPickerAttribute_onChange_callback, Callback_String_Number_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_RefreshStatus_Void, Callback_Array_Number_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Number_Number_PanelMode_Void, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_String_Unknown_Void, Callback_NavigationMode_Void, Callback_NavigationTitleMode_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Any_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_TerminationInfo_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void } from "./../SyntheticDeclarations" import { ICurve, ICurveInternal } from "./../ArkICurveMaterialized" import { TextBackgroundStyle } from "./../ArkSpanInterfaces" import { ImageAttachmentLayoutStyle, UserDataSpan, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, ParagraphStyleInterface, ImageAttachmentInterface, GestureStyleInterface, DecorationStyleInterface, TextStyleInterface, StyledStringKey, StyleOptions, SpanStyle, StyledStringValue } from "./../ArkStyledStringInterfaces" @@ -81,14 +84,13 @@ import { TransitionEffect, TransitionEffectInternal } from "./../ArkTransitionEf import { CanvasPattern, CanvasPatternInternal } from "./../ArkCanvasPatternMaterialized" import { Matrix2D, Matrix2DInternal } from "./../ArkMatrix2DMaterialized" import { CanvasGradient, CanvasGradientInternal } from "./../ArkCanvasGradientMaterialized" -import { NavigationTransitionProxy, NavigationTransitionProxyInternal } from "./../ArkNavigationTransitionProxyMaterialized" import { ColorMetrics, ColorMetricsInternal } from "./../ArkColorMetricsMaterialized" 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 { WebResourceRequest, WebResourceRequestInternal } from "./../ArkWebResourceRequestMaterialized" import { PlaybackSpeed, SeekMode, PlaybackInfo, PreparedInfo, FullscreenInfo, VideoOptions } from "./../ArkVideoInterfaces" import { DateTimeOptions, TimePickerResult, TimePickerFormat, TimePickerDialogOptions, TimePickerOptions } from "./../ArkTimePickerInterfaces" import { DialogAlignment, DialogButtonDirection, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogParamWithOptions, AlertDialogParam, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParamWithConfirm } from "./../ArkAlertDialogInterfaces" @@ -97,6 +99,7 @@ import { TextMenuItemId, TextMenuItemIdInternal } from "./../ArkTextMenuItemIdMa import { TabContentTransitionProxy, TabContentTransitionProxyInternal } from "./../ArkTabContentTransitionProxyMaterialized" import { ProgressStatus, ProgressStyleOptions, CommonProgressStyleOptions, CapsuleStyleOptions, ScanEffectOptions, RingStyleOptions, LinearStyleOptions, ProgressType, ProgressStyle, ProgressOptions } from "./../ArkProgressInterfaces" import { NavDestinationMode, RouteMapConfig, NavDestinationAttribute, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle } from "./../ArkNavDestinationInterfaces" +import { NavigationTransitionProxy, NavigationTransitionProxyInternal } from "./../ArkNavigationTransitionProxyMaterialized" import { NavPathStack, NavPathStackInternal } from "./../ArkNavPathStackMaterialized" import { NavPathInfo, NavPathInfoInternal } from "./../ArkNavPathInfoMaterialized" import { NavDestinationContext, NavDestinationContextInternal } from "./../ArkNavDestinationContextMaterialized" @@ -146,7 +149,6 @@ import { XComponentController, XComponentControllerInternal } from "./../ArkXCom import { WindowSceneAttribute } from "./../ArkWindowSceneInterfaces" import { WebResourceResponse, WebResourceResponseInternal } from "./../ArkWebResourceResponseMaterialized" import { EditMenuOptions, EditMenuOptionsInternal } from "./../ArkEditMenuOptionsMaterialized" -import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { EventResult, EventResultInternal } from "./../ArkEventResultMaterialized" import { BaseEvent, BaseEventInternal } from "./../ArkBaseEventMaterialized" import { DataResubmissionHandler, DataResubmissionHandlerInternal } from "./../ArkDataResubmissionHandlerMaterialized" @@ -158,13 +160,14 @@ import { WebContextMenuParam, WebContextMenuParamInternal } from "./../ArkWebCon import { ScreenCaptureHandler, ScreenCaptureHandlerInternal } from "./../ArkScreenCaptureHandlerMaterialized" import { PermissionRequest, PermissionRequestInternal } from "./../ArkPermissionRequestMaterialized" import { HttpAuthHandler, HttpAuthHandlerInternal } from "./../ArkHttpAuthHandlerMaterialized" -import { FullScreenExitHandler, FullScreenExitHandlerInternal } from "./../ArkFullScreenExitHandlerMaterialized" import { FileSelectorParam, FileSelectorParamInternal } from "./../ArkFileSelectorParamMaterialized" import { FileSelectorResult, FileSelectorResultInternal } from "./../ArkFileSelectorResultMaterialized" import { WebResourceError, WebResourceErrorInternal } from "./../ArkWebResourceErrorMaterialized" import { ConsoleMessage, ConsoleMessageInternal } from "./../ArkConsoleMessageMaterialized" import { JsResult, JsResultInternal } from "./../ArkJsResultMaterialized" import { JsGeolocation, JsGeolocationInternal } from "./../ArkJsGeolocationMaterialized" +import { FullScreenExitHandler, FullScreenExitHandlerInternal } from "./../ArkFullScreenExitHandlerMaterialized" +import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { VideoController, VideoControllerInternal } from "./../ArkVideoControllerMaterialized" import { ToggleType, SwitchStyle, ToggleOptions } from "./../ArkToggleInterfaces" import { TextTimerController, TextTimerControllerInternal } from "./../ArkTextTimerControllerMaterialized" @@ -179,6 +182,7 @@ import { TextController, TextControllerInternal } from "./../ArkTextControllerMa import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { TabsController, TabsControllerInternal } from "./../ArkTabsControllerMaterialized" +import { SymbolEffect, SymbolEffectInternal } from "./../ArkSymbolEffectMaterialized" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { Indicator } from "./../ArkIndicatorBuilder" import { DotIndicator } from "./../ArkDotIndicatorBuilder" @@ -204,6 +208,7 @@ import { PanelMode, PanelHeight, PanelType } from "./../ArkPanelInterfaces" import { NavigationType } from "./../ArkNavigatorInterfaces" import { MenuItemOptions } from "./../ArkMenuItemInterfaces" import { ASTCResource } from "./../ArkMediaCachedImageInterfaces" +import { DrawableDescriptor, DrawableDescriptorInternal } from "./../ArkDrawableDescriptorMaterialized" import { LocationDescription, LocationIconStyle, LocationButtonOnClickResult, LocationButtonOptions } from "./../ArkLocationButtonInterfaces" import { ListItemGroupStyle, ListItemGroupOptions } from "./../ArkListItemGroupInterfaces" import { ChildrenMainSize, ChildrenMainSizeInternal } from "./../ArkChildrenMainSizeMaterialized" @@ -229,13 +234,14 @@ import { RenderingContextSettings, RenderingContextSettingsInternal } from "./.. import { OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal } from "./../ArkOffscreenCanvasRenderingContext2DMaterialized" import { CalendarDialogOptions, CalendarOptions, CalendarPickerAttribute, CalendarAlign } from "./../ArkCalendarPickerInterfaces" import { CalendarController, CalendarControllerInternal } from "./../ArkCalendarControllerMaterialized" -import { MonthData, CalendarDay, CalendarRequestedData, CalendarSelectedDate, WorkStateStyle, WeekStyle, TodayStyle, NonCurrentDayStyle, CurrentDayStyle } from "./../ArkCalendarInterfaces" +import { MonthData, CalendarDay, WorkStateStyle, WeekStyle, TodayStyle, NonCurrentDayStyle, CurrentDayStyle, CalendarRequestedData, CalendarSelectedDate } from "./../ArkCalendarInterfaces" import { BaseShape, BaseShapeInternal } from "./../ArkBaseShapeMaterialized" import { CommonShape, CommonShapeInternal } from "./../ArkCommonShapeMaterialized" import { LinearIndicatorController, LinearIndicatorControllerInternal } from "./../ArkLinearIndicatorControllerMaterialized" import { TextTimerOptions } from "./../ArkTextTimerInterfaces" import { SubmitEvent, SubmitEventInternal } from "./../ArkSubmitEventMaterialized" import { TextClockOptions } from "./../ArkTextClockInterfaces" +import { PulseSymbolEffect, PulseSymbolEffectInternal } from "./../ArkPulseSymbolEffectMaterialized" import { BounceSymbolEffect, BounceSymbolEffectInternal } from "./../ArkBounceSymbolEffectMaterialized" import { DisappearSymbolEffect, DisappearSymbolEffectInternal } from "./../ArkDisappearSymbolEffectMaterialized" import { AppearSymbolEffect, AppearSymbolEffectInternal } from "./../ArkAppearSymbolEffectMaterialized" @@ -274,7 +280,6 @@ import { LongPressGestureEvent, LongPressGestureEventInternal } from "./../ArkLo import { TapGestureEvent, TapGestureEventInternal } from "./../ArkTapGestureEventMaterialized" import { GaugeIndicatorOptions, GaugeShadowOptions, GaugeOptions } from "./../ArkGaugeInterfaces" import { FormLinkOptions } from "./../ArkFormLinkInterfaces" -import { BusinessError } from "./../ArkBaseInterfaces" import { TerminationInfo } from "./../ArkEmbeddedComponentInterfaces" import { EllipseOptions } from "./../ArkEllipseInterfaces" import { CustomDialogControllerOptions } from "./../ArkCustomDialogControllerInterfaces" @@ -293,6 +298,11 @@ import { FrictionMotion, FrictionMotionInternal } from "./../ArkFrictionMotionMa import { SpringMotion, SpringMotionInternal } from "./../ArkSpringMotionMaterialized" import { ReplaceSymbolEffect, ReplaceSymbolEffectInternal } from "./../ArkReplaceSymbolEffectMaterialized" import { ScaleSymbolEffect, ScaleSymbolEffectInternal } from "./../ArkScaleSymbolEffectMaterialized" +import { BusinessError } from "./../ArkBaseInterfaces" +import { AnimationOptions } from "./../ArkArkuiDrawabledescriptorInterfaces" +import { AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal } from "./../ArkAnimatedDrawableDescriptorMaterialized" +import { PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal } from "./../ArkPixelMapDrawableDescriptorMaterialized" +import { LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal } from "./../ArkLayeredDrawableDescriptorMaterialized" export class Serializer extends SerializerBase { private static pool?: Array | undefined = undefined private static poolTop: int32 = -1 @@ -1449,20 +1459,20 @@ export class Serializer extends SerializerBase { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEventTarget(value: EventTarget): void { + writeWebviewController(value: WebviewController): void { let valueSerializer : Serializer = this - const value_area = value.area - valueSerializer.writeArea(value_area) + valueSerializer.writePointer(toPeerPtr(value)) } - writeWebResourceRequest(value: WebResourceRequest): void { + writeWebController(value: WebController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebviewController(value: WebviewController): void { + writeEventTarget(value: EventTarget): void { let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) + const value_area = value.area + valueSerializer.writeArea(value_area) } - writeWebController(value: WebController): void { + writeWebResourceRequest(value: WebResourceRequest): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } @@ -3554,142 +3564,10 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeCustomTheme(value: CustomTheme): void { - let valueSerializer : Serializer = this - const value__CustomThemeStub = value._CustomThemeStub - valueSerializer.writeString(value__CustomThemeStub) - } - writeRestrictedWorker(value: RestrictedWorker): void { - let valueSerializer : Serializer = this - const value__RestrictedWorkerStub = value._RestrictedWorkerStub - valueSerializer.writeString(value__RestrictedWorkerStub) - } - writeWant(value: Want): void { - let valueSerializer : Serializer = this - const value_bundleName = value.bundleName - let value_bundleName_type : int32 = RuntimeType.UNDEFINED - value_bundleName_type = runtimeType(value_bundleName) - valueSerializer.writeInt8(value_bundleName_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bundleName_type)) { - const value_bundleName_value = value_bundleName! - valueSerializer.writeString(value_bundleName_value) - } - const value_abilityName = value.abilityName - let value_abilityName_type : int32 = RuntimeType.UNDEFINED - value_abilityName_type = runtimeType(value_abilityName) - valueSerializer.writeInt8(value_abilityName_type as int32) - if ((RuntimeType.UNDEFINED) != (value_abilityName_type)) { - const value_abilityName_value = value_abilityName! - valueSerializer.writeString(value_abilityName_value) - } - const value_deviceId = value.deviceId - let value_deviceId_type : int32 = RuntimeType.UNDEFINED - value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type as int32) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeString(value_deviceId_value) - } - const value_uri = value.uri - let value_uri_type : int32 = RuntimeType.UNDEFINED - value_uri_type = runtimeType(value_uri) - valueSerializer.writeInt8(value_uri_type as int32) - if ((RuntimeType.UNDEFINED) != (value_uri_type)) { - const value_uri_value = value_uri! - valueSerializer.writeString(value_uri_value) - } - const value_type = value.type - let value_type_type : int32 = RuntimeType.UNDEFINED - value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) - if ((RuntimeType.UNDEFINED) != (value_type_type)) { - const value_type_value = value_type! - valueSerializer.writeString(value_type_value) - } - const value_flags = value.flags - let value_flags_type : int32 = RuntimeType.UNDEFINED - value_flags_type = runtimeType(value_flags) - valueSerializer.writeInt8(value_flags_type as int32) - if ((RuntimeType.UNDEFINED) != (value_flags_type)) { - const value_flags_value = value_flags! - valueSerializer.writeNumber(value_flags_value) - } - const value_action = value.action - let value_action_type : int32 = RuntimeType.UNDEFINED - value_action_type = runtimeType(value_action) - valueSerializer.writeInt8(value_action_type as int32) - if ((RuntimeType.UNDEFINED) != (value_action_type)) { - const value_action_value = value_action! - valueSerializer.writeString(value_action_value) - } - const value_parameters = value.parameters - let value_parameters_type : int32 = RuntimeType.UNDEFINED - value_parameters_type = runtimeType(value_parameters) - valueSerializer.writeInt8(value_parameters_type as int32) - if ((RuntimeType.UNDEFINED) != (value_parameters_type)) { - const value_parameters_value = value_parameters! - valueSerializer.writeInt32(value_parameters_value.size as int32 as int32) - for (const pair of value_parameters_value) { - const value_parameters_value_key = pair[0] - const value_parameters_value_value = pair[1] - valueSerializer.writeString(value_parameters_value_key) - valueSerializer.writeCustomObject("Object", value_parameters_value_value) - } - } - const value_entities = value.entities - let value_entities_type : int32 = RuntimeType.UNDEFINED - value_entities_type = runtimeType(value_entities) - valueSerializer.writeInt8(value_entities_type as int32) - if ((RuntimeType.UNDEFINED) != (value_entities_type)) { - const value_entities_value = value_entities! - valueSerializer.writeInt32(value_entities_value.length as int32) - for (let i = 0; i < value_entities_value.length; i++) { - const value_entities_value_element : string = value_entities_value[i] - valueSerializer.writeString(value_entities_value_element) - } - } - const value_moduleName = value.moduleName - let value_moduleName_type : int32 = RuntimeType.UNDEFINED - value_moduleName_type = runtimeType(value_moduleName) - valueSerializer.writeInt8(value_moduleName_type as int32) - if ((RuntimeType.UNDEFINED) != (value_moduleName_type)) { - const value_moduleName_value = value_moduleName! - valueSerializer.writeString(value_moduleName_value) - } - } writeStyledString(value: StyledString): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { - let valueSerializer : Serializer = this - const value_onTransitionEnd = value.onTransitionEnd - let value_onTransitionEnd_type : int32 = RuntimeType.UNDEFINED - value_onTransitionEnd_type = runtimeType(value_onTransitionEnd) - valueSerializer.writeInt8(value_onTransitionEnd_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onTransitionEnd_type)) { - const value_onTransitionEnd_value = value_onTransitionEnd! - valueSerializer.holdAndWriteCallback(value_onTransitionEnd_value) - } - const value_timeout = value.timeout - let value_timeout_type : int32 = RuntimeType.UNDEFINED - value_timeout_type = runtimeType(value_timeout) - valueSerializer.writeInt8(value_timeout_type as int32) - if ((RuntimeType.UNDEFINED) != (value_timeout_type)) { - const value_timeout_value = value_timeout! - valueSerializer.writeNumber(value_timeout_value) - } - const value_isInteractive = value.isInteractive - let value_isInteractive_type : int32 = RuntimeType.UNDEFINED - value_isInteractive_type = runtimeType(value_isInteractive) - valueSerializer.writeInt8(value_isInteractive_type as int32) - if ((RuntimeType.UNDEFINED) != (value_isInteractive_type)) { - const value_isInteractive_value = value_isInteractive! - valueSerializer.writeBoolean(value_isInteractive_value) - } - const value_transition = value.transition - valueSerializer.holdAndWriteCallback(value_transition) - } writeLinearIndicatorStyle(value: LinearIndicatorStyle): void { let valueSerializer : Serializer = this const value_space = value.space @@ -3863,6 +3741,104 @@ export class Serializer extends SerializerBase { valueSerializer.writeBackgroundColorStyle(value_styledValue_12) } } + writeRestrictedWorker(value: RestrictedWorker): void { + let valueSerializer : Serializer = this + const value__RestrictedWorkerStub = value._RestrictedWorkerStub + valueSerializer.writeString(value__RestrictedWorkerStub) + } + writeWant(value: Want): void { + let valueSerializer : Serializer = this + const value_bundleName = value.bundleName + let value_bundleName_type : int32 = RuntimeType.UNDEFINED + value_bundleName_type = runtimeType(value_bundleName) + valueSerializer.writeInt8(value_bundleName_type as int32) + if ((RuntimeType.UNDEFINED) != (value_bundleName_type)) { + const value_bundleName_value = value_bundleName! + valueSerializer.writeString(value_bundleName_value) + } + const value_abilityName = value.abilityName + let value_abilityName_type : int32 = RuntimeType.UNDEFINED + value_abilityName_type = runtimeType(value_abilityName) + valueSerializer.writeInt8(value_abilityName_type as int32) + if ((RuntimeType.UNDEFINED) != (value_abilityName_type)) { + const value_abilityName_value = value_abilityName! + valueSerializer.writeString(value_abilityName_value) + } + const value_deviceId = value.deviceId + let value_deviceId_type : int32 = RuntimeType.UNDEFINED + value_deviceId_type = runtimeType(value_deviceId) + valueSerializer.writeInt8(value_deviceId_type as int32) + if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { + const value_deviceId_value = value_deviceId! + valueSerializer.writeString(value_deviceId_value) + } + const value_uri = value.uri + let value_uri_type : int32 = RuntimeType.UNDEFINED + value_uri_type = runtimeType(value_uri) + valueSerializer.writeInt8(value_uri_type as int32) + if ((RuntimeType.UNDEFINED) != (value_uri_type)) { + const value_uri_value = value_uri! + valueSerializer.writeString(value_uri_value) + } + const value_type = value.type + let value_type_type : int32 = RuntimeType.UNDEFINED + value_type_type = runtimeType(value_type) + valueSerializer.writeInt8(value_type_type as int32) + if ((RuntimeType.UNDEFINED) != (value_type_type)) { + const value_type_value = value_type! + valueSerializer.writeString(value_type_value) + } + const value_flags = value.flags + let value_flags_type : int32 = RuntimeType.UNDEFINED + value_flags_type = runtimeType(value_flags) + valueSerializer.writeInt8(value_flags_type as int32) + if ((RuntimeType.UNDEFINED) != (value_flags_type)) { + const value_flags_value = value_flags! + valueSerializer.writeNumber(value_flags_value) + } + const value_action = value.action + let value_action_type : int32 = RuntimeType.UNDEFINED + value_action_type = runtimeType(value_action) + valueSerializer.writeInt8(value_action_type as int32) + if ((RuntimeType.UNDEFINED) != (value_action_type)) { + const value_action_value = value_action! + valueSerializer.writeString(value_action_value) + } + const value_parameters = value.parameters + let value_parameters_type : int32 = RuntimeType.UNDEFINED + value_parameters_type = runtimeType(value_parameters) + valueSerializer.writeInt8(value_parameters_type as int32) + if ((RuntimeType.UNDEFINED) != (value_parameters_type)) { + const value_parameters_value = value_parameters! + valueSerializer.writeInt32(value_parameters_value.size as int32 as int32) + for (const pair of value_parameters_value) { + const value_parameters_value_key = pair[0] + const value_parameters_value_value = pair[1] + valueSerializer.writeString(value_parameters_value_key) + valueSerializer.writeCustomObject("Object", value_parameters_value_value) + } + } + const value_entities = value.entities + let value_entities_type : int32 = RuntimeType.UNDEFINED + value_entities_type = runtimeType(value_entities) + valueSerializer.writeInt8(value_entities_type as int32) + if ((RuntimeType.UNDEFINED) != (value_entities_type)) { + const value_entities_value = value_entities! + valueSerializer.writeInt32(value_entities_value.length as int32) + for (let i = 0; i < value_entities_value.length; i++) { + const value_entities_value_element : string = value_entities_value[i] + valueSerializer.writeString(value_entities_value_element) + } + } + const value_moduleName = value.moduleName + let value_moduleName_type : int32 = RuntimeType.UNDEFINED + value_moduleName_type = runtimeType(value_moduleName) + valueSerializer.writeInt8(value_moduleName_type as int32) + if ((RuntimeType.UNDEFINED) != (value_moduleName_type)) { + const value_moduleName_value = value_moduleName! + valueSerializer.writeString(value_moduleName_value) + } + } writeWaterFlowAttribute(value: WaterFlowAttribute): void { } writeWaterFlowSections(value: WaterFlowSections): void { @@ -4195,9 +4171,47 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_menuType_value.valueOf()) } } - writeWebKeyboardController(value: WebKeyboardController): void { + writeNestedScrollOptionsExt(value: NestedScrollOptionsExt): void { let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) + const value_scrollUp = value.scrollUp + let value_scrollUp_type : int32 = RuntimeType.UNDEFINED + value_scrollUp_type = runtimeType(value_scrollUp) + valueSerializer.writeInt8(value_scrollUp_type as int32) + if ((RuntimeType.UNDEFINED) != (value_scrollUp_type)) { + const value_scrollUp_value = (value_scrollUp as NestedScrollMode) + valueSerializer.writeInt32(value_scrollUp_value.valueOf()) + } + const value_scrollDown = value.scrollDown + let value_scrollDown_type : int32 = RuntimeType.UNDEFINED + value_scrollDown_type = runtimeType(value_scrollDown) + valueSerializer.writeInt8(value_scrollDown_type as int32) + if ((RuntimeType.UNDEFINED) != (value_scrollDown_type)) { + const value_scrollDown_value = (value_scrollDown as NestedScrollMode) + valueSerializer.writeInt32(value_scrollDown_value.valueOf()) + } + const value_scrollRight = value.scrollRight + let value_scrollRight_type : int32 = RuntimeType.UNDEFINED + value_scrollRight_type = runtimeType(value_scrollRight) + valueSerializer.writeInt8(value_scrollRight_type as int32) + if ((RuntimeType.UNDEFINED) != (value_scrollRight_type)) { + const value_scrollRight_value = (value_scrollRight as NestedScrollMode) + valueSerializer.writeInt32(value_scrollRight_value.valueOf()) + } + const value_scrollLeft = value.scrollLeft + let value_scrollLeft_type : int32 = RuntimeType.UNDEFINED + value_scrollLeft_type = runtimeType(value_scrollLeft) + valueSerializer.writeInt8(value_scrollLeft_type as int32) + if ((RuntimeType.UNDEFINED) != (value_scrollLeft_type)) { + const value_scrollLeft_value = (value_scrollLeft as NestedScrollMode) + valueSerializer.writeInt32(value_scrollLeft_value.valueOf()) + } + } + writeNestedScrollOptions(value: NestedScrollOptions): void { + let valueSerializer : Serializer = this + const value_scrollForward = value.scrollForward + valueSerializer.writeInt32(value_scrollForward.valueOf()) + const value_scrollBackward = value.scrollBackward + valueSerializer.writeInt32(value_scrollBackward.valueOf()) } writeEventResult(value: EventResult): void { let valueSerializer : Serializer = this @@ -4288,48 +4302,6 @@ export class Serializer extends SerializerBase { } } } - writeNestedScrollOptionsExt(value: NestedScrollOptionsExt): void { - let valueSerializer : Serializer = this - const value_scrollUp = value.scrollUp - let value_scrollUp_type : int32 = RuntimeType.UNDEFINED - value_scrollUp_type = runtimeType(value_scrollUp) - valueSerializer.writeInt8(value_scrollUp_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scrollUp_type)) { - const value_scrollUp_value = (value_scrollUp as NestedScrollMode) - valueSerializer.writeInt32(value_scrollUp_value.valueOf()) - } - const value_scrollDown = value.scrollDown - let value_scrollDown_type : int32 = RuntimeType.UNDEFINED - value_scrollDown_type = runtimeType(value_scrollDown) - valueSerializer.writeInt8(value_scrollDown_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scrollDown_type)) { - const value_scrollDown_value = (value_scrollDown as NestedScrollMode) - valueSerializer.writeInt32(value_scrollDown_value.valueOf()) - } - const value_scrollRight = value.scrollRight - let value_scrollRight_type : int32 = RuntimeType.UNDEFINED - value_scrollRight_type = runtimeType(value_scrollRight) - valueSerializer.writeInt8(value_scrollRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scrollRight_type)) { - const value_scrollRight_value = (value_scrollRight as NestedScrollMode) - valueSerializer.writeInt32(value_scrollRight_value.valueOf()) - } - const value_scrollLeft = value.scrollLeft - let value_scrollLeft_type : int32 = RuntimeType.UNDEFINED - value_scrollLeft_type = runtimeType(value_scrollLeft) - valueSerializer.writeInt8(value_scrollLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scrollLeft_type)) { - const value_scrollLeft_value = (value_scrollLeft as NestedScrollMode) - valueSerializer.writeInt32(value_scrollLeft_value.valueOf()) - } - } - writeNestedScrollOptions(value: NestedScrollOptions): void { - let valueSerializer : Serializer = this - const value_scrollForward = value.scrollForward - valueSerializer.writeInt32(value_scrollForward.valueOf()) - const value_scrollBackward = value.scrollBackward - valueSerializer.writeInt32(value_scrollBackward.valueOf()) - } writeDataResubmissionHandler(value: DataResubmissionHandler): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -4366,10 +4338,6 @@ export class Serializer extends SerializerBase { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFullScreenExitHandler(value: FullScreenExitHandler): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } writeFileSelectorParam(value: FileSelectorParam): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -4407,10 +4375,23 @@ export class Serializer extends SerializerBase { const value_captureMode = value.captureMode valueSerializer.writeInt32(value_captureMode.valueOf()) } + writeFullScreenExitHandler(value: FullScreenExitHandler): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + writeWebKeyboardController(value: WebKeyboardController): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeVideoController(value: VideoController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } + writeCustomTheme(value: CustomTheme): void { + let valueSerializer : Serializer = this + const value__CustomThemeStub = value._CustomThemeStub + valueSerializer.writeString(value__CustomThemeStub) + } writeTimePickerDialogOptions(value: TimePickerDialogOptions): void { let valueSerializer : Serializer = this const value_selected = value.selected @@ -5760,6 +5741,8 @@ export class Serializer extends SerializerBase { writeSymbolGlyphAttribute(value: SymbolGlyphAttribute): void { } writeSymbolEffect(value: SymbolEffect): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) } writeDigitIndicator(value: DigitIndicator): void { let valueSerializer : Serializer = this @@ -7288,6 +7271,35 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_navDestinationId_value) } } + writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { + let valueSerializer : Serializer = this + const value_onTransitionEnd = value.onTransitionEnd + let value_onTransitionEnd_type : int32 = RuntimeType.UNDEFINED + value_onTransitionEnd_type = runtimeType(value_onTransitionEnd) + valueSerializer.writeInt8(value_onTransitionEnd_type as int32) + if ((RuntimeType.UNDEFINED) != (value_onTransitionEnd_type)) { + const value_onTransitionEnd_value = value_onTransitionEnd! + valueSerializer.holdAndWriteCallback(value_onTransitionEnd_value) + } + const value_timeout = value.timeout + let value_timeout_type : int32 = RuntimeType.UNDEFINED + value_timeout_type = runtimeType(value_timeout) + valueSerializer.writeInt8(value_timeout_type as int32) + if ((RuntimeType.UNDEFINED) != (value_timeout_type)) { + const value_timeout_value = value_timeout! + valueSerializer.writeNumber(value_timeout_value) + } + const value_isInteractive = value.isInteractive + let value_isInteractive_type : int32 = RuntimeType.UNDEFINED + value_isInteractive_type = runtimeType(value_isInteractive) + valueSerializer.writeInt8(value_isInteractive_type as int32) + if ((RuntimeType.UNDEFINED) != (value_isInteractive_type)) { + const value_isInteractive_value = value_isInteractive! + valueSerializer.writeBoolean(value_isInteractive_value) + } + const value_transition = value.transition + valueSerializer.holdAndWriteCallback(value_transition) + } writeNavDestinationContext(value: NavDestinationContext): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -7709,8 +7721,7 @@ export class Serializer extends SerializerBase { } writeDrawableDescriptor(value: DrawableDescriptor): void { let valueSerializer : Serializer = this - const value__DrawableDescriptorStub = value._DrawableDescriptorStub - valueSerializer.writeString(value__DrawableDescriptorStub) + valueSerializer.writePointer(toPeerPtr(value)) } writeMatrix2D(value: Matrix2D): void { let valueSerializer : Serializer = this @@ -13860,36 +13871,6 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onFinish_value) } } - writeWithThemeOptions(value: WithThemeOptions): void { - let valueSerializer : Serializer = this - const value_theme = value.theme - let value_theme_type : int32 = RuntimeType.UNDEFINED - value_theme_type = runtimeType(value_theme) - valueSerializer.writeInt8(value_theme_type as int32) - if ((RuntimeType.UNDEFINED) != (value_theme_type)) { - const value_theme_value = value_theme! - valueSerializer.writeCustomTheme(value_theme_value) - } - const value_colorMode = value.colorMode - let value_colorMode_type : int32 = RuntimeType.UNDEFINED - value_colorMode_type = runtimeType(value_colorMode) - valueSerializer.writeInt8(value_colorMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { - const value_colorMode_value = (value_colorMode as ThemeColorMode) - valueSerializer.writeInt32(value_colorMode_value.valueOf()) - } - } - writeIsolatedOptions(value: IsolatedOptions): void { - let valueSerializer : Serializer = this - const value_want = value.want - valueSerializer.writeWant(value_want) - const value_worker = value.worker - valueSerializer.writeRestrictedWorker(value_worker) - } - writeWithThemeAttribute(value: WithThemeAttribute): void { - } - writeIsolatedComponentAttribute(value: IsolatedComponentAttribute): void { - } writeLinearIndicatorController(value: LinearIndicatorController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -14192,6 +14173,15 @@ export class Serializer extends SerializerBase { valueSerializer.writeBackgroundColorStyle(value_styledValue_12) } } + writeIsolatedComponentAttribute(value: IsolatedComponentAttribute): void { + } + writeIsolatedOptions(value: IsolatedOptions): void { + let valueSerializer : Serializer = this + const value_want = value.want + valueSerializer.writeWant(value_want) + const value_worker = value.worker + valueSerializer.writeRestrictedWorker(value_worker) + } writeReceiveCallback(value: ReceiveCallback): void { let valueSerializer : Serializer = this const value__ReceiveCallbackStub = value._ReceiveCallbackStub @@ -14346,51 +14336,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeImageAIOptions(value_imageAIOptions_value) } } - writeAdsBlockedDetails(value: AdsBlockedDetails): void { - let valueSerializer : Serializer = this - const value_url = value.url - valueSerializer.writeString(value_url) - const value_adsBlocked = value.adsBlocked - valueSerializer.writeInt32(value_adsBlocked.length as int32) - for (let i = 0; i < value_adsBlocked.length; i++) { - const value_adsBlocked_element : string = value_adsBlocked[i] - valueSerializer.writeString(value_adsBlocked_element) - } - } - writeWebKeyboardOptions(value: WebKeyboardOptions): void { - let valueSerializer : Serializer = this - const value_useSystemKeyboard = value.useSystemKeyboard - valueSerializer.writeBoolean(value_useSystemKeyboard) - const value_enterKeyType = value.enterKeyType - let value_enterKeyType_type : int32 = RuntimeType.UNDEFINED - value_enterKeyType_type = runtimeType(value_enterKeyType) - valueSerializer.writeInt8(value_enterKeyType_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enterKeyType_type)) { - const value_enterKeyType_value = value_enterKeyType! - valueSerializer.writeNumber(value_enterKeyType_value) - } - const value_customKeyboard = value.customKeyboard - let value_customKeyboard_type : int32 = RuntimeType.UNDEFINED - value_customKeyboard_type = runtimeType(value_customKeyboard) - valueSerializer.writeInt8(value_customKeyboard_type as int32) - if ((RuntimeType.UNDEFINED) != (value_customKeyboard_type)) { - const value_customKeyboard_value = value_customKeyboard! - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_customKeyboard_value)) - } - } - writeWebKeyboardCallbackInfo(value: WebKeyboardCallbackInfo): void { - let valueSerializer : Serializer = this - const value_controller = value.controller - valueSerializer.writeWebKeyboardController(value_controller) - const value_attributes = value.attributes - valueSerializer.writeInt32(value_attributes.size as int32 as int32) - for (const pair of value_attributes) { - const value_attributes_key = pair[0] - const value_attributes_value = pair[1] - valueSerializer.writeString(value_attributes_key) - valueSerializer.writeString(value_attributes_value) - } - } writeExpandedMenuItemOptions(value: ExpandedMenuItemOptions): void { let valueSerializer : Serializer = this const value_content = value.content @@ -14428,15 +14373,6 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeRenderProcessNotRespondingData(value: RenderProcessNotRespondingData): void { - let valueSerializer : Serializer = this - const value_jsStack = value.jsStack - valueSerializer.writeString(value_jsStack) - const value_pid = value.pid - valueSerializer.writeNumber(value_pid) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } writeNativeMediaPlayerConfig(value: NativeMediaPlayerConfig): void { let valueSerializer : Serializer = this const value_enable = value.enable @@ -14444,39 +14380,108 @@ export class Serializer extends SerializerBase { const value_shouldOverlay = value.shouldOverlay valueSerializer.writeBoolean(value_shouldOverlay) } - writeNativeEmbedTouchInfo(value: NativeEmbedTouchInfo): void { + writeScriptItem(value: ScriptItem): void { let valueSerializer : Serializer = this - const value_embedId = value.embedId - let value_embedId_type : int32 = RuntimeType.UNDEFINED - value_embedId_type = runtimeType(value_embedId) - valueSerializer.writeInt8(value_embedId_type as int32) - if ((RuntimeType.UNDEFINED) != (value_embedId_type)) { - const value_embedId_value = value_embedId! - valueSerializer.writeString(value_embedId_value) - } - const value_touchEvent = value.touchEvent - let value_touchEvent_type : int32 = RuntimeType.UNDEFINED - value_touchEvent_type = runtimeType(value_touchEvent) - valueSerializer.writeInt8(value_touchEvent_type as int32) - if ((RuntimeType.UNDEFINED) != (value_touchEvent_type)) { - const value_touchEvent_value = value_touchEvent! - valueSerializer.writeTouchEvent(value_touchEvent_value) + const value_script = value.script + valueSerializer.writeString(value_script) + const value_scriptRules = value.scriptRules + valueSerializer.writeInt32(value_scriptRules.length as int32) + for (let i = 0; i < value_scriptRules.length; i++) { + const value_scriptRules_element : string = value_scriptRules[i] + valueSerializer.writeString(value_scriptRules_element) } - const value_result = value.result - let value_result_type : int32 = RuntimeType.UNDEFINED - value_result_type = runtimeType(value_result) - valueSerializer.writeInt8(value_result_type as int32) - if ((RuntimeType.UNDEFINED) != (value_result_type)) { - const value_result_value = value_result! - valueSerializer.writeEventResult(value_result_value) + } + writeWebMediaOptions(value: WebMediaOptions): void { + let valueSerializer : Serializer = this + const value_resumeInterval = value.resumeInterval + let value_resumeInterval_type : int32 = RuntimeType.UNDEFINED + value_resumeInterval_type = runtimeType(value_resumeInterval) + valueSerializer.writeInt8(value_resumeInterval_type as int32) + if ((RuntimeType.UNDEFINED) != (value_resumeInterval_type)) { + const value_resumeInterval_value = value_resumeInterval! + valueSerializer.writeNumber(value_resumeInterval_value) + } + const value_audioExclusive = value.audioExclusive + let value_audioExclusive_type : int32 = RuntimeType.UNDEFINED + value_audioExclusive_type = runtimeType(value_audioExclusive) + valueSerializer.writeInt8(value_audioExclusive_type as int32) + if ((RuntimeType.UNDEFINED) != (value_audioExclusive_type)) { + const value_audioExclusive_value = value_audioExclusive! + valueSerializer.writeBoolean(value_audioExclusive_value) } } - writeNativeEmbedVisibilityInfo(value: NativeEmbedVisibilityInfo): void { + writeJavaScriptProxy(value: JavaScriptProxy): void { + let valueSerializer : Serializer = this + const value_object_ = value.object_ + valueSerializer.writeCustomObject("Object", value_object_) + const value_name = value.name + valueSerializer.writeString(value_name) + const value_methodList = value.methodList + valueSerializer.writeInt32(value_methodList.length as int32) + for (let i = 0; i < value_methodList.length; i++) { + const value_methodList_element : string = value_methodList[i] + valueSerializer.writeString(value_methodList_element) + } + const value_controller = value.controller + let value_controller_type : int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + if (TypeChecker.isWebController(value_controller)) { + valueSerializer.writeInt8(0 as int32) + const value_controller_0 = value_controller as WebController + valueSerializer.writeWebController(value_controller_0) + } + else if (TypeChecker.isWebviewController(value_controller)) { + valueSerializer.writeInt8(1 as int32) + const value_controller_1 = value_controller as WebviewController + valueSerializer.writeWebviewController(value_controller_1) + } + const value_asyncMethodList = value.asyncMethodList + let value_asyncMethodList_type : int32 = RuntimeType.UNDEFINED + value_asyncMethodList_type = runtimeType(value_asyncMethodList) + valueSerializer.writeInt8(value_asyncMethodList_type as int32) + if ((RuntimeType.UNDEFINED) != (value_asyncMethodList_type)) { + const value_asyncMethodList_value = value_asyncMethodList! + valueSerializer.writeInt32(value_asyncMethodList_value.length as int32) + for (let i = 0; i < value_asyncMethodList_value.length; i++) { + const value_asyncMethodList_value_element : string = value_asyncMethodList_value[i] + valueSerializer.writeString(value_asyncMethodList_value_element) + } + } + const value_permission = value.permission + let value_permission_type : int32 = RuntimeType.UNDEFINED + value_permission_type = runtimeType(value_permission) + valueSerializer.writeInt8(value_permission_type as int32) + if ((RuntimeType.UNDEFINED) != (value_permission_type)) { + const value_permission_value = value_permission! + valueSerializer.writeString(value_permission_value) + } + } + writeNativeEmbedTouchInfo(value: NativeEmbedTouchInfo): void { let valueSerializer : Serializer = this - const value_visibility = value.visibility - valueSerializer.writeBoolean(value_visibility) const value_embedId = value.embedId - valueSerializer.writeString(value_embedId) + let value_embedId_type : int32 = RuntimeType.UNDEFINED + value_embedId_type = runtimeType(value_embedId) + valueSerializer.writeInt8(value_embedId_type as int32) + if ((RuntimeType.UNDEFINED) != (value_embedId_type)) { + const value_embedId_value = value_embedId! + valueSerializer.writeString(value_embedId_value) + } + const value_touchEvent = value.touchEvent + let value_touchEvent_type : int32 = RuntimeType.UNDEFINED + value_touchEvent_type = runtimeType(value_touchEvent) + valueSerializer.writeInt8(value_touchEvent_type as int32) + if ((RuntimeType.UNDEFINED) != (value_touchEvent_type)) { + const value_touchEvent_value = value_touchEvent! + valueSerializer.writeTouchEvent(value_touchEvent_value) + } + const value_result = value.result + let value_result_type : int32 = RuntimeType.UNDEFINED + value_result_type = runtimeType(value_result) + valueSerializer.writeInt8(value_result_type as int32) + if ((RuntimeType.UNDEFINED) != (value_result_type)) { + const value_result_value = value_result! + valueSerializer.writeEventResult(value_result_value) + } } writeNativeEmbedDataInfo(value: NativeEmbedDataInfo): void { let valueSerializer : Serializer = this @@ -14513,37 +14518,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeNativeEmbedInfo(value_info_value) } } - writeScriptItem(value: ScriptItem): void { - let valueSerializer : Serializer = this - const value_script = value.script - valueSerializer.writeString(value_script) - const value_scriptRules = value.scriptRules - valueSerializer.writeInt32(value_scriptRules.length as int32) - for (let i = 0; i < value_scriptRules.length; i++) { - const value_scriptRules_element : string = value_scriptRules[i] - valueSerializer.writeString(value_scriptRules_element) - } - } - writeIntelligentTrackingPreventionDetails(value: IntelligentTrackingPreventionDetails): void { - let valueSerializer : Serializer = this - const value_host = value.host - valueSerializer.writeString(value_host) - const value_trackerHost = value.trackerHost - valueSerializer.writeString(value_trackerHost) - } - writeLoadCommittedDetails(value: LoadCommittedDetails): void { - let valueSerializer : Serializer = this - const value_isMainFrame = value.isMainFrame - valueSerializer.writeBoolean(value_isMainFrame) - const value_isSameDocument = value.isSameDocument - valueSerializer.writeBoolean(value_isSameDocument) - const value_didReplaceEntry = value.didReplaceEntry - valueSerializer.writeBoolean(value_didReplaceEntry) - const value_navigationType = value.navigationType - valueSerializer.writeInt32(value_navigationType.valueOf()) - const value_url = value.url - valueSerializer.writeString(value_url) - } writeOnOverScrollEvent(value: OnOverScrollEvent): void { let valueSerializer : Serializer = this const value_xOffset = value.xOffset @@ -14556,76 +14530,6 @@ export class Serializer extends SerializerBase { const value_data = value.data valueSerializer.writeWebResourceRequest(value_data) } - writeLargestContentfulPaint(value: LargestContentfulPaint): void { - let valueSerializer : Serializer = this - const value_navigationStartTime = value.navigationStartTime - let value_navigationStartTime_type : int32 = RuntimeType.UNDEFINED - value_navigationStartTime_type = runtimeType(value_navigationStartTime) - valueSerializer.writeInt8(value_navigationStartTime_type as int32) - if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { - const value_navigationStartTime_value = value_navigationStartTime! - valueSerializer.writeNumber(value_navigationStartTime_value) - } - const value_largestImagePaintTime = value.largestImagePaintTime - let value_largestImagePaintTime_type : int32 = RuntimeType.UNDEFINED - value_largestImagePaintTime_type = runtimeType(value_largestImagePaintTime) - valueSerializer.writeInt8(value_largestImagePaintTime_type as int32) - if ((RuntimeType.UNDEFINED) != (value_largestImagePaintTime_type)) { - const value_largestImagePaintTime_value = value_largestImagePaintTime! - valueSerializer.writeNumber(value_largestImagePaintTime_value) - } - const value_largestTextPaintTime = value.largestTextPaintTime - let value_largestTextPaintTime_type : int32 = RuntimeType.UNDEFINED - value_largestTextPaintTime_type = runtimeType(value_largestTextPaintTime) - valueSerializer.writeInt8(value_largestTextPaintTime_type as int32) - if ((RuntimeType.UNDEFINED) != (value_largestTextPaintTime_type)) { - const value_largestTextPaintTime_value = value_largestTextPaintTime! - valueSerializer.writeNumber(value_largestTextPaintTime_value) - } - const value_imageBPP = value.imageBPP - let value_imageBPP_type : int32 = RuntimeType.UNDEFINED - value_imageBPP_type = runtimeType(value_imageBPP) - valueSerializer.writeInt8(value_imageBPP_type as int32) - if ((RuntimeType.UNDEFINED) != (value_imageBPP_type)) { - const value_imageBPP_value = value_imageBPP! - valueSerializer.writeNumber(value_imageBPP_value) - } - const value_largestImageLoadStartTime = value.largestImageLoadStartTime - let value_largestImageLoadStartTime_type : int32 = RuntimeType.UNDEFINED - value_largestImageLoadStartTime_type = runtimeType(value_largestImageLoadStartTime) - valueSerializer.writeInt8(value_largestImageLoadStartTime_type as int32) - if ((RuntimeType.UNDEFINED) != (value_largestImageLoadStartTime_type)) { - const value_largestImageLoadStartTime_value = value_largestImageLoadStartTime! - valueSerializer.writeNumber(value_largestImageLoadStartTime_value) - } - const value_largestImageLoadEndTime = value.largestImageLoadEndTime - let value_largestImageLoadEndTime_type : int32 = RuntimeType.UNDEFINED - value_largestImageLoadEndTime_type = runtimeType(value_largestImageLoadEndTime) - valueSerializer.writeInt8(value_largestImageLoadEndTime_type as int32) - if ((RuntimeType.UNDEFINED) != (value_largestImageLoadEndTime_type)) { - const value_largestImageLoadEndTime_value = value_largestImageLoadEndTime! - valueSerializer.writeNumber(value_largestImageLoadEndTime_value) - } - } - writeFirstMeaningfulPaint(value: FirstMeaningfulPaint): void { - let valueSerializer : Serializer = this - const value_navigationStartTime = value.navigationStartTime - let value_navigationStartTime_type : int32 = RuntimeType.UNDEFINED - value_navigationStartTime_type = runtimeType(value_navigationStartTime) - valueSerializer.writeInt8(value_navigationStartTime_type as int32) - if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { - const value_navigationStartTime_value = value_navigationStartTime! - valueSerializer.writeNumber(value_navigationStartTime_value) - } - const value_firstMeaningfulPaintTime = value.firstMeaningfulPaintTime - let value_firstMeaningfulPaintTime_type : int32 = RuntimeType.UNDEFINED - value_firstMeaningfulPaintTime_type = runtimeType(value_firstMeaningfulPaintTime) - valueSerializer.writeInt8(value_firstMeaningfulPaintTime_type as int32) - if ((RuntimeType.UNDEFINED) != (value_firstMeaningfulPaintTime_type)) { - const value_firstMeaningfulPaintTime_value = value_firstMeaningfulPaintTime! - valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value) - } - } writeOnFirstContentfulPaintEvent(value: OnFirstContentfulPaintEvent): void { let valueSerializer : Serializer = this const value_navigationStartTick = value.navigationStartTick @@ -14692,23 +14596,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_issuers_element) } } - writeSslErrorEvent(value: SslErrorEvent): void { - let valueSerializer : Serializer = this - const value_handler = value.handler - valueSerializer.writeSslErrorHandler(value_handler) - const value_error = value.error - valueSerializer.writeInt32(value_error.valueOf()) - const value_url = value.url - valueSerializer.writeString(value_url) - const value_originalUrl = value.originalUrl - valueSerializer.writeString(value_originalUrl) - const value_referrer = value.referrer - valueSerializer.writeString(value_referrer) - const value_isFatalError = value.isFatalError - valueSerializer.writeBoolean(value_isFatalError) - const value_isMainFrame = value.isMainFrame - valueSerializer.writeBoolean(value_isMainFrame) - } writeOnSslErrorEventReceiveEvent(value: OnSslErrorEventReceiveEvent): void { let valueSerializer : Serializer = this const value_handler = value.handler @@ -14782,27 +14669,6 @@ export class Serializer extends SerializerBase { const value_newScale = value.newScale valueSerializer.writeNumber(value_newScale) } - writeFullScreenEnterEvent(value: FullScreenEnterEvent): void { - let valueSerializer : Serializer = this - const value_handler = value.handler - valueSerializer.writeFullScreenExitHandler(value_handler) - const value_videoWidth = value.videoWidth - let value_videoWidth_type : int32 = RuntimeType.UNDEFINED - value_videoWidth_type = runtimeType(value_videoWidth) - valueSerializer.writeInt8(value_videoWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_videoWidth_type)) { - const value_videoWidth_value = value_videoWidth! - valueSerializer.writeNumber(value_videoWidth_value) - } - const value_videoHeight = value.videoHeight - let value_videoHeight_type : int32 = RuntimeType.UNDEFINED - value_videoHeight_type = runtimeType(value_videoHeight) - valueSerializer.writeInt8(value_videoHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_videoHeight_type)) { - const value_videoHeight_value = value_videoHeight! - valueSerializer.writeNumber(value_videoHeight_value) - } - } writeOnResourceLoadEvent(value: OnResourceLoadEvent): void { let valueSerializer : Serializer = this const value_url = value.url @@ -14924,71 +14790,6 @@ export class Serializer extends SerializerBase { const value_url = value.url valueSerializer.writeString(value_url) } - writeWebMediaOptions(value: WebMediaOptions): void { - let valueSerializer : Serializer = this - const value_resumeInterval = value.resumeInterval - let value_resumeInterval_type : int32 = RuntimeType.UNDEFINED - value_resumeInterval_type = runtimeType(value_resumeInterval) - valueSerializer.writeInt8(value_resumeInterval_type as int32) - if ((RuntimeType.UNDEFINED) != (value_resumeInterval_type)) { - const value_resumeInterval_value = value_resumeInterval! - valueSerializer.writeNumber(value_resumeInterval_value) - } - const value_audioExclusive = value.audioExclusive - let value_audioExclusive_type : int32 = RuntimeType.UNDEFINED - value_audioExclusive_type = runtimeType(value_audioExclusive) - valueSerializer.writeInt8(value_audioExclusive_type as int32) - if ((RuntimeType.UNDEFINED) != (value_audioExclusive_type)) { - const value_audioExclusive_value = value_audioExclusive! - valueSerializer.writeBoolean(value_audioExclusive_value) - } - } - writeJavaScriptProxy(value: JavaScriptProxy): void { - let valueSerializer : Serializer = this - const value_object_ = value.object_ - valueSerializer.writeCustomObject("Object", value_object_) - const value_name = value.name - valueSerializer.writeString(value_name) - const value_methodList = value.methodList - valueSerializer.writeInt32(value_methodList.length as int32) - for (let i = 0; i < value_methodList.length; i++) { - const value_methodList_element : string = value_methodList[i] - valueSerializer.writeString(value_methodList_element) - } - const value_controller = value.controller - let value_controller_type : int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - if (TypeChecker.isWebController(value_controller)) { - valueSerializer.writeInt8(0 as int32) - const value_controller_0 = value_controller as WebController - valueSerializer.writeWebController(value_controller_0) - } - else if (TypeChecker.isWebviewController(value_controller)) { - valueSerializer.writeInt8(1 as int32) - const value_controller_1 = value_controller as WebviewController - valueSerializer.writeWebviewController(value_controller_1) - } - const value_asyncMethodList = value.asyncMethodList - let value_asyncMethodList_type : int32 = RuntimeType.UNDEFINED - value_asyncMethodList_type = runtimeType(value_asyncMethodList) - valueSerializer.writeInt8(value_asyncMethodList_type as int32) - if ((RuntimeType.UNDEFINED) != (value_asyncMethodList_type)) { - const value_asyncMethodList_value = value_asyncMethodList! - valueSerializer.writeInt32(value_asyncMethodList_value.length as int32) - for (let i = 0; i < value_asyncMethodList_value.length; i++) { - const value_asyncMethodList_value_element : string = value_asyncMethodList_value[i] - valueSerializer.writeString(value_asyncMethodList_value_element) - } - } - const value_permission = value.permission - let value_permission_type : int32 = RuntimeType.UNDEFINED - value_permission_type = runtimeType(value_permission) - valueSerializer.writeInt8(value_permission_type as int32) - if ((RuntimeType.UNDEFINED) != (value_permission_type)) { - const value_permission_value = value_permission! - valueSerializer.writeString(value_permission_value) - } - } writeWebOptions(value: WebOptions): void { let valueSerializer : Serializer = this const value_src = value.src @@ -15033,21 +14834,210 @@ export class Serializer extends SerializerBase { const value_incognitoMode_value = value_incognitoMode! valueSerializer.writeBoolean(value_incognitoMode_value) } - const value_sharedRenderProcessToken = value.sharedRenderProcessToken - let value_sharedRenderProcessToken_type : int32 = RuntimeType.UNDEFINED - value_sharedRenderProcessToken_type = runtimeType(value_sharedRenderProcessToken) - valueSerializer.writeInt8(value_sharedRenderProcessToken_type as int32) - if ((RuntimeType.UNDEFINED) != (value_sharedRenderProcessToken_type)) { - const value_sharedRenderProcessToken_value = value_sharedRenderProcessToken! - valueSerializer.writeString(value_sharedRenderProcessToken_value) + const value_sharedRenderProcessToken = value.sharedRenderProcessToken + let value_sharedRenderProcessToken_type : int32 = RuntimeType.UNDEFINED + value_sharedRenderProcessToken_type = runtimeType(value_sharedRenderProcessToken) + valueSerializer.writeInt8(value_sharedRenderProcessToken_type as int32) + if ((RuntimeType.UNDEFINED) != (value_sharedRenderProcessToken_type)) { + const value_sharedRenderProcessToken_value = value_sharedRenderProcessToken! + valueSerializer.writeString(value_sharedRenderProcessToken_value) + } + } + writeHeader(value: Header): void { + let valueSerializer : Serializer = this + const value_headerKey = value.headerKey + valueSerializer.writeString(value_headerKey) + const value_headerValue = value.headerValue + valueSerializer.writeString(value_headerValue) + } + writeFullScreenEnterEvent(value: FullScreenEnterEvent): void { + let valueSerializer : Serializer = this + const value_handler = value.handler + valueSerializer.writeFullScreenExitHandler(value_handler) + const value_videoWidth = value.videoWidth + let value_videoWidth_type : int32 = RuntimeType.UNDEFINED + value_videoWidth_type = runtimeType(value_videoWidth) + valueSerializer.writeInt8(value_videoWidth_type as int32) + if ((RuntimeType.UNDEFINED) != (value_videoWidth_type)) { + const value_videoWidth_value = value_videoWidth! + valueSerializer.writeNumber(value_videoWidth_value) + } + const value_videoHeight = value.videoHeight + let value_videoHeight_type : int32 = RuntimeType.UNDEFINED + value_videoHeight_type = runtimeType(value_videoHeight) + valueSerializer.writeInt8(value_videoHeight_type as int32) + if ((RuntimeType.UNDEFINED) != (value_videoHeight_type)) { + const value_videoHeight_value = value_videoHeight! + valueSerializer.writeNumber(value_videoHeight_value) + } + } + writeWebKeyboardOptions(value: WebKeyboardOptions): void { + let valueSerializer : Serializer = this + const value_useSystemKeyboard = value.useSystemKeyboard + valueSerializer.writeBoolean(value_useSystemKeyboard) + const value_enterKeyType = value.enterKeyType + let value_enterKeyType_type : int32 = RuntimeType.UNDEFINED + value_enterKeyType_type = runtimeType(value_enterKeyType) + valueSerializer.writeInt8(value_enterKeyType_type as int32) + if ((RuntimeType.UNDEFINED) != (value_enterKeyType_type)) { + const value_enterKeyType_value = value_enterKeyType! + valueSerializer.writeNumber(value_enterKeyType_value) + } + const value_customKeyboard = value.customKeyboard + let value_customKeyboard_type : int32 = RuntimeType.UNDEFINED + value_customKeyboard_type = runtimeType(value_customKeyboard) + valueSerializer.writeInt8(value_customKeyboard_type as int32) + if ((RuntimeType.UNDEFINED) != (value_customKeyboard_type)) { + const value_customKeyboard_value = value_customKeyboard! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_customKeyboard_value)) + } + } + writeWebKeyboardCallbackInfo(value: WebKeyboardCallbackInfo): void { + let valueSerializer : Serializer = this + const value_controller = value.controller + valueSerializer.writeWebKeyboardController(value_controller) + const value_attributes = value.attributes + valueSerializer.writeInt32(value_attributes.size as int32 as int32) + for (const pair of value_attributes) { + const value_attributes_key = pair[0] + const value_attributes_value = pair[1] + valueSerializer.writeString(value_attributes_key) + valueSerializer.writeString(value_attributes_value) + } + } + writeAdsBlockedDetails(value: AdsBlockedDetails): void { + let valueSerializer : Serializer = this + const value_url = value.url + valueSerializer.writeString(value_url) + const value_adsBlocked = value.adsBlocked + valueSerializer.writeInt32(value_adsBlocked.length as int32) + for (let i = 0; i < value_adsBlocked.length; i++) { + const value_adsBlocked_element : string = value_adsBlocked[i] + valueSerializer.writeString(value_adsBlocked_element) + } + } + writeRenderProcessNotRespondingData(value: RenderProcessNotRespondingData): void { + let valueSerializer : Serializer = this + const value_jsStack = value.jsStack + valueSerializer.writeString(value_jsStack) + const value_pid = value.pid + valueSerializer.writeNumber(value_pid) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } + writeNativeEmbedVisibilityInfo(value: NativeEmbedVisibilityInfo): void { + let valueSerializer : Serializer = this + const value_visibility = value.visibility + valueSerializer.writeBoolean(value_visibility) + const value_embedId = value.embedId + valueSerializer.writeString(value_embedId) + } + writeIntelligentTrackingPreventionDetails(value: IntelligentTrackingPreventionDetails): void { + let valueSerializer : Serializer = this + const value_host = value.host + valueSerializer.writeString(value_host) + const value_trackerHost = value.trackerHost + valueSerializer.writeString(value_trackerHost) + } + writeFirstMeaningfulPaint(value: FirstMeaningfulPaint): void { + let valueSerializer : Serializer = this + const value_navigationStartTime = value.navigationStartTime + let value_navigationStartTime_type : int32 = RuntimeType.UNDEFINED + value_navigationStartTime_type = runtimeType(value_navigationStartTime) + valueSerializer.writeInt8(value_navigationStartTime_type as int32) + if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { + const value_navigationStartTime_value = value_navigationStartTime! + valueSerializer.writeNumber(value_navigationStartTime_value) + } + const value_firstMeaningfulPaintTime = value.firstMeaningfulPaintTime + let value_firstMeaningfulPaintTime_type : int32 = RuntimeType.UNDEFINED + value_firstMeaningfulPaintTime_type = runtimeType(value_firstMeaningfulPaintTime) + valueSerializer.writeInt8(value_firstMeaningfulPaintTime_type as int32) + if ((RuntimeType.UNDEFINED) != (value_firstMeaningfulPaintTime_type)) { + const value_firstMeaningfulPaintTime_value = value_firstMeaningfulPaintTime! + valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value) + } + } + writeLargestContentfulPaint(value: LargestContentfulPaint): void { + let valueSerializer : Serializer = this + const value_navigationStartTime = value.navigationStartTime + let value_navigationStartTime_type : int32 = RuntimeType.UNDEFINED + value_navigationStartTime_type = runtimeType(value_navigationStartTime) + valueSerializer.writeInt8(value_navigationStartTime_type as int32) + if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { + const value_navigationStartTime_value = value_navigationStartTime! + valueSerializer.writeNumber(value_navigationStartTime_value) + } + const value_largestImagePaintTime = value.largestImagePaintTime + let value_largestImagePaintTime_type : int32 = RuntimeType.UNDEFINED + value_largestImagePaintTime_type = runtimeType(value_largestImagePaintTime) + valueSerializer.writeInt8(value_largestImagePaintTime_type as int32) + if ((RuntimeType.UNDEFINED) != (value_largestImagePaintTime_type)) { + const value_largestImagePaintTime_value = value_largestImagePaintTime! + valueSerializer.writeNumber(value_largestImagePaintTime_value) + } + const value_largestTextPaintTime = value.largestTextPaintTime + let value_largestTextPaintTime_type : int32 = RuntimeType.UNDEFINED + value_largestTextPaintTime_type = runtimeType(value_largestTextPaintTime) + valueSerializer.writeInt8(value_largestTextPaintTime_type as int32) + if ((RuntimeType.UNDEFINED) != (value_largestTextPaintTime_type)) { + const value_largestTextPaintTime_value = value_largestTextPaintTime! + valueSerializer.writeNumber(value_largestTextPaintTime_value) + } + const value_imageBPP = value.imageBPP + let value_imageBPP_type : int32 = RuntimeType.UNDEFINED + value_imageBPP_type = runtimeType(value_imageBPP) + valueSerializer.writeInt8(value_imageBPP_type as int32) + if ((RuntimeType.UNDEFINED) != (value_imageBPP_type)) { + const value_imageBPP_value = value_imageBPP! + valueSerializer.writeNumber(value_imageBPP_value) + } + const value_largestImageLoadStartTime = value.largestImageLoadStartTime + let value_largestImageLoadStartTime_type : int32 = RuntimeType.UNDEFINED + value_largestImageLoadStartTime_type = runtimeType(value_largestImageLoadStartTime) + valueSerializer.writeInt8(value_largestImageLoadStartTime_type as int32) + if ((RuntimeType.UNDEFINED) != (value_largestImageLoadStartTime_type)) { + const value_largestImageLoadStartTime_value = value_largestImageLoadStartTime! + valueSerializer.writeNumber(value_largestImageLoadStartTime_value) + } + const value_largestImageLoadEndTime = value.largestImageLoadEndTime + let value_largestImageLoadEndTime_type : int32 = RuntimeType.UNDEFINED + value_largestImageLoadEndTime_type = runtimeType(value_largestImageLoadEndTime) + valueSerializer.writeInt8(value_largestImageLoadEndTime_type as int32) + if ((RuntimeType.UNDEFINED) != (value_largestImageLoadEndTime_type)) { + const value_largestImageLoadEndTime_value = value_largestImageLoadEndTime! + valueSerializer.writeNumber(value_largestImageLoadEndTime_value) } } - writeHeader(value: Header): void { + writeSslErrorEvent(value: SslErrorEvent): void { let valueSerializer : Serializer = this - const value_headerKey = value.headerKey - valueSerializer.writeString(value_headerKey) - const value_headerValue = value.headerValue - valueSerializer.writeString(value_headerValue) + const value_handler = value.handler + valueSerializer.writeSslErrorHandler(value_handler) + const value_error = value.error + valueSerializer.writeInt32(value_error.valueOf()) + const value_url = value.url + valueSerializer.writeString(value_url) + const value_originalUrl = value.originalUrl + valueSerializer.writeString(value_originalUrl) + const value_referrer = value.referrer + valueSerializer.writeString(value_referrer) + const value_isFatalError = value.isFatalError + valueSerializer.writeBoolean(value_isFatalError) + const value_isMainFrame = value.isMainFrame + valueSerializer.writeBoolean(value_isMainFrame) + } + writeLoadCommittedDetails(value: LoadCommittedDetails): void { + let valueSerializer : Serializer = this + const value_isMainFrame = value.isMainFrame + valueSerializer.writeBoolean(value_isMainFrame) + const value_isSameDocument = value.isSameDocument + valueSerializer.writeBoolean(value_isSameDocument) + const value_didReplaceEntry = value.didReplaceEntry + valueSerializer.writeBoolean(value_didReplaceEntry) + const value_navigationType = value.navigationType + valueSerializer.writeInt32(value_navigationType.valueOf()) + const value_url = value.url + valueSerializer.writeString(value_url) } writePlaybackInfo(value: PlaybackInfo): void { let valueSerializer : Serializer = this @@ -15150,6 +15140,27 @@ export class Serializer extends SerializerBase { valueSerializer.writeImageAIOptions(value_imageAIOptions_value) } } + writeWithThemeAttribute(value: WithThemeAttribute): void { + } + writeWithThemeOptions(value: WithThemeOptions): void { + let valueSerializer : Serializer = this + const value_theme = value.theme + let value_theme_type : int32 = RuntimeType.UNDEFINED + value_theme_type = runtimeType(value_theme) + valueSerializer.writeInt8(value_theme_type as int32) + if ((RuntimeType.UNDEFINED) != (value_theme_type)) { + const value_theme_value = value_theme! + valueSerializer.writeCustomTheme(value_theme_value) + } + const value_colorMode = value.colorMode + let value_colorMode_type : int32 = RuntimeType.UNDEFINED + value_colorMode_type = runtimeType(value_colorMode) + valueSerializer.writeInt8(value_colorMode_type as int32) + if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { + const value_colorMode_value = (value_colorMode as ThemeColorMode) + valueSerializer.writeInt32(value_colorMode_value.valueOf()) + } + } writeSwitchStyle(value: SwitchStyle): void { let valueSerializer : Serializer = this const value_pointRadius = value.pointRadius @@ -15699,10 +15710,6 @@ export class Serializer extends SerializerBase { const value_controller = value.controller valueSerializer.writeTextController(value_controller) } - writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } writeBarGridColumnOptions(value: BarGridColumnOptions): void { let valueSerializer : Serializer = this const value_sm = value.sm @@ -15746,6 +15753,10 @@ export class Serializer extends SerializerBase { valueSerializer.writeLength(value_gutter_value) } } + writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeTabsAnimationEvent(value: TabsAnimationEvent): void { let valueSerializer : Serializer = this const value_currentOffset = value.currentOffset @@ -15782,6 +15793,10 @@ export class Serializer extends SerializerBase { valueSerializer.writeTabsController(value_controller_value) } } + writePulseSymbolEffect(value: PulseSymbolEffect): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeBounceSymbolEffect(value: BounceSymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -15815,6 +15830,10 @@ export class Serializer extends SerializerBase { const value_transition = value.transition valueSerializer.holdAndWriteCallback(value_transition) } + writeIndicatorComponentController(value: IndicatorComponentController): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeSwiperAnimationEvent(value: SwiperAnimationEvent): void { let valueSerializer : Serializer = this const value_currentOffset = value.currentOffset @@ -15824,10 +15843,6 @@ export class Serializer extends SerializerBase { const value_velocity = value.velocity valueSerializer.writeNumber(value_velocity) } - writeIndicatorComponentController(value: IndicatorComponentController): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } writeSwiperController(value: SwiperController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -16075,22 +16090,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) } } - writeDeleteValue(value: DeleteValue): void { - let valueSerializer : Serializer = this - const value_deleteOffset = value.deleteOffset - valueSerializer.writeNumber(value_deleteOffset) - const value_direction = value.direction - valueSerializer.writeInt32(value_direction.valueOf()) - const value_deleteValue = value.deleteValue - valueSerializer.writeString(value_deleteValue) - } - writeInsertValue(value: InsertValue): void { - let valueSerializer : Serializer = this - const value_insertOffset = value.insertOffset - valueSerializer.writeNumber(value_insertOffset) - const value_insertValue = value.insertValue - valueSerializer.writeString(value_insertValue) - } writeTextDecorationOptions(value: TextDecorationOptions): void { let valueSerializer : Serializer = this const value_type = value.type @@ -16173,6 +16172,22 @@ export class Serializer extends SerializerBase { } } } + writeDeleteValue(value: DeleteValue): void { + let valueSerializer : Serializer = this + const value_deleteOffset = value.deleteOffset + valueSerializer.writeNumber(value_deleteOffset) + const value_direction = value.direction + valueSerializer.writeInt32(value_direction.valueOf()) + const value_deleteValue = value.deleteValue + valueSerializer.writeString(value_deleteValue) + } + writeInsertValue(value: InsertValue): void { + let valueSerializer : Serializer = this + const value_insertOffset = value.insertOffset + valueSerializer.writeNumber(value_insertOffset) + const value_insertValue = value.insertValue + valueSerializer.writeString(value_insertValue) + } writeSearchOptions(value: SearchOptions): void { let valueSerializer : Serializer = this const value_value = value.value @@ -16373,51 +16388,6 @@ export class Serializer extends SerializerBase { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCopyEvent(value: CopyEvent): void { - let valueSerializer : Serializer = this - const value_preventDefault = value.preventDefault - let value_preventDefault_type : int32 = RuntimeType.UNDEFINED - value_preventDefault_type = runtimeType(value_preventDefault) - valueSerializer.writeInt8(value_preventDefault_type as int32) - if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { - const value_preventDefault_value = value_preventDefault! - valueSerializer.holdAndWriteCallback(value_preventDefault_value) - } - } - writeCutEvent(value: CutEvent): void { - let valueSerializer : Serializer = this - const value_preventDefault = value.preventDefault - let value_preventDefault_type : int32 = RuntimeType.UNDEFINED - value_preventDefault_type = runtimeType(value_preventDefault) - valueSerializer.writeInt8(value_preventDefault_type as int32) - if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { - const value_preventDefault_value = value_preventDefault! - valueSerializer.holdAndWriteCallback(value_preventDefault_value) - } - } - writeRichEditorChangeValue(value: RichEditorChangeValue): void { - let valueSerializer : Serializer = this - const value_rangeBefore = value.rangeBefore - valueSerializer.writeTextRange(value_rangeBefore) - const value_replacedSpans = value.replacedSpans - valueSerializer.writeInt32(value_replacedSpans.length as int32) - for (let i = 0; i < value_replacedSpans.length; i++) { - const value_replacedSpans_element : RichEditorTextSpanResult = value_replacedSpans[i] - valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element) - } - const value_replacedImageSpans = value.replacedImageSpans - valueSerializer.writeInt32(value_replacedImageSpans.length as int32) - for (let i = 0; i < value_replacedImageSpans.length; i++) { - const value_replacedImageSpans_element : RichEditorImageSpanResult = value_replacedImageSpans[i] - valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element) - } - const value_replacedSymbolSpans = value.replacedSymbolSpans - valueSerializer.writeInt32(value_replacedSymbolSpans.length as int32) - for (let i = 0; i < value_replacedSymbolSpans.length; i++) { - const value_replacedSymbolSpans_element : RichEditorTextSpanResult = value_replacedSymbolSpans[i] - valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element) - } - } writeSubmitEvent(value: SubmitEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -16487,6 +16457,51 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_preventDefault_value) } } + writeCopyEvent(value: CopyEvent): void { + let valueSerializer : Serializer = this + const value_preventDefault = value.preventDefault + let value_preventDefault_type : int32 = RuntimeType.UNDEFINED + value_preventDefault_type = runtimeType(value_preventDefault) + valueSerializer.writeInt8(value_preventDefault_type as int32) + if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { + const value_preventDefault_value = value_preventDefault! + valueSerializer.holdAndWriteCallback(value_preventDefault_value) + } + } + writeCutEvent(value: CutEvent): void { + let valueSerializer : Serializer = this + const value_preventDefault = value.preventDefault + let value_preventDefault_type : int32 = RuntimeType.UNDEFINED + value_preventDefault_type = runtimeType(value_preventDefault) + valueSerializer.writeInt8(value_preventDefault_type as int32) + if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { + const value_preventDefault_value = value_preventDefault! + valueSerializer.holdAndWriteCallback(value_preventDefault_value) + } + } + writeRichEditorChangeValue(value: RichEditorChangeValue): void { + let valueSerializer : Serializer = this + const value_rangeBefore = value.rangeBefore + valueSerializer.writeTextRange(value_rangeBefore) + const value_replacedSpans = value.replacedSpans + valueSerializer.writeInt32(value_replacedSpans.length as int32) + for (let i = 0; i < value_replacedSpans.length; i++) { + const value_replacedSpans_element : RichEditorTextSpanResult = value_replacedSpans[i] + valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element) + } + const value_replacedImageSpans = value.replacedImageSpans + valueSerializer.writeInt32(value_replacedImageSpans.length as int32) + for (let i = 0; i < value_replacedImageSpans.length; i++) { + const value_replacedImageSpans_element : RichEditorImageSpanResult = value_replacedImageSpans[i] + valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element) + } + const value_replacedSymbolSpans = value.replacedSymbolSpans + valueSerializer.writeInt32(value_replacedSymbolSpans.length as int32) + for (let i = 0; i < value_replacedSymbolSpans.length; i++) { + const value_replacedSymbolSpans_element : RichEditorTextSpanResult = value_replacedSymbolSpans[i] + valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element) + } + } writeRichEditorDeleteValue(value: RichEditorDeleteValue): void { let valueSerializer : Serializer = this const value_offset = value.offset @@ -16929,13 +16944,6 @@ export class Serializer extends SerializerBase { } } } - writePluginErrorData(value: PluginErrorData): void { - let valueSerializer : Serializer = this - const value_errcode = value.errcode - valueSerializer.writeNumber(value_errcode) - const value_msg = value.msg - valueSerializer.writeString(value_msg) - } writePluginComponentOptions(value: PluginComponentOptions): void { let valueSerializer : Serializer = this const value_template = value.template @@ -16943,6 +16951,13 @@ export class Serializer extends SerializerBase { const value_data = value.data valueSerializer.writeString(value_data) } + writePluginErrorData(value: PluginErrorData): void { + let valueSerializer : Serializer = this + const value_errcode = value.errcode + valueSerializer.writeNumber(value_errcode) + const value_msg = value.msg + valueSerializer.writeString(value_msg) + } writePatternLockController(value: PatternLockController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -18328,34 +18343,17 @@ export class Serializer extends SerializerBase { value_alignContent_type = runtimeType(value_alignContent) valueSerializer.writeInt8(value_alignContent_type as int32) if ((RuntimeType.UNDEFINED) != (value_alignContent_type)) { - const value_alignContent_value = (value_alignContent as FlexAlign) - valueSerializer.writeInt32(value_alignContent_value.valueOf()) - } - const value_space = value.space - let value_space_type : int32 = RuntimeType.UNDEFINED - value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type as int32) - if ((RuntimeType.UNDEFINED) != (value_space_type)) { - const value_space_value = value_space! - valueSerializer.writeFlexSpaceOptions(value_space_value) - } - } - writeBusinessError(value: BusinessError): void { - let valueSerializer : Serializer = this - const value_name = value.name - valueSerializer.writeString(value_name) - const value_message = value.message - valueSerializer.writeString(value_message) - const value_stack = value.stack - let value_stack_type : int32 = RuntimeType.UNDEFINED - value_stack_type = runtimeType(value_stack) - valueSerializer.writeInt8(value_stack_type as int32) - if ((RuntimeType.UNDEFINED) != (value_stack_type)) { - const value_stack_value = value_stack! - valueSerializer.writeString(value_stack_value) + const value_alignContent_value = (value_alignContent as FlexAlign) + valueSerializer.writeInt32(value_alignContent_value.valueOf()) + } + const value_space = value.space + let value_space_type : int32 = RuntimeType.UNDEFINED + value_space_type = runtimeType(value_space) + valueSerializer.writeInt8(value_space_type as int32) + if ((RuntimeType.UNDEFINED) != (value_space_type)) { + const value_space_value = value_space! + valueSerializer.writeFlexSpaceOptions(value_space_value) } - const value_code = value.code - valueSerializer.writeNumber(value_code) } writeTerminationInfo(value: TerminationInfo): void { let valueSerializer : Serializer = this @@ -19221,30 +19219,6 @@ export class Serializer extends SerializerBase { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSpringBackAction(value: SpringBackAction): void { - let valueSerializer : Serializer = this - const value_springBack = value.springBack - valueSerializer.holdAndWriteCallback(value_springBack) - } - writeDismissSheetAction(value: DismissSheetAction): void { - let valueSerializer : Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } - writeSheetDismiss(value: SheetDismiss): void { - let valueSerializer : Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - } - writeDismissContentCoverAction(value: DismissContentCoverAction): void { - let valueSerializer : Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } writeMenuElement(value: MenuElement): void { let valueSerializer : Serializer = this const value_value = value.value @@ -19298,53 +19272,6 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeDismissPopupAction(value: DismissPopupAction): void { - let valueSerializer : Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } - writeGestureRecognizer(value: GestureRecognizer): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeFingerInfo(value: FingerInfo): void { - let valueSerializer : Serializer = this - const value_id = value.id - valueSerializer.writeNumber(value_id) - const value_globalX = value.globalX - valueSerializer.writeNumber(value_globalX) - const value_globalY = value.globalY - valueSerializer.writeNumber(value_globalY) - const value_localX = value.localX - valueSerializer.writeNumber(value_localX) - const value_localY = value.localY - valueSerializer.writeNumber(value_localY) - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - } - writeBaseGestureEvent(value: BaseGestureEvent): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeGestureInfo(value: GestureInfo): void { - let valueSerializer : Serializer = this - const value_tag = value.tag - let value_tag_type : int32 = RuntimeType.UNDEFINED - value_tag_type = runtimeType(value_tag) - valueSerializer.writeInt8(value_tag_type as int32) - if ((RuntimeType.UNDEFINED) != (value_tag_type)) { - const value_tag_value = value_tag! - valueSerializer.writeString(value_tag_value) - } - const value_type = value.type - valueSerializer.writeInt32(value_type.valueOf()) - const value_isSystemGesture = value.isSystemGesture - valueSerializer.writeBoolean(value_isSystemGesture) - } writeBackgroundBrightnessOptions(value: BackgroundBrightnessOptions): void { let valueSerializer : Serializer = this const value_rate = value.rate @@ -20793,6 +20720,21 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_vertical_value) } } + writeGestureInfo(value: GestureInfo): void { + let valueSerializer : Serializer = this + const value_tag = value.tag + let value_tag_type : int32 = RuntimeType.UNDEFINED + value_tag_type = runtimeType(value_tag) + valueSerializer.writeInt8(value_tag_type as int32) + if ((RuntimeType.UNDEFINED) != (value_tag_type)) { + const value_tag_value = value_tag! + valueSerializer.writeString(value_tag_value) + } + const value_type = value.type + valueSerializer.writeInt32(value_type.valueOf()) + const value_isSystemGesture = value.isSystemGesture + valueSerializer.writeBoolean(value_isSystemGesture) + } writeTouchResult(value: TouchResult): void { let valueSerializer : Serializer = this const value_strategy = value.strategy @@ -20825,6 +20767,37 @@ export class Serializer extends SerializerBase { const value_id = value.id valueSerializer.writeString(value_id) } + writeDismissPopupAction(value: DismissPopupAction): void { + let valueSerializer : Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } + writeSpringBackAction(value: SpringBackAction): void { + let valueSerializer : Serializer = this + const value_springBack = value.springBack + valueSerializer.holdAndWriteCallback(value_springBack) + } + writeDismissSheetAction(value: DismissSheetAction): void { + let valueSerializer : Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } + writeSheetDismiss(value: SheetDismiss): void { + let valueSerializer : Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + } + writeDismissContentCoverAction(value: DismissContentCoverAction): void { + let valueSerializer : Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } writeKeyEvent(value: KeyEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -20837,6 +20810,31 @@ export class Serializer extends SerializerBase { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } + writeGestureRecognizer(value: GestureRecognizer): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + writeFingerInfo(value: FingerInfo): void { + let valueSerializer : Serializer = this + const value_id = value.id + valueSerializer.writeNumber(value_id) + const value_globalX = value.globalX + valueSerializer.writeNumber(value_globalX) + const value_globalY = value.globalY + valueSerializer.writeNumber(value_globalY) + const value_localX = value.localX + valueSerializer.writeNumber(value_localX) + const value_localY = value.localY + valueSerializer.writeNumber(value_localY) + const value_displayX = value.displayX + valueSerializer.writeNumber(value_displayX) + const value_displayY = value.displayY + valueSerializer.writeNumber(value_displayY) + } + writeBaseGestureEvent(value: BaseGestureEvent): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeHistoricalPoint(value: HistoricalPoint): void { let valueSerializer : Serializer = this const value_touchObject = value.touchObject @@ -21098,28 +21096,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt64((value_selected_value.getTime() as int64)) } } - writeCalendarRequestedData(value: CalendarRequestedData): void { - let valueSerializer : Serializer = this - const value_year = value.year - valueSerializer.writeNumber(value_year) - const value_month = value.month - valueSerializer.writeNumber(value_month) - const value_currentYear = value.currentYear - valueSerializer.writeNumber(value_currentYear) - const value_currentMonth = value.currentMonth - valueSerializer.writeNumber(value_currentMonth) - const value_monthState = value.monthState - valueSerializer.writeNumber(value_monthState) - } - writeCalendarSelectedDate(value: CalendarSelectedDate): void { - let valueSerializer : Serializer = this - const value_year = value.year - valueSerializer.writeNumber(value_year) - const value_month = value.month - valueSerializer.writeNumber(value_month) - const value_day = value.day - valueSerializer.writeNumber(value_day) - } writeWorkStateStyle(value: WorkStateStyle): void { let valueSerializer : Serializer = this const value_workDayMarkColor = value.workDayMarkColor @@ -21810,6 +21786,28 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_boundaryColOffset_value) } } + writeCalendarRequestedData(value: CalendarRequestedData): void { + let valueSerializer : Serializer = this + const value_year = value.year + valueSerializer.writeNumber(value_year) + const value_month = value.month + valueSerializer.writeNumber(value_month) + const value_currentYear = value.currentYear + valueSerializer.writeNumber(value_currentYear) + const value_currentMonth = value.currentMonth + valueSerializer.writeNumber(value_currentMonth) + const value_monthState = value.monthState + valueSerializer.writeNumber(value_monthState) + } + writeCalendarSelectedDate(value: CalendarSelectedDate): void { + let valueSerializer : Serializer = this + const value_year = value.year + valueSerializer.writeNumber(value_year) + const value_month = value.month + valueSerializer.writeNumber(value_month) + const value_day = value.day + valueSerializer.writeNumber(value_day) + } writeCalendarDay(value: CalendarDay): void { let valueSerializer : Serializer = this const value_index = value.index @@ -22073,13 +22071,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_primary_value) } } - writeDismissDialogAction(value: DismissDialogAction): void { - let valueSerializer : Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } writeSheetInfo(value: SheetInfo): void { let valueSerializer : Serializer = this const value_title = value.title @@ -22117,6 +22108,13 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } + writeDismissDialogAction(value: DismissDialogAction): void { + let valueSerializer : Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } writeReplaceSymbolEffect(value: ReplaceSymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -22177,6 +22175,23 @@ export class Serializer extends SerializerBase { } } } + writeBusinessError(value: BusinessError): void { + let valueSerializer : Serializer = this + const value_name = value.name + valueSerializer.writeString(value_name) + const value_message = value.message + valueSerializer.writeString(value_message) + const value_stack = value.stack + let value_stack_type : int32 = RuntimeType.UNDEFINED + value_stack_type = runtimeType(value_stack) + valueSerializer.writeInt8(value_stack_type as int32) + if ((RuntimeType.UNDEFINED) != (value_stack_type)) { + const value_stack_value = value_stack! + valueSerializer.writeString(value_stack_value) + } + const value_code = value.code + valueSerializer.writeNumber(value_code) + } writeWebHeader(value: WebHeader): void { let valueSerializer : Serializer = this const value_headerKey = value.headerKey @@ -22184,6 +22199,37 @@ export class Serializer extends SerializerBase { const value_headerValue = value.headerValue valueSerializer.writeString(value_headerValue) } + writeAnimationOptions(value: AnimationOptions): void { + let valueSerializer : Serializer = this + const value_duration = value.duration + let value_duration_type : int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type as int32) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + const value_iterations = value.iterations + let value_iterations_type : int32 = RuntimeType.UNDEFINED + value_iterations_type = runtimeType(value_iterations) + valueSerializer.writeInt8(value_iterations_type as int32) + if ((RuntimeType.UNDEFINED) != (value_iterations_type)) { + const value_iterations_value = value_iterations! + valueSerializer.writeNumber(value_iterations_value) + } + } + writeAnimatedDrawableDescriptor(value: AnimatedDrawableDescriptor): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + writePixelMapDrawableDescriptor(value: PixelMapDrawableDescriptor): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + writeLayeredDrawableDescriptor(value: LayeredDrawableDescriptor): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeLength(value: Length): void { const valueType = runtimeType(value) this.writeInt8(valueType) @@ -22197,4 +22243,4 @@ export class Serializer extends SerializerBase { this.writeInt32((value as Resource).id as int32) } } -} \ 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 59937ba3bef11f543bb8ff53f7d858a2298ccdc7..2137d4fdee9e8911824ff2893297643e0aba97c9 100644 --- a/arkoala-arkts/arkui/src/generated/ts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/ts/type_check.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { KBoolean, KStringPtr, NativeBuffer, MaterializedBase } from "@koalaui/interop" import { int32 } from "@koalaui/common" import { BusinessError } from "./../ArkBaseInterfaces" @@ -11,13 +29,18 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOps } from "./../ArkLazyForEachOpsMaterialized" import { SystemOps } from "./../ArkSystemOpsMaterialized" import { FocusController } from "./../ArkFocusControllerMaterialized" -import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" +import { DrawableDescriptor } from "./../ArkDrawableDescriptorMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" -import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, WebHeader, SnapshotOptions, PerfMonitorActionType, PerfMonitorSourceType, ShapeSize, RectShapeOptions, RoundRectShapeOptions, PathShapeOptions, FontOptions, FontInfo, MeasureOptions, EffectDirection, EffectScope, SymbolEffect, ErrorCallback } from "./../ArkArkuiExternalInterfaces" +import { LayeredDrawableDescriptor } from "./../ArkLayeredDrawableDescriptorMaterialized" +import { PixelMapDrawableDescriptor } from "./../ArkPixelMapDrawableDescriptorMaterialized" +import { AnimationOptions } from "./../ArkArkuiDrawabledescriptorInterfaces" +import { AnimatedDrawableDescriptor } from "./../ArkAnimatedDrawableDescriptorMaterialized" +import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" +import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, WebHeader, SnapshotOptions, PerfMonitorActionType, PerfMonitorSourceType, ShapeSize, RectShapeOptions, RoundRectShapeOptions, PathShapeOptions, FontOptions, FontInfo, MeasureOptions, EffectDirection, EffectScope, TouchPoint, ErrorCallback } from "./../ArkArkuiExternalInterfaces" import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" import { Resource } from "./../ArkResourceInterfaces" import { ColorMetrics } from "./../ArkColorMetricsMaterialized" -import { ResourceColor, Position, Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, Offset, Font, LengthMetricsUnit, MarkStyle, Bias, EdgeWidth, DirectionalEdgesT, LengthConstrain, DividerStyleOptions, VP, PX, LPX, TouchPoint } from "./../ArkUnitsInterfaces" +import { ResourceColor, Position, Length, SizeOptions, Dimension, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, Offset, Font, LengthMetricsUnit, MarkStyle, Bias, EdgeWidth, DirectionalEdgesT, LengthConstrain, DividerStyleOptions, VP, PX, LPX } from "./../ArkUnitsInterfaces" import { WebviewController } from "./../ArkWebviewControllerMaterialized" import { GlobalScope_ohos_arkui_componentSnapshot } from "./../ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized" import { AsyncCallback_image_PixelMap_Void, Literal_Want_want, 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_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, AnimationRange_Number, 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_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, onItemDragStart_event_type, 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, Literal_Boolean_next_Axis_direction, 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, 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" @@ -30,6 +53,7 @@ import { EllipseShape } from "./../ArkEllipseShapeMaterialized" import { PathShape } from "./../ArkPathShapeMaterialized" import { GlobalScope_ohos_font } from "./../ArkGlobalScopeOhosFontMaterialized" import { GlobalScope_ohos_measure_utils } from "./../ArkGlobalScopeOhosMeasureUtilsMaterialized" +import { SymbolEffect } from "./../ArkSymbolEffectMaterialized" import { ScaleSymbolEffect } from "./../ArkScaleSymbolEffectMaterialized" import { ReplaceSymbolEffect } from "./../ArkReplaceSymbolEffectMaterialized" import { FrameNode } from "./../ArkFrameNodeMaterialized" @@ -42,7 +66,7 @@ import { EventEmulator } from "./../ArkEventEmulatorMaterialized" import { ClickEvent } from "./../ArkClickEventMaterialized" import { AbilityComponentInterface, AbilityComponentAttribute } from "./../ArkAbilityComponentInterfaces" import { DrawModifier } from "./../ArkDrawModifierMaterialized" -import { ResizableOptions, DrawableDescriptor, DrawingColorFilter, ResolutionQuality, DrawingLattice, ImageRenderMode, ImageContent, DynamicRangeMode, ImageInterpolation, ImageInterface, ImageAttribute, ImageSourceSize, ImageErrorCallback, ImageError } from "./../ArkImageInterfaces" +import { ResizableOptions, DrawingColorFilter, ResolutionQuality, DrawingLattice, ImageRenderMode, ImageContent, DynamicRangeMode, ImageInterpolation, ImageInterface, ImageAttribute, ImageSourceSize, ImageErrorCallback, ImageError } from "./../ArkImageInterfaces" import { HoverEvent } from "./../ArkHoverEventMaterialized" import { MouseEvent } from "./../ArkMouseEventMaterialized" import { TouchEvent } from "./../ArkTouchEventMaterialized" @@ -198,7 +222,7 @@ import { RelativeContainerInterface, RelativeContainerAttribute, GuideLinePositi import { VirtualScrollOptions, TemplateOptions } from "./../ArkRepeatInterfaces" import { RichEditorDeleteDirection, RichEditorSpanType, RichEditorResponseType, RichEditorSpanPosition, RichEditorTextStyle, LeadingMarginPlaceholder, RichEditorParagraphStyle, PasteEvent, RichEditorTextSpan, RichEditorLayoutStyle, RichEditorImageSpanStyle, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorParagraphResult, RichEditorSymbolSpanStyleResult, RichEditorTextSpanResult, RichEditorImageSpanStyleResult, RichEditorImageSpanResult, RichEditorImageSpan, RichEditorRange, RichEditorGesture, RichEditorTextSpanOptions, KeyboardOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, PlaceholderStyle, RichEditorSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorSymbolSpanOptions, RichEditorSelection, RichEditorInsertValue, RichEditorDeleteValue, RichEditorChangeValue, RichEditorOptions, RichEditorStyledStringOptions, SelectionMenuOptions, MenuOnAppearCallback, RichEditorSpan, RichEditorAttribute, PasteEventCallback, SubmitCallback, CutEvent, CopyEvent, RichEditorInterface } from "./../ArkRichEditorInterfaces" import { DecorationStyleInterface, StyleOptions, StyledStringKey, SpanStyle, StyledStringValue, TextStyleInterface, GestureStyleInterface, ParagraphStyleInterface, ImageAttachmentLayoutStyle, ImageAttachmentInterface, CustomSpanMetrics, CustomSpanDrawInfo, CustomSpanMeasureInfo, UserDataSpan } from "./../ArkStyledStringInterfaces" -import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphInterface, SymbolGlyphAttribute, EffectFillStyle, PulseSymbolEffect } from "./../ArkSymbolglyphInterfaces" +import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphInterface, SymbolGlyphAttribute, EffectFillStyle } from "./../ArkSymbolglyphInterfaces" import { DecorationStyleResult, TextRange, MenuType, PreviewText, StyledStringChangedListener, TextDataDetectorConfig, OnDidChangeCallback, CaretStyle, EditableTextOnChangeCallback, InsertValue, DeleteValue, FontSettingOptions, TextDataDetectorType, TextDeleteDirection, StyledStringChangeValue, PositionWithAffinity, LineMetrics, TextBox, Affinity, TextMenuItem } from "./../ArkTextCommonInterfaces" import { RichEditorController } from "./../ArkRichEditorControllerMaterialized" import { RichEditorStyledStringController } from "./../ArkRichEditorStyledStringControllerMaterialized" @@ -240,6 +264,7 @@ import { HierarchicalSymbolEffect } from "./../ArkHierarchicalSymbolEffectMateri import { AppearSymbolEffect } from "./../ArkAppearSymbolEffectMaterialized" import { DisappearSymbolEffect } from "./../ArkDisappearSymbolEffectMaterialized" import { BounceSymbolEffect } from "./../ArkBounceSymbolEffectMaterialized" +import { PulseSymbolEffect } from "./../ArkPulseSymbolEffectMaterialized" import { SymbolSpanInterface, SymbolSpanAttribute } from "./../ArkSymbolSpanInterfaces" import { BarMode, AnimationMode, BarPosition, LayoutStyle, TabsOptions, TabsInterface, TabsAttribute, DividerStyle, TabsAnimationEvent, BarGridColumnOptions, ScrollableBarModeOptions, OnTabsAnimationStartCallback, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, TabContentAnimatedTransition } from "./../ArkTabsInterfaces" import { TabsController } from "./../ArkTabsControllerMaterialized" @@ -839,6 +864,9 @@ export class TypeChecker { static isAnimatableArithmetic(value: object|string|number|undefined|null|boolean): boolean { throw new Error("Can not discriminate value typeof AnimatableArithmetic") } + static isAnimatedDrawableDescriptor(value: object|string|number|undefined|null|boolean): boolean { + throw new Error("Can not discriminate value typeof AnimatedDrawableDescriptor") + } static isAnimateParam(value: object|string|number|undefined|null|boolean, duplicated_duration: boolean, duplicated_tempo: boolean, duplicated_curve: boolean, duplicated_delay: boolean, duplicated_iterations: boolean, duplicated_playMode: boolean, duplicated_onFinish: boolean, duplicated_finishCallbackType: boolean, duplicated_expectedFrameRateRange: boolean): boolean { if ((!duplicated_duration) && (value?.hasOwnProperty("duration"))) { return true @@ -888,6 +916,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof AnimationMode") } } + static isAnimationOptions(value: object|string|number|undefined|null|boolean, duplicated_duration: boolean, duplicated_iterations: boolean): boolean { + if ((!duplicated_duration) && (value?.hasOwnProperty("duration"))) { + return true + } + else if ((!duplicated_iterations) && (value?.hasOwnProperty("iterations"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof AnimationOptions") + } + } static isAnimationStatus(value: object|string|number|undefined|null|boolean): boolean { if ((value) === (AnimationStatus.Initial)) { return true @@ -4830,13 +4869,8 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof DragResult") } } - static isDrawableDescriptor(value: object|string|number|undefined|null|boolean, duplicated__DrawableDescriptorStub: boolean): boolean { - if ((!duplicated__DrawableDescriptorStub) && (value?.hasOwnProperty("_DrawableDescriptorStub"))) { - return true - } - else { - throw new Error("Can not discriminate value typeof DrawableDescriptor") - } + static isDrawableDescriptor(value: object|string|number|undefined|null|boolean): boolean { + throw new Error("Can not discriminate value typeof DrawableDescriptor") } static isDrawContext(value: object|string|number|undefined|null|boolean, duplicated__DrawContextStub: boolean): boolean { if ((!duplicated__DrawContextStub) && (value?.hasOwnProperty("_DrawContextStub"))) { @@ -7873,6 +7907,9 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof LaunchMode") } } + static isLayeredDrawableDescriptor(value: object|string|number|undefined|null|boolean): boolean { + throw new Error("Can not discriminate value typeof LayeredDrawableDescriptor") + } static isLayoutable(value: object|string|number|undefined|null|boolean, duplicated_stub: boolean): boolean { if ((!duplicated_stub) && (value?.hasOwnProperty("stub"))) { return true @@ -11750,6 +11787,9 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof PixelMap") } } + static isPixelMapDrawableDescriptor(value: object|string|number|undefined|null|boolean): boolean { + throw new Error("Can not discriminate value typeof PixelMapDrawableDescriptor") + } static isPixelMapMock(value: object|string|number|undefined|null|boolean): boolean { throw new Error("Can not discriminate value typeof PixelMapMock") } @@ -21427,6 +21467,9 @@ export class TypeChecker { static isArray_String(value: object|string|number|undefined|null): boolean { return Array.isArray(value) } + static isArray_PixelMap(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) } @@ -21616,4 +21659,4 @@ export class TypeChecker { static isArray_SpanStyle(value: object|string|number|undefined|null): boolean { return Array.isArray(value) } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkAbilityComponentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkAbilityComponentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..65273c9eecf33107855b00b600ce89988b37f79b --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkAbilityComponentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("AbilityComponent") +export declare function AbilityComponent( + value: Literal_Want_want, + @memo + _content?: () => void, +): ArkAbilityComponentComponent + +@memo +export declare function AbilityComponentImpl( + @memo + _style: ((attributes: ArkAbilityComponentComponent) => void) | undefined, + value: Literal_Want_want, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkAbilityComponentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkAbilityComponentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..f350ba9bac126a213aa1c2288226c9282d228594 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkAbilityComponentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("AbilityComponent") +export function AbilityComponent( + value: Literal_Want_want, + @memo + content?: () => void, +): ArkAbilityComponentComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function AbilityComponentImpl( + @memo + style: ((attributes: ArkAbilityComponentComponent) => void) | undefined, + value: Literal_Want_want, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkAbilityComponentComponent() + }) + NodeAttach((): ArkAbilityComponentPeer => ArkAbilityComponentPeer.create(receiver), (_: ArkAbilityComponentPeer) => { + receiver.setAbilityComponentOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkAlphabetIndexerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkAlphabetIndexerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..ec15d63c31b0fb0662a8c786ad49ce2ed6f94f2d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkAlphabetIndexerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("AlphabetIndexer") +export declare function AlphabetIndexer( + options: AlphabetIndexerOptions, + @memo + _content?: () => void, +): ArkAlphabetIndexerComponent + +@memo +export declare function AlphabetIndexerImpl( + @memo + _style: ((attributes: ArkAlphabetIndexerComponent) => void) | undefined, + options: AlphabetIndexerOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkAlphabetIndexerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkAlphabetIndexerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..ae959d8b2e8828ea0a0c429b58d8115cda48ca0e --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkAlphabetIndexerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("AlphabetIndexer") +export function AlphabetIndexer( + options: AlphabetIndexerOptions, + @memo + content?: () => void, +): ArkAlphabetIndexerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function AlphabetIndexerImpl( + @memo + style: ((attributes: ArkAlphabetIndexerComponent) => void) | undefined, + options: AlphabetIndexerOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkAlphabetIndexerComponent() + }) + NodeAttach((): ArkAlphabetIndexerPeer => ArkAlphabetIndexerPeer.create(receiver), (_: ArkAlphabetIndexerPeer) => { + receiver.setAlphabetIndexerOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkAnimatorInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkAnimatorInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..9d1552cbc294ffd636bb8ec2a590f92b5fd6c687 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkAnimatorInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Animator") +export declare function Animator( + value: string, + @memo + _content?: () => void, +): ArkAnimatorComponent + +@memo +export declare function AnimatorImpl( + @memo + _style: ((attributes: ArkAnimatorComponent) => void) | undefined, + value: string, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkAnimatorInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkAnimatorInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..404b6ed8968049b9a7930961c678ce39c8e44759 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkAnimatorInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Animator") +export function Animator( + value: string, + @memo + content?: () => void, +): ArkAnimatorComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function AnimatorImpl( + @memo + style: ((attributes: ArkAnimatorComponent) => void) | undefined, + value: string, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkAnimatorComponent() + }) + NodeAttach((): ArkAnimatorPeer => ArkAnimatorPeer.create(receiver), (_: ArkAnimatorPeer) => { + receiver.setAnimatorOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkBadgeInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkBadgeInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..5f86854ea2345ef5ee7f25a6d6477bd536e8ce52 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkBadgeInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Badge") +export declare function Badge( + value: BadgeParamWithNumber | BadgeParamWithString, + @memo + _content?: () => void, +): ArkBadgeComponent + +@memo +export declare function BadgeImpl( + @memo + _style: ((attributes: ArkBadgeComponent) => void) | undefined, + value: BadgeParamWithNumber | BadgeParamWithString, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkBadgeInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkBadgeInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..de6a170fc340283375e7451353631906b4e5c662 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkBadgeInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Badge") +export function Badge( + value: BadgeParamWithNumber | BadgeParamWithString, + @memo + content?: () => void, +): ArkBadgeComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function BadgeImpl( + @memo + style: ((attributes: ArkBadgeComponent) => void) | undefined, + value: BadgeParamWithNumber | BadgeParamWithString, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkBadgeComponent() + }) + NodeAttach((): ArkBadgePeer => ArkBadgePeer.create(receiver), (_: ArkBadgePeer) => { + receiver.setBadgeOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkBlankInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkBlankInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b61c06bbd5f1e9d242aa028276dd63d35edbea64 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkBlankInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Blank") +export declare function Blank( + min?: number | string | undefined, + @memo + _content?: () => void, +): ArkBlankComponent + +@memo +export declare function BlankImpl( + @memo + _style: ((attributes: ArkBlankComponent) => void) | undefined, + min?: number | string | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkBlankInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkBlankInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..9ba35a7bfb168c1c6bd5df62312f77750870202c --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkBlankInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Blank") +export function Blank( + min?: number | string | undefined, + @memo + content?: () => void, +): ArkBlankComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function BlankImpl( + @memo + style: ((attributes: ArkBlankComponent) => void) | undefined, + min?: number | string | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkBlankComponent() + }) + NodeAttach((): ArkBlankPeer => ArkBlankPeer.create(receiver), (_: ArkBlankPeer) => { + receiver.setBlankOptions(min) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkButtonInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkButtonInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b101a01816f85fe73d43fa4d9fdd956d4c1806e9 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkButtonInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Button") +export declare function Button( + label?: ButtonOptions | ResourceStr | undefined, options?: ButtonOptions | undefined, + @memo + _content?: () => void, +): ArkButtonComponent + +@memo +export declare function ButtonImpl( + @memo + _style: ((attributes: ArkButtonComponent) => void) | undefined, + label?: ButtonOptions | ResourceStr | undefined, options?: ButtonOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkButtonInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkButtonInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..99481206aa3205916590573a69dd8d1cd238f1bc --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkButtonInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Button") +export function Button( + label?: ButtonOptions | ResourceStr | undefined, options?: ButtonOptions | undefined, + @memo + content?: () => void, +): ArkButtonComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ButtonImpl( + @memo + style: ((attributes: ArkButtonComponent) => void) | undefined, + label?: ButtonOptions | ResourceStr | undefined, options?: ButtonOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkButtonComponent() + }) + NodeAttach((): ArkButtonPeer => ArkButtonPeer.create(receiver), (_: ArkButtonPeer) => { + receiver.setButtonOptions(label,options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCalendarInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCalendarInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..265cc52fd511541a108aab0490c61f7e42921954 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCalendarInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Calendar") +export declare function Calendar( + value: Type_CalendarInterface_value, + @memo + _content?: () => void, +): ArkCalendarComponent + +@memo +export declare function CalendarImpl( + @memo + _style: ((attributes: ArkCalendarComponent) => void) | undefined, + value: Type_CalendarInterface_value, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCalendarInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCalendarInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..57cd95494d91a4f17b7c94e64444029afb348890 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCalendarInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Calendar") +export function Calendar( + value: Type_CalendarInterface_value, + @memo + content?: () => void, +): ArkCalendarComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CalendarImpl( + @memo + style: ((attributes: ArkCalendarComponent) => void) | undefined, + value: Type_CalendarInterface_value, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCalendarComponent() + }) + NodeAttach((): ArkCalendarPeer => ArkCalendarPeer.create(receiver), (_: ArkCalendarPeer) => { + receiver.setCalendarOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCalendarPickerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCalendarPickerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..0119d37d348f152d6f32e7da421b42fe86f866cd --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCalendarPickerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("CalendarPicker") +export declare function CalendarPicker( + options?: CalendarOptions | undefined, + @memo + _content?: () => void, +): ArkCalendarPickerComponent + +@memo +export declare function CalendarPickerImpl( + @memo + _style: ((attributes: ArkCalendarPickerComponent) => void) | undefined, + options?: CalendarOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCalendarPickerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCalendarPickerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..442d646857f5671542cd04d6282cc8022d1d25bb --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCalendarPickerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("CalendarPicker") +export function CalendarPicker( + options?: CalendarOptions | undefined, + @memo + content?: () => void, +): ArkCalendarPickerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CalendarPickerImpl( + @memo + style: ((attributes: ArkCalendarPickerComponent) => void) | undefined, + options?: CalendarOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCalendarPickerComponent() + }) + NodeAttach((): ArkCalendarPickerPeer => ArkCalendarPickerPeer.create(receiver), (_: ArkCalendarPickerPeer) => { + receiver.setCalendarPickerOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCanvasInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCanvasInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..efc8dec1cd45189a74f59e1ff0caa20bdaf4a250 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCanvasInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Canvas") +export declare function Canvas( + context?: CanvasRenderingContext2D | DrawingRenderingContext | undefined | CanvasRenderingContext2D | DrawingRenderingContext | undefined, imageAIOptions?: ImageAIOptions | undefined, + @memo + _content?: () => void, +): ArkCanvasComponent + +@memo +export declare function CanvasImpl( + @memo + _style: ((attributes: ArkCanvasComponent) => void) | undefined, + context?: CanvasRenderingContext2D | DrawingRenderingContext | undefined | CanvasRenderingContext2D | DrawingRenderingContext | undefined, imageAIOptions?: ImageAIOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCanvasInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCanvasInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..24f3b2d129ed00c0086dbb87b8cbd1c5313c0101 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCanvasInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Canvas") +export function Canvas( + context?: CanvasRenderingContext2D | DrawingRenderingContext | undefined | CanvasRenderingContext2D | DrawingRenderingContext | undefined, imageAIOptions?: ImageAIOptions | undefined, + @memo + content?: () => void, +): ArkCanvasComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CanvasImpl( + @memo + style: ((attributes: ArkCanvasComponent) => void) | undefined, + context?: CanvasRenderingContext2D | DrawingRenderingContext | undefined | CanvasRenderingContext2D | DrawingRenderingContext | undefined, imageAIOptions?: ImageAIOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCanvasComponent() + }) + NodeAttach((): ArkCanvasPeer => ArkCanvasPeer.create(receiver), (_: ArkCanvasPeer) => { + receiver.setCanvasOptions(context,imageAIOptions) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..4b771b4fbc3ff1359a93dc4a465c06c5c6c823b6 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Checkbox") +export declare function Checkbox( + options?: CheckboxOptions | undefined, + @memo + _content?: () => void, +): ArkCheckboxComponent + +@memo +export declare function CheckboxImpl( + @memo + _style: ((attributes: ArkCheckboxComponent) => void) | undefined, + options?: CheckboxOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..72a006e28f3ad12795e1ac57a2ae9ebca2aacbac --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Checkbox") +export function Checkbox( + options?: CheckboxOptions | undefined, + @memo + content?: () => void, +): ArkCheckboxComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CheckboxImpl( + @memo + style: ((attributes: ArkCheckboxComponent) => void) | undefined, + options?: CheckboxOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCheckboxComponent() + }) + NodeAttach((): ArkCheckboxPeer => ArkCheckboxPeer.create(receiver), (_: ArkCheckboxPeer) => { + receiver.setCheckboxOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxgroupInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxgroupInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..273710c1965066da89c57be60bdf9861ab1dd322 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxgroupInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("CheckboxGroup") +export declare function CheckboxGroup( + options?: CheckboxGroupOptions | undefined, + @memo + _content?: () => void, +): ArkCheckboxGroupComponent + +@memo +export declare function CheckboxGroupImpl( + @memo + _style: ((attributes: ArkCheckboxGroupComponent) => void) | undefined, + options?: CheckboxGroupOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxgroupInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxgroupInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..8185d5e5c2b629ce098911021aeac7d1ee4b94a4 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCheckboxgroupInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("CheckboxGroup") +export function CheckboxGroup( + options?: CheckboxGroupOptions | undefined, + @memo + content?: () => void, +): ArkCheckboxGroupComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CheckboxGroupImpl( + @memo + style: ((attributes: ArkCheckboxGroupComponent) => void) | undefined, + options?: CheckboxGroupOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCheckboxGroupComponent() + }) + NodeAttach((): ArkCheckboxGroupPeer => ArkCheckboxGroupPeer.create(receiver), (_: ArkCheckboxGroupPeer) => { + receiver.setCheckboxGroupOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCircleInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCircleInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..14069cc178d2f032a2ecbaef73e6ad51faf15a31 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCircleInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Circle") +export declare function Circle( + value?: CircleOptions | undefined, + @memo + _content?: () => void, +): ArkCircleComponent + +@memo +export declare function CircleImpl( + @memo + _style: ((attributes: ArkCircleComponent) => void) | undefined, + value?: CircleOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCircleInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCircleInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..6f7e561af717b0e581116440c9e5cbcf12278758 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCircleInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Circle") +export function Circle( + value?: CircleOptions | undefined, + @memo + content?: () => void, +): ArkCircleComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CircleImpl( + @memo + style: ((attributes: ArkCircleComponent) => void) | undefined, + value?: CircleOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCircleComponent() + }) + NodeAttach((): ArkCirclePeer => ArkCirclePeer.create(receiver), (_: ArkCirclePeer) => { + receiver.setCircleOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkColumnInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkColumnInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..a7ebf2e4f545d42553175cd501bf1e0f816d7dbf --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkColumnInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Column") +export declare function Column( + options?: ColumnOptions | undefined, + @memo + _content?: () => void, +): ArkColumnComponent + +@memo +export declare function ColumnImpl( + @memo + _style: ((attributes: ArkColumnComponent) => void) | undefined, + options?: ColumnOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkColumnInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkColumnInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..c9bdb236a7d298b8f228c3c96a9449cdfa0f11d2 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkColumnInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Column") +export function Column( + options?: ColumnOptions | undefined, + @memo + content?: () => void, +): ArkColumnComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ColumnImpl( + @memo + style: ((attributes: ArkColumnComponent) => void) | undefined, + options?: ColumnOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkColumnComponent() + }) + NodeAttach((): ArkColumnPeer => ArkColumnPeer.create(receiver), (_: ArkColumnPeer) => { + receiver.setColumnOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkColumnSplitInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkColumnSplitInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..100b45660eb9309337ea53ab2c1cf00eb6a33028 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkColumnSplitInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ColumnSplit") +export declare function ColumnSplit( + + @memo + _content?: () => void, +): ArkColumnSplitComponent + +@memo +export declare function ColumnSplitImpl( + @memo + _style: ((attributes: ArkColumnSplitComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkColumnSplitInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkColumnSplitInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..e9eb36427f8b09dc81efe3d54c823c9135ad09ed --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkColumnSplitInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ColumnSplit") +export function ColumnSplit( + + @memo + content?: () => void, +): ArkColumnSplitComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ColumnSplitImpl( + @memo + style: ((attributes: ArkColumnSplitComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkColumnSplitComponent() + }) + NodeAttach((): ArkColumnSplitPeer => ArkColumnSplitPeer.create(receiver), (_: ArkColumnSplitPeer) => { + receiver.setColumnSplitOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCommonInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCommonInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..834d6e0abb1daea5e59b656e089bca889ee70e63 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCommonInterfaces.d.sts @@ -0,0 +1,82 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("CommonMethod") +export declare function CommonMethod( + + @memo + _content?: () => void, +): ArkCommonMethodComponent + +@memo +export declare function CommonMethodImpl( + @memo + _style: ((attributes: ArkCommonMethodComponent) => void) | undefined, + + @memo + _content?: () => void, +): void +@memo +@BuildLambda("CommonShapeMethod") +export declare function CommonShapeMethod( + + @memo + _content?: () => void, +): ArkCommonShapeMethodComponent + +@memo +export declare function CommonShapeMethodImpl( + @memo + _style: ((attributes: ArkCommonShapeMethodComponent) => void) | undefined, + + @memo + _content?: () => void, +): void +@memo +@BuildLambda("Common") +export declare function Common( + + @memo + _content?: () => void, +): ArkCommonComponent + +@memo +export declare function CommonImpl( + @memo + _style: ((attributes: ArkCommonComponent) => void) | undefined, + + @memo + _content?: () => void, +): void +@memo +@BuildLambda("ScrollableCommonMethod") +export declare function ScrollableCommonMethod( + + @memo + _content?: () => void, +): ArkScrollableCommonMethodComponent + +@memo +export declare function ScrollableCommonMethodImpl( + @memo + _style: ((attributes: ArkScrollableCommonMethodComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCommonInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCommonInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..dc12da11fb78498363a48c7674ec6e4b3da145bc --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCommonInterfaces.sts @@ -0,0 +1,134 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("CommonMethod") +export function CommonMethod( + + @memo + content?: () => void, +): ArkCommonMethodComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CommonMethodImpl( + @memo + style: ((attributes: ArkCommonMethodComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCommonMethodComponent() + }) + NodeAttach((): ArkCommonMethodPeer => ArkCommonMethodPeer.create(receiver), (_: ArkCommonMethodPeer) => { + + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + +@memo +@BuildLambda("CommonShapeMethod") +export function CommonShapeMethod( + + @memo + content?: () => void, +): ArkCommonShapeMethodComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CommonShapeMethodImpl( + @memo + style: ((attributes: ArkCommonShapeMethodComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCommonShapeMethodComponent() + }) + NodeAttach((): ArkCommonShapeMethodPeer => ArkCommonShapeMethodPeer.create(receiver), (_: ArkCommonShapeMethodPeer) => { + + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + +@memo +@BuildLambda("Common") +export function Common( + + @memo + content?: () => void, +): ArkCommonComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CommonImpl( + @memo + style: ((attributes: ArkCommonComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCommonComponent() + }) + NodeAttach((): ArkCommonPeer => ArkCommonPeer.create(receiver), (_: ArkCommonPeer) => { + receiver.setCommonOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + +@memo +@BuildLambda("ScrollableCommonMethod") +export function ScrollableCommonMethod( + + @memo + content?: () => void, +): ArkScrollableCommonMethodComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ScrollableCommonMethodImpl( + @memo + style: ((attributes: ArkScrollableCommonMethodComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkScrollableCommonMethodComponent() + }) + NodeAttach((): ArkScrollableCommonMethodPeer => ArkScrollableCommonMethodPeer.create(receiver), (_: ArkScrollableCommonMethodPeer) => { + + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkComponent3dInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkComponent3dInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..8bc467db2a27b1119669b31fae70ac01d5b08c8c --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkComponent3dInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Component3D") +export declare function Component3D( + sceneOptions?: SceneOptions | undefined, + @memo + _content?: () => void, +): ArkComponent3DComponent + +@memo +export declare function Component3DImpl( + @memo + _style: ((attributes: ArkComponent3DComponent) => void) | undefined, + sceneOptions?: SceneOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkComponent3dInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkComponent3dInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..443ff7308743380e6acfa8e4ec75d088671d1a46 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkComponent3dInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Component3D") +export function Component3D( + sceneOptions?: SceneOptions | undefined, + @memo + content?: () => void, +): ArkComponent3DComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function Component3DImpl( + @memo + style: ((attributes: ArkComponent3DComponent) => void) | undefined, + sceneOptions?: SceneOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkComponent3DComponent() + }) + NodeAttach((): ArkComponent3DPeer => ArkComponent3DPeer.create(receiver), (_: ArkComponent3DPeer) => { + receiver.setComponent3DOptions(sceneOptions) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkContainerSpanInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkContainerSpanInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..05c74ab2edb501157a76b2f5ee4b1536d164a34b --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkContainerSpanInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ContainerSpan") +export declare function ContainerSpan( + + @memo + _content?: () => void, +): ArkContainerSpanComponent + +@memo +export declare function ContainerSpanImpl( + @memo + _style: ((attributes: ArkContainerSpanComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkContainerSpanInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkContainerSpanInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..797df42c285dbd040c4c984a5b92bb16c46aacb1 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkContainerSpanInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ContainerSpan") +export function ContainerSpan( + + @memo + content?: () => void, +): ArkContainerSpanComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ContainerSpanImpl( + @memo + style: ((attributes: ArkContainerSpanComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkContainerSpanComponent() + }) + NodeAttach((): ArkContainerSpanPeer => ArkContainerSpanPeer.create(receiver), (_: ArkContainerSpanPeer) => { + receiver.setContainerSpanOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCounterInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCounterInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..8738103a94be4b399d8a45caaa20b3c622de105d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCounterInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Counter") +export declare function Counter( + + @memo + _content?: () => void, +): ArkCounterComponent + +@memo +export declare function CounterImpl( + @memo + _style: ((attributes: ArkCounterComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkCounterInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkCounterInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..b097b841ad16d9cf0752d1f6ca1b9acf41d7c7a2 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkCounterInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Counter") +export function Counter( + + @memo + content?: () => void, +): ArkCounterComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function CounterImpl( + @memo + style: ((attributes: ArkCounterComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkCounterComponent() + }) + NodeAttach((): ArkCounterPeer => ArkCounterPeer.create(receiver), (_: ArkCounterPeer) => { + receiver.setCounterOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkDataPanelInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkDataPanelInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..e2cc2d8f03a09ec337f3d66038fd5812b6151a6a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkDataPanelInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("DataPanel") +export declare function DataPanel( + options: DataPanelOptions, + @memo + _content?: () => void, +): ArkDataPanelComponent + +@memo +export declare function DataPanelImpl( + @memo + _style: ((attributes: ArkDataPanelComponent) => void) | undefined, + options: DataPanelOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkDataPanelInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkDataPanelInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..0ca1c3a47a81b05ea0e251dbeea331d25c645253 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkDataPanelInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("DataPanel") +export function DataPanel( + options: DataPanelOptions, + @memo + content?: () => void, +): ArkDataPanelComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function DataPanelImpl( + @memo + style: ((attributes: ArkDataPanelComponent) => void) | undefined, + options: DataPanelOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkDataPanelComponent() + }) + NodeAttach((): ArkDataPanelPeer => ArkDataPanelPeer.create(receiver), (_: ArkDataPanelPeer) => { + receiver.setDataPanelOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkDatePickerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkDatePickerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b4fe7d831439c72e38c62baaa046b698a6e54314 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkDatePickerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("DatePicker") +export declare function DatePicker( + options?: DatePickerOptions | undefined, + @memo + _content?: () => void, +): ArkDatePickerComponent + +@memo +export declare function DatePickerImpl( + @memo + _style: ((attributes: ArkDatePickerComponent) => void) | undefined, + options?: DatePickerOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkDatePickerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkDatePickerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..d7fc00bd4a31e05a318a3ab832d144071bd22edb --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkDatePickerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("DatePicker") +export function DatePicker( + options?: DatePickerOptions | undefined, + @memo + content?: () => void, +): ArkDatePickerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function DatePickerImpl( + @memo + style: ((attributes: ArkDatePickerComponent) => void) | undefined, + options?: DatePickerOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkDatePickerComponent() + }) + NodeAttach((): ArkDatePickerPeer => ArkDatePickerPeer.create(receiver), (_: ArkDatePickerPeer) => { + receiver.setDatePickerOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkDividerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkDividerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..96902f0c91ca4fd48cd1730a0f9236e05046f939 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkDividerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Divider") +export declare function Divider( + + @memo + _content?: () => void, +): ArkDividerComponent + +@memo +export declare function DividerImpl( + @memo + _style: ((attributes: ArkDividerComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkDividerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkDividerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..cd99b6a146b7e093311bae905564569f6ff7a080 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkDividerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Divider") +export function Divider( + + @memo + content?: () => void, +): ArkDividerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function DividerImpl( + @memo + style: ((attributes: ArkDividerComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkDividerComponent() + }) + NodeAttach((): ArkDividerPeer => ArkDividerPeer.create(receiver), (_: ArkDividerPeer) => { + receiver.setDividerOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkEffectComponentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkEffectComponentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b7375f6d0a10c3c49d8226db77686ab2ac04d46d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkEffectComponentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("EffectComponent") +export declare function EffectComponent( + + @memo + _content?: () => void, +): ArkEffectComponentComponent + +@memo +export declare function EffectComponentImpl( + @memo + _style: ((attributes: ArkEffectComponentComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkEffectComponentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkEffectComponentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..9ee59b1bd2bccbb5b27dc3b8fa8dd51899d1c222 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkEffectComponentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("EffectComponent") +export function EffectComponent( + + @memo + content?: () => void, +): ArkEffectComponentComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function EffectComponentImpl( + @memo + style: ((attributes: ArkEffectComponentComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkEffectComponentComponent() + }) + NodeAttach((): ArkEffectComponentPeer => ArkEffectComponentPeer.create(receiver), (_: ArkEffectComponentPeer) => { + receiver.setEffectComponentOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkEllipseInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkEllipseInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..723a5a4f008bfcc803b43fed448fae9ff1bdba6a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkEllipseInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Ellipse") +export declare function Ellipse( + options?: EllipseOptions | undefined, + @memo + _content?: () => void, +): ArkEllipseComponent + +@memo +export declare function EllipseImpl( + @memo + _style: ((attributes: ArkEllipseComponent) => void) | undefined, + options?: EllipseOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkEllipseInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkEllipseInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..67f7c3a203f9188f79cc67e4d7c095d9ce08a45b --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkEllipseInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Ellipse") +export function Ellipse( + options?: EllipseOptions | undefined, + @memo + content?: () => void, +): ArkEllipseComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function EllipseImpl( + @memo + style: ((attributes: ArkEllipseComponent) => void) | undefined, + options?: EllipseOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkEllipseComponent() + }) + NodeAttach((): ArkEllipsePeer => ArkEllipsePeer.create(receiver), (_: ArkEllipsePeer) => { + receiver.setEllipseOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkEmbeddedComponentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkEmbeddedComponentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..3bd618ad5b89a62b4396914d2cb74adba3c50823 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkEmbeddedComponentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("EmbeddedComponent") +export declare function EmbeddedComponent( + loader: Want, type: EmbeddedType, + @memo + _content?: () => void, +): ArkEmbeddedComponentComponent + +@memo +export declare function EmbeddedComponentImpl( + @memo + _style: ((attributes: ArkEmbeddedComponentComponent) => void) | undefined, + loader: Want, type: EmbeddedType, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkEmbeddedComponentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkEmbeddedComponentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..8db9823541520706313aa0ff1029837d0155b4e1 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkEmbeddedComponentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("EmbeddedComponent") +export function EmbeddedComponent( + loader: Want, type: EmbeddedType, + @memo + content?: () => void, +): ArkEmbeddedComponentComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function EmbeddedComponentImpl( + @memo + style: ((attributes: ArkEmbeddedComponentComponent) => void) | undefined, + loader: Want, type: EmbeddedType, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkEmbeddedComponentComponent() + }) + NodeAttach((): ArkEmbeddedComponentPeer => ArkEmbeddedComponentPeer.create(receiver), (_: ArkEmbeddedComponentPeer) => { + receiver.setEmbeddedComponentOptions(loader,type) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFlexInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFlexInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..5a17c8e23b5821712d6113c60ea48ea5bd164b6e --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFlexInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Flex") +export declare function Flex( + value?: FlexOptions | undefined, + @memo + _content?: () => void, +): ArkFlexComponent + +@memo +export declare function FlexImpl( + @memo + _style: ((attributes: ArkFlexComponent) => void) | undefined, + value?: FlexOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFlexInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFlexInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..98003d3a00fd58e5f66558a2f13adec35c9404a1 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFlexInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Flex") +export function Flex( + value?: FlexOptions | undefined, + @memo + content?: () => void, +): ArkFlexComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function FlexImpl( + @memo + style: ((attributes: ArkFlexComponent) => void) | undefined, + value?: FlexOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkFlexComponent() + }) + NodeAttach((): ArkFlexPeer => ArkFlexPeer.create(receiver), (_: ArkFlexPeer) => { + receiver.setFlexOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFlowItemInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFlowItemInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b6ca388d5a2f58e8248809cd9ef83ba917b9e1a4 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFlowItemInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("FlowItem") +export declare function FlowItem( + + @memo + _content?: () => void, +): ArkFlowItemComponent + +@memo +export declare function FlowItemImpl( + @memo + _style: ((attributes: ArkFlowItemComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFlowItemInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFlowItemInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..05a41b45bfa496a891fd7a1535cf7779dc37edc2 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFlowItemInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("FlowItem") +export function FlowItem( + + @memo + content?: () => void, +): ArkFlowItemComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function FlowItemImpl( + @memo + style: ((attributes: ArkFlowItemComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkFlowItemComponent() + }) + NodeAttach((): ArkFlowItemPeer => ArkFlowItemPeer.create(receiver), (_: ArkFlowItemPeer) => { + receiver.setFlowItemOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFolderStackInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFolderStackInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..2bafb4273393e6936ffd182ac586da66a2f8cc06 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFolderStackInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("FolderStack") +export declare function FolderStack( + options?: FolderStackOptions | undefined, + @memo + _content?: () => void, +): ArkFolderStackComponent + +@memo +export declare function FolderStackImpl( + @memo + _style: ((attributes: ArkFolderStackComponent) => void) | undefined, + options?: FolderStackOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFolderStackInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFolderStackInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..9f530eeaf2ff1b045d9c948d891c2a3944b9b13d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFolderStackInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("FolderStack") +export function FolderStack( + options?: FolderStackOptions | undefined, + @memo + content?: () => void, +): ArkFolderStackComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function FolderStackImpl( + @memo + style: ((attributes: ArkFolderStackComponent) => void) | undefined, + options?: FolderStackOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkFolderStackComponent() + }) + NodeAttach((): ArkFolderStackPeer => ArkFolderStackPeer.create(receiver), (_: ArkFolderStackPeer) => { + receiver.setFolderStackOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFormComponentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFormComponentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..c85854540eabc6cd355bce21b8b316ed376d7aa1 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFormComponentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("FormComponent") +export declare function FormComponent( + value: FormInfo, + @memo + _content?: () => void, +): ArkFormComponentComponent + +@memo +export declare function FormComponentImpl( + @memo + _style: ((attributes: ArkFormComponentComponent) => void) | undefined, + value: FormInfo, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFormComponentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFormComponentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..bbe70a7c1a5230a9de690aab7c4a16fd8ae4d373 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFormComponentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("FormComponent") +export function FormComponent( + value: FormInfo, + @memo + content?: () => void, +): ArkFormComponentComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function FormComponentImpl( + @memo + style: ((attributes: ArkFormComponentComponent) => void) | undefined, + value: FormInfo, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkFormComponentComponent() + }) + NodeAttach((): ArkFormComponentPeer => ArkFormComponentPeer.create(receiver), (_: ArkFormComponentPeer) => { + receiver.setFormComponentOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFormLinkInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFormLinkInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..48f05c5be8b29a762ef1fb8dc6155012ae7af8ac --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFormLinkInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("FormLink") +export declare function FormLink( + options: FormLinkOptions, + @memo + _content?: () => void, +): ArkFormLinkComponent + +@memo +export declare function FormLinkImpl( + @memo + _style: ((attributes: ArkFormLinkComponent) => void) | undefined, + options: FormLinkOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkFormLinkInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkFormLinkInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..848697558a219be70f00af910102b50dccb7db7b --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkFormLinkInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("FormLink") +export function FormLink( + options: FormLinkOptions, + @memo + content?: () => void, +): ArkFormLinkComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function FormLinkImpl( + @memo + style: ((attributes: ArkFormLinkComponent) => void) | undefined, + options: FormLinkOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkFormLinkComponent() + }) + NodeAttach((): ArkFormLinkPeer => ArkFormLinkPeer.create(receiver), (_: ArkFormLinkPeer) => { + receiver.setFormLinkOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGaugeInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGaugeInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..ada079e6e5a83f6d86941659c2a5ea7560fdf377 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGaugeInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Gauge") +export declare function Gauge( + options: GaugeOptions, + @memo + _content?: () => void, +): ArkGaugeComponent + +@memo +export declare function GaugeImpl( + @memo + _style: ((attributes: ArkGaugeComponent) => void) | undefined, + options: GaugeOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGaugeInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGaugeInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..d44ca0bd2724f12471433fa600fd7a971697d937 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGaugeInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Gauge") +export function Gauge( + options: GaugeOptions, + @memo + content?: () => void, +): ArkGaugeComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function GaugeImpl( + @memo + style: ((attributes: ArkGaugeComponent) => void) | undefined, + options: GaugeOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkGaugeComponent() + }) + NodeAttach((): ArkGaugePeer => ArkGaugePeer.create(receiver), (_: ArkGaugePeer) => { + receiver.setGaugeOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridColInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridColInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b7c339ffc2e4de820ab5e398c666ea84d490e5c3 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridColInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("GridCol") +export declare function GridCol( + option?: GridColOptions | undefined, + @memo + _content?: () => void, +): ArkGridColComponent + +@memo +export declare function GridColImpl( + @memo + _style: ((attributes: ArkGridColComponent) => void) | undefined, + option?: GridColOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridColInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridColInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..49f586be8764fab35b953669df7202ead8c3a4d5 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridColInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("GridCol") +export function GridCol( + option?: GridColOptions | undefined, + @memo + content?: () => void, +): ArkGridColComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function GridColImpl( + @memo + style: ((attributes: ArkGridColComponent) => void) | undefined, + option?: GridColOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkGridColComponent() + }) + NodeAttach((): ArkGridColPeer => ArkGridColPeer.create(receiver), (_: ArkGridColPeer) => { + receiver.setGridColOptions(option) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridContainerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridContainerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..f50bb742732151af6018fff279b0bc65dbe1e7be --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridContainerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("GridContainer") +export declare function GridContainer( + value?: GridContainerOptions | undefined, + @memo + _content?: () => void, +): ArkGridContainerComponent + +@memo +export declare function GridContainerImpl( + @memo + _style: ((attributes: ArkGridContainerComponent) => void) | undefined, + value?: GridContainerOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridContainerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridContainerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..aa8ee956b04ea688383b0f5faf8d118f83ce3dd3 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridContainerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("GridContainer") +export function GridContainer( + value?: GridContainerOptions | undefined, + @memo + content?: () => void, +): ArkGridContainerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function GridContainerImpl( + @memo + style: ((attributes: ArkGridContainerComponent) => void) | undefined, + value?: GridContainerOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkGridContainerComponent() + }) + NodeAttach((): ArkGridContainerPeer => ArkGridContainerPeer.create(receiver), (_: ArkGridContainerPeer) => { + receiver.setGridContainerOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..1015942fe5eeb95b4a782ef0ed43c7eaaf58b4a6 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Grid") +export declare function Grid( + scroller?: Scroller | undefined, layoutOptions?: GridLayoutOptions | undefined, + @memo + _content?: () => void, +): ArkGridComponent + +@memo +export declare function GridImpl( + @memo + _style: ((attributes: ArkGridComponent) => void) | undefined, + scroller?: Scroller | undefined, layoutOptions?: GridLayoutOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..54ff644f7561e9a2a1a881e1213d1a81ba85f538 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Grid") +export function Grid( + scroller?: Scroller | undefined, layoutOptions?: GridLayoutOptions | undefined, + @memo + content?: () => void, +): ArkGridComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function GridImpl( + @memo + style: ((attributes: ArkGridComponent) => void) | undefined, + scroller?: Scroller | undefined, layoutOptions?: GridLayoutOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkGridComponent() + }) + NodeAttach((): ArkGridPeer => ArkGridPeer.create(receiver), (_: ArkGridPeer) => { + receiver.setGridOptions(scroller,layoutOptions) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridItemInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridItemInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..bd69b09bbc1e73c6a37e877f75654e50b0785baa --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridItemInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("GridItem") +export declare function GridItem( + value?: GridItemOptions | undefined, + @memo + _content?: () => void, +): ArkGridItemComponent + +@memo +export declare function GridItemImpl( + @memo + _style: ((attributes: ArkGridItemComponent) => void) | undefined, + value?: GridItemOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridItemInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridItemInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..310f4f319f6a306028348c74869041890bc9fb2c --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridItemInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("GridItem") +export function GridItem( + value?: GridItemOptions | undefined, + @memo + content?: () => void, +): ArkGridItemComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function GridItemImpl( + @memo + style: ((attributes: ArkGridItemComponent) => void) | undefined, + value?: GridItemOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkGridItemComponent() + }) + NodeAttach((): ArkGridItemPeer => ArkGridItemPeer.create(receiver), (_: ArkGridItemPeer) => { + receiver.setGridItemOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridRowInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridRowInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..fb7cf88ef78cf284c039d211be901c61c39ad709 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridRowInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("GridRow") +export declare function GridRow( + option?: GridRowOptions | undefined, + @memo + _content?: () => void, +): ArkGridRowComponent + +@memo +export declare function GridRowImpl( + @memo + _style: ((attributes: ArkGridRowComponent) => void) | undefined, + option?: GridRowOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkGridRowInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkGridRowInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..d36da0fa96b698741398f65b40e16a20c782462b --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkGridRowInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("GridRow") +export function GridRow( + option?: GridRowOptions | undefined, + @memo + content?: () => void, +): ArkGridRowComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function GridRowImpl( + @memo + style: ((attributes: ArkGridRowComponent) => void) | undefined, + option?: GridRowOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkGridRowComponent() + }) + NodeAttach((): ArkGridRowPeer => ArkGridRowPeer.create(receiver), (_: ArkGridRowPeer) => { + receiver.setGridRowOptions(option) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkHyperlinkInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkHyperlinkInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..579cfbe1b1b932a032e4dcee8b4918e988adb76f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkHyperlinkInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Hyperlink") +export declare function Hyperlink( + address: string | Resource, content?: string | Resource | undefined, + @memo + _content?: () => void, +): ArkHyperlinkComponent + +@memo +export declare function HyperlinkImpl( + @memo + _style: ((attributes: ArkHyperlinkComponent) => void) | undefined, + address: string | Resource, content?: string | Resource | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkHyperlinkInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkHyperlinkInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..a927fdf95c4ea026e22aa0915e496cd431109420 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkHyperlinkInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Hyperlink") +export function Hyperlink( + address: string | Resource, content?: string | Resource | undefined, + @memo + content?: () => void, +): ArkHyperlinkComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function HyperlinkImpl( + @memo + style: ((attributes: ArkHyperlinkComponent) => void) | undefined, + address: string | Resource, content?: string | Resource | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkHyperlinkComponent() + }) + NodeAttach((): ArkHyperlinkPeer => ArkHyperlinkPeer.create(receiver), (_: ArkHyperlinkPeer) => { + receiver.setHyperlinkOptions(address,content) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkImageAnimatorInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkImageAnimatorInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..ed534c3efc854c9d9f2e116aab545f80a522fe4e --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkImageAnimatorInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ImageAnimator") +export declare function ImageAnimator( + + @memo + _content?: () => void, +): ArkImageAnimatorComponent + +@memo +export declare function ImageAnimatorImpl( + @memo + _style: ((attributes: ArkImageAnimatorComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkImageAnimatorInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkImageAnimatorInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..5e75173818432d8199ab370aada0494da644e2f4 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkImageAnimatorInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ImageAnimator") +export function ImageAnimator( + + @memo + content?: () => void, +): ArkImageAnimatorComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ImageAnimatorImpl( + @memo + style: ((attributes: ArkImageAnimatorComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkImageAnimatorComponent() + }) + NodeAttach((): ArkImageAnimatorPeer => ArkImageAnimatorPeer.create(receiver), (_: ArkImageAnimatorPeer) => { + receiver.setImageAnimatorOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkImageInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkImageInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..a8bc3ef66ae35e0075822713b9d10fc11295fe4c --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkImageInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Image") +export declare function Image( + src: PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor | ImageContent, imageAIOptions?: ImageAIOptions | undefined, + @memo + _content?: () => void, +): ArkImageComponent + +@memo +export declare function ImageImpl( + @memo + _style: ((attributes: ArkImageComponent) => void) | undefined, + src: PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor | ImageContent, imageAIOptions?: ImageAIOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkImageInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkImageInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..2a9bb09728218bf6e3427337024fcbc6f0a14405 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkImageInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Image") +export function Image( + src: PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor | ImageContent, imageAIOptions?: ImageAIOptions | undefined, + @memo + content?: () => void, +): ArkImageComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ImageImpl( + @memo + style: ((attributes: ArkImageComponent) => void) | undefined, + src: PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor | ImageContent, imageAIOptions?: ImageAIOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkImageComponent() + }) + NodeAttach((): ArkImagePeer => ArkImagePeer.create(receiver), (_: ArkImagePeer) => { + receiver.setImageOptions(src,imageAIOptions) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkImageSpanInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkImageSpanInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..4a29e1f9d1e80c84c437c0f3e1b517d959ce9d8f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkImageSpanInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ImageSpan") +export declare function ImageSpan( + value: ResourceStr | PixelMap, + @memo + _content?: () => void, +): ArkImageSpanComponent + +@memo +export declare function ImageSpanImpl( + @memo + _style: ((attributes: ArkImageSpanComponent) => void) | undefined, + value: ResourceStr | PixelMap, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkImageSpanInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkImageSpanInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..8d14d500cf1d636987cdb6dc4b277908aa882a56 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkImageSpanInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ImageSpan") +export function ImageSpan( + value: ResourceStr | PixelMap, + @memo + content?: () => void, +): ArkImageSpanComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ImageSpanImpl( + @memo + style: ((attributes: ArkImageSpanComponent) => void) | undefined, + value: ResourceStr | PixelMap, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkImageSpanComponent() + }) + NodeAttach((): ArkImageSpanPeer => ArkImageSpanPeer.create(receiver), (_: ArkImageSpanPeer) => { + receiver.setImageSpanOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkIndicatorcomponentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkIndicatorcomponentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..0ec7c5d033f9ca4e8b160bbda8b1041e31aa9fe1 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkIndicatorcomponentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("IndicatorComponent") +export declare function IndicatorComponent( + controller?: IndicatorComponentController | undefined, + @memo + _content?: () => void, +): ArkIndicatorComponentComponent + +@memo +export declare function IndicatorComponentImpl( + @memo + _style: ((attributes: ArkIndicatorComponentComponent) => void) | undefined, + controller?: IndicatorComponentController | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkIndicatorcomponentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkIndicatorcomponentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..fb817c43916d38a72b88115b8b0f7d2cb54cebe5 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkIndicatorcomponentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("IndicatorComponent") +export function IndicatorComponent( + controller?: IndicatorComponentController | undefined, + @memo + content?: () => void, +): ArkIndicatorComponentComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function IndicatorComponentImpl( + @memo + style: ((attributes: ArkIndicatorComponentComponent) => void) | undefined, + controller?: IndicatorComponentController | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkIndicatorComponentComponent() + }) + NodeAttach((): ArkIndicatorComponentPeer => ArkIndicatorComponentPeer.create(receiver), (_: ArkIndicatorComponentPeer) => { + receiver.setIndicatorComponentOptions(controller) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkLineInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkLineInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..797ef8e176d27712c3a595f15c156e2c443331fe --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkLineInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Line") +export declare function Line( + options?: LineOptions | undefined, + @memo + _content?: () => void, +): ArkLineComponent + +@memo +export declare function LineImpl( + @memo + _style: ((attributes: ArkLineComponent) => void) | undefined, + options?: LineOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkLineInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkLineInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..0c6e2cd51c528efe8d21e3229ce2bc833df7b11a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkLineInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Line") +export function Line( + options?: LineOptions | undefined, + @memo + content?: () => void, +): ArkLineComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function LineImpl( + @memo + style: ((attributes: ArkLineComponent) => void) | undefined, + options?: LineOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkLineComponent() + }) + NodeAttach((): ArkLinePeer => ArkLinePeer.create(receiver), (_: ArkLinePeer) => { + receiver.setLineOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkLinearindicatorInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkLinearindicatorInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..a75404bf05be4ffe3088445f8c61d8b0b92c78ec --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkLinearindicatorInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("LinearIndicator") +export declare function LinearIndicator( + count?: number | undefined, controller?: LinearIndicatorController | undefined, + @memo + _content?: () => void, +): ArkLinearIndicatorComponent + +@memo +export declare function LinearIndicatorImpl( + @memo + _style: ((attributes: ArkLinearIndicatorComponent) => void) | undefined, + count?: number | undefined, controller?: LinearIndicatorController | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkLinearindicatorInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkLinearindicatorInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..fbdc0bc56beb673238ea950ff7dad6161372b6a3 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkLinearindicatorInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("LinearIndicator") +export function LinearIndicator( + count?: number | undefined, controller?: LinearIndicatorController | undefined, + @memo + content?: () => void, +): ArkLinearIndicatorComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function LinearIndicatorImpl( + @memo + style: ((attributes: ArkLinearIndicatorComponent) => void) | undefined, + count?: number | undefined, controller?: LinearIndicatorController | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkLinearIndicatorComponent() + }) + NodeAttach((): ArkLinearIndicatorPeer => ArkLinearIndicatorPeer.create(receiver), (_: ArkLinearIndicatorPeer) => { + receiver.setLinearIndicatorOptions(count,controller) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkListInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkListInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..38b14e0e31e24c607929e999c42907146e0a2956 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkListInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("List") +export declare function List( + options?: ListOptions | undefined, + @memo + _content?: () => void, +): ArkListComponent + +@memo +export declare function ListImpl( + @memo + _style: ((attributes: ArkListComponent) => void) | undefined, + options?: ListOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkListInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkListInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..1a1596b961ddca3d89e9183fa50a1cb5004d6e18 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkListInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("List") +export function List( + options?: ListOptions | undefined, + @memo + content?: () => void, +): ArkListComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ListImpl( + @memo + style: ((attributes: ArkListComponent) => void) | undefined, + options?: ListOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkListComponent() + }) + NodeAttach((): ArkListPeer => ArkListPeer.create(receiver), (_: ArkListPeer) => { + receiver.setListOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkListItemGroupInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkListItemGroupInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..fe0c6834f95a9b460c18787e9961890fb13c1d4d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkListItemGroupInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ListItemGroup") +export declare function ListItemGroup( + options?: ListItemGroupOptions | undefined, + @memo + _content?: () => void, +): ArkListItemGroupComponent + +@memo +export declare function ListItemGroupImpl( + @memo + _style: ((attributes: ArkListItemGroupComponent) => void) | undefined, + options?: ListItemGroupOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkListItemGroupInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkListItemGroupInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..16051e89a52ac84e4acdc7cd82d0a6d566efd1bd --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkListItemGroupInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ListItemGroup") +export function ListItemGroup( + options?: ListItemGroupOptions | undefined, + @memo + content?: () => void, +): ArkListItemGroupComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ListItemGroupImpl( + @memo + style: ((attributes: ArkListItemGroupComponent) => void) | undefined, + options?: ListItemGroupOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkListItemGroupComponent() + }) + NodeAttach((): ArkListItemGroupPeer => ArkListItemGroupPeer.create(receiver), (_: ArkListItemGroupPeer) => { + receiver.setListItemGroupOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkListItemInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkListItemInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..6a8658a9fcd59acbc7146fa9a36ac663f9be1eaa --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkListItemInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ListItem") +export declare function ListItem( + value?: ListItemOptions | undefined | string | undefined | undefined, + @memo + _content?: () => void, +): ArkListItemComponent + +@memo +export declare function ListItemImpl( + @memo + _style: ((attributes: ArkListItemComponent) => void) | undefined, + value?: ListItemOptions | undefined | string | undefined | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkListItemInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkListItemInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..744d38e0347953b506cdfdc9929cd74023c1460d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkListItemInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ListItem") +export function ListItem( + value?: ListItemOptions | undefined | string | undefined | undefined, + @memo + content?: () => void, +): ArkListItemComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ListItemImpl( + @memo + style: ((attributes: ArkListItemComponent) => void) | undefined, + value?: ListItemOptions | undefined | string | undefined | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkListItemComponent() + }) + NodeAttach((): ArkListItemPeer => ArkListItemPeer.create(receiver), (_: ArkListItemPeer) => { + receiver.setListItemOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkLoadingProgressInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkLoadingProgressInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..3f9bd3852087ead4c3bf759fcca21f5ca6f09785 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkLoadingProgressInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("LoadingProgress") +export declare function LoadingProgress( + + @memo + _content?: () => void, +): ArkLoadingProgressComponent + +@memo +export declare function LoadingProgressImpl( + @memo + _style: ((attributes: ArkLoadingProgressComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkLoadingProgressInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkLoadingProgressInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..6789275fa762350e7ccb1c2e455b00b99d6c2e86 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkLoadingProgressInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("LoadingProgress") +export function LoadingProgress( + + @memo + content?: () => void, +): ArkLoadingProgressComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function LoadingProgressImpl( + @memo + style: ((attributes: ArkLoadingProgressComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkLoadingProgressComponent() + }) + NodeAttach((): ArkLoadingProgressPeer => ArkLoadingProgressPeer.create(receiver), (_: ArkLoadingProgressPeer) => { + receiver.setLoadingProgressOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkLocationButtonInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkLocationButtonInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..2abff56ad6362844be5422f406eb786c72114f9d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkLocationButtonInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("LocationButton") +export declare function LocationButton( + options?: LocationButtonOptions | undefined, + @memo + _content?: () => void, +): ArkLocationButtonComponent + +@memo +export declare function LocationButtonImpl( + @memo + _style: ((attributes: ArkLocationButtonComponent) => void) | undefined, + options?: LocationButtonOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkLocationButtonInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkLocationButtonInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..c23344cd4d3b852870d96567a9b6e78a8597f37f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkLocationButtonInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("LocationButton") +export function LocationButton( + options?: LocationButtonOptions | undefined, + @memo + content?: () => void, +): ArkLocationButtonComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function LocationButtonImpl( + @memo + style: ((attributes: ArkLocationButtonComponent) => void) | undefined, + options?: LocationButtonOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkLocationButtonComponent() + }) + NodeAttach((): ArkLocationButtonPeer => ArkLocationButtonPeer.create(receiver), (_: ArkLocationButtonPeer) => { + receiver.setLocationButtonOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMarqueeInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMarqueeInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..22ce9cc3bc1fe17c940c638c6d4e74e84af01800 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMarqueeInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Marquee") +export declare function Marquee( + options: MarqueeOptions, + @memo + _content?: () => void, +): ArkMarqueeComponent + +@memo +export declare function MarqueeImpl( + @memo + _style: ((attributes: ArkMarqueeComponent) => void) | undefined, + options: MarqueeOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMarqueeInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMarqueeInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..ecdd9f409a57942b075180cdbebc16a70a1b45fd --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMarqueeInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Marquee") +export function Marquee( + options: MarqueeOptions, + @memo + content?: () => void, +): ArkMarqueeComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function MarqueeImpl( + @memo + style: ((attributes: ArkMarqueeComponent) => void) | undefined, + options: MarqueeOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkMarqueeComponent() + }) + NodeAttach((): ArkMarqueePeer => ArkMarqueePeer.create(receiver), (_: ArkMarqueePeer) => { + receiver.setMarqueeOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMediaCachedImageInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMediaCachedImageInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..6915beac4d43deccdfb81eee0641d2deb7f3127c --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMediaCachedImageInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("MediaCachedImage") +export declare function MediaCachedImage( + src: PixelMap | ResourceStr | DrawableDescriptor | ASTCResource, + @memo + _content?: () => void, +): ArkMediaCachedImageComponent + +@memo +export declare function MediaCachedImageImpl( + @memo + _style: ((attributes: ArkMediaCachedImageComponent) => void) | undefined, + src: PixelMap | ResourceStr | DrawableDescriptor | ASTCResource, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMediaCachedImageInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMediaCachedImageInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..7d0bb0d7dc7841d534042c68fb75715d48f2bce3 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMediaCachedImageInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("MediaCachedImage") +export function MediaCachedImage( + src: PixelMap | ResourceStr | DrawableDescriptor | ASTCResource, + @memo + content?: () => void, +): ArkMediaCachedImageComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function MediaCachedImageImpl( + @memo + style: ((attributes: ArkMediaCachedImageComponent) => void) | undefined, + src: PixelMap | ResourceStr | DrawableDescriptor | ASTCResource, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkMediaCachedImageComponent() + }) + NodeAttach((): ArkMediaCachedImagePeer => ArkMediaCachedImagePeer.create(receiver), (_: ArkMediaCachedImagePeer) => { + receiver.setMediaCachedImageOptions(src) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMenuInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMenuInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b07877e3815da8da5ec1562da56ab70c7c424891 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMenuInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Menu") +export declare function Menu( + + @memo + _content?: () => void, +): ArkMenuComponent + +@memo +export declare function MenuImpl( + @memo + _style: ((attributes: ArkMenuComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMenuInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMenuInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..5af36715bafde9f31f83bef9510414895c3211de --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMenuInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Menu") +export function Menu( + + @memo + content?: () => void, +): ArkMenuComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function MenuImpl( + @memo + style: ((attributes: ArkMenuComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkMenuComponent() + }) + NodeAttach((): ArkMenuPeer => ArkMenuPeer.create(receiver), (_: ArkMenuPeer) => { + receiver.setMenuOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemGroupInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemGroupInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..a87cc982343ae469f899c3cfb6c57e69a2578275 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemGroupInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("MenuItemGroup") +export declare function MenuItemGroup( + value?: MenuItemGroupOptions | undefined, + @memo + _content?: () => void, +): ArkMenuItemGroupComponent + +@memo +export declare function MenuItemGroupImpl( + @memo + _style: ((attributes: ArkMenuItemGroupComponent) => void) | undefined, + value?: MenuItemGroupOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemGroupInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemGroupInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..5350b5846304791ab634e09fc34645b1bba1c043 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemGroupInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("MenuItemGroup") +export function MenuItemGroup( + value?: MenuItemGroupOptions | undefined, + @memo + content?: () => void, +): ArkMenuItemGroupComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function MenuItemGroupImpl( + @memo + style: ((attributes: ArkMenuItemGroupComponent) => void) | undefined, + value?: MenuItemGroupOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkMenuItemGroupComponent() + }) + NodeAttach((): ArkMenuItemGroupPeer => ArkMenuItemGroupPeer.create(receiver), (_: ArkMenuItemGroupPeer) => { + receiver.setMenuItemGroupOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..d1500a17ef562d7ffb780a51262c2a061ad00444 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("MenuItem") +export declare function MenuItem( + value?: MenuItemOptions | CustomBuilder | undefined, + @memo + _content?: () => void, +): ArkMenuItemComponent + +@memo +export declare function MenuItemImpl( + @memo + _style: ((attributes: ArkMenuItemComponent) => void) | undefined, + value?: MenuItemOptions | CustomBuilder | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..a172e1a28ff4e7e8bcbdacd43237e44f7ead5581 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkMenuItemInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("MenuItem") +export function MenuItem( + value?: MenuItemOptions | CustomBuilder | undefined, + @memo + content?: () => void, +): ArkMenuItemComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function MenuItemImpl( + @memo + style: ((attributes: ArkMenuItemComponent) => void) | undefined, + value?: MenuItemOptions | CustomBuilder | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkMenuItemComponent() + }) + NodeAttach((): ArkMenuItemPeer => ArkMenuItemPeer.create(receiver), (_: ArkMenuItemPeer) => { + receiver.setMenuItemOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkNavDestinationInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkNavDestinationInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..7a1ea1ba9c594a515bbee53ac2b4229f9c67643c --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkNavDestinationInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("NavDestination") +export declare function NavDestination( + + @memo + _content?: () => void, +): ArkNavDestinationComponent + +@memo +export declare function NavDestinationImpl( + @memo + _style: ((attributes: ArkNavDestinationComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkNavDestinationInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkNavDestinationInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..07769ca66dc95a775535ed4f4e02e1883a9bd160 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkNavDestinationInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("NavDestination") +export function NavDestination( + + @memo + content?: () => void, +): ArkNavDestinationComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function NavDestinationImpl( + @memo + style: ((attributes: ArkNavDestinationComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkNavDestinationComponent() + }) + NodeAttach((): ArkNavDestinationPeer => ArkNavDestinationPeer.create(receiver), (_: ArkNavDestinationPeer) => { + receiver.setNavDestinationOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkNavRouterInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkNavRouterInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..cc267b151d42829fa4493217896594fc7e0fa984 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkNavRouterInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("NavRouter") +export declare function NavRouter( + value?: RouteInfo | undefined, + @memo + _content?: () => void, +): ArkNavRouterComponent + +@memo +export declare function NavRouterImpl( + @memo + _style: ((attributes: ArkNavRouterComponent) => void) | undefined, + value?: RouteInfo | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkNavRouterInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkNavRouterInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..49225db8feb8ed78de6f13101021ffeb0b02a072 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkNavRouterInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("NavRouter") +export function NavRouter( + value?: RouteInfo | undefined, + @memo + content?: () => void, +): ArkNavRouterComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function NavRouterImpl( + @memo + style: ((attributes: ArkNavRouterComponent) => void) | undefined, + value?: RouteInfo | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkNavRouterComponent() + }) + NodeAttach((): ArkNavRouterPeer => ArkNavRouterPeer.create(receiver), (_: ArkNavRouterPeer) => { + receiver.setNavRouterOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkNavigatorInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkNavigatorInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..ae13d8de62869a3b9e4e5bd8743df05945da7744 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkNavigatorInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Navigator") +export declare function Navigator( + value?: Literal_String_target_NavigationType_type | undefined, + @memo + _content?: () => void, +): ArkNavigatorComponent + +@memo +export declare function NavigatorImpl( + @memo + _style: ((attributes: ArkNavigatorComponent) => void) | undefined, + value?: Literal_String_target_NavigationType_type | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkNavigatorInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkNavigatorInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..f8bb4f3af36a20c306947f841563949c3c42803a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkNavigatorInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Navigator") +export function Navigator( + value?: Literal_String_target_NavigationType_type | undefined, + @memo + content?: () => void, +): ArkNavigatorComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function NavigatorImpl( + @memo + style: ((attributes: ArkNavigatorComponent) => void) | undefined, + value?: Literal_String_target_NavigationType_type | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkNavigatorComponent() + }) + NodeAttach((): ArkNavigatorPeer => ArkNavigatorPeer.create(receiver), (_: ArkNavigatorPeer) => { + receiver.setNavigatorOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkNodeContainerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkNodeContainerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..712da1fb3c9632ce26b59a07560b610542ef0388 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkNodeContainerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("NodeContainer") +export declare function NodeContainer( + controller: NodeController, + @memo + _content?: () => void, +): ArkNodeContainerComponent + +@memo +export declare function NodeContainerImpl( + @memo + _style: ((attributes: ArkNodeContainerComponent) => void) | undefined, + controller: NodeController, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkNodeContainerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkNodeContainerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..c6fe9fff9b3ecb8f2a6c8e95fa88fcd88602fa38 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkNodeContainerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("NodeContainer") +export function NodeContainer( + controller: NodeController, + @memo + content?: () => void, +): ArkNodeContainerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function NodeContainerImpl( + @memo + style: ((attributes: ArkNodeContainerComponent) => void) | undefined, + controller: NodeController, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkNodeContainerComponent() + }) + NodeAttach((): ArkNodeContainerPeer => ArkNodeContainerPeer.create(receiver), (_: ArkNodeContainerPeer) => { + receiver.setNodeContainerOptions(controller) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPanelInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPanelInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..fbc0e12c8cd59fe6e58caf71f5418c47f743e7c0 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPanelInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Panel") +export declare function Panel( + show: boolean, + @memo + _content?: () => void, +): ArkPanelComponent + +@memo +export declare function PanelImpl( + @memo + _style: ((attributes: ArkPanelComponent) => void) | undefined, + show: boolean, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPanelInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPanelInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..97b0dd15548ed416e43a377b9d2b2108d8354273 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPanelInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Panel") +export function Panel( + show: boolean, + @memo + content?: () => void, +): ArkPanelComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function PanelImpl( + @memo + style: ((attributes: ArkPanelComponent) => void) | undefined, + show: boolean, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkPanelComponent() + }) + NodeAttach((): ArkPanelPeer => ArkPanelPeer.create(receiver), (_: ArkPanelPeer) => { + receiver.setPanelOptions(show) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPasteButtonInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPasteButtonInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..2d062913f10de0d5602539db4b71332a722c0e2f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPasteButtonInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("PasteButton") +export declare function PasteButton( + options?: PasteButtonOptions | undefined, + @memo + _content?: () => void, +): ArkPasteButtonComponent + +@memo +export declare function PasteButtonImpl( + @memo + _style: ((attributes: ArkPasteButtonComponent) => void) | undefined, + options?: PasteButtonOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPasteButtonInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPasteButtonInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..68e5002c9126b690f047cb313bf56c703af3fc0d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPasteButtonInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("PasteButton") +export function PasteButton( + options?: PasteButtonOptions | undefined, + @memo + content?: () => void, +): ArkPasteButtonComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function PasteButtonImpl( + @memo + style: ((attributes: ArkPasteButtonComponent) => void) | undefined, + options?: PasteButtonOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkPasteButtonComponent() + }) + NodeAttach((): ArkPasteButtonPeer => ArkPasteButtonPeer.create(receiver), (_: ArkPasteButtonPeer) => { + receiver.setPasteButtonOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPathInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPathInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b061de09b1f2b7a87144144918fe5356a993a2b2 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPathInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Path") +export declare function Path( + options?: PathOptions | undefined, + @memo + _content?: () => void, +): ArkPathComponent + +@memo +export declare function PathImpl( + @memo + _style: ((attributes: ArkPathComponent) => void) | undefined, + options?: PathOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPathInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPathInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..e2ecf47f7dfb900edfd1b1ec413e3c7f5ca8eabc --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPathInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Path") +export function Path( + options?: PathOptions | undefined, + @memo + content?: () => void, +): ArkPathComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function PathImpl( + @memo + style: ((attributes: ArkPathComponent) => void) | undefined, + options?: PathOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkPathComponent() + }) + NodeAttach((): ArkPathPeer => ArkPathPeer.create(receiver), (_: ArkPathPeer) => { + receiver.setPathOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPatternLockInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPatternLockInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..39339b114c18875c384449d9155b6fafd6b01de4 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPatternLockInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("PatternLock") +export declare function PatternLock( + controller?: PatternLockController | undefined, + @memo + _content?: () => void, +): ArkPatternLockComponent + +@memo +export declare function PatternLockImpl( + @memo + _style: ((attributes: ArkPatternLockComponent) => void) | undefined, + controller?: PatternLockController | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPatternLockInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPatternLockInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..70fda96939ef54872e8c0ad4ee49de7c9e25a93a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPatternLockInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("PatternLock") +export function PatternLock( + controller?: PatternLockController | undefined, + @memo + content?: () => void, +): ArkPatternLockComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function PatternLockImpl( + @memo + style: ((attributes: ArkPatternLockComponent) => void) | undefined, + controller?: PatternLockController | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkPatternLockComponent() + }) + NodeAttach((): ArkPatternLockPeer => ArkPatternLockPeer.create(receiver), (_: ArkPatternLockPeer) => { + receiver.setPatternLockOptions(controller) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPluginComponentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPluginComponentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..9a4990f2f9cacc3e18a73b40e4b2a43ff2b41ddf --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPluginComponentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("PluginComponent") +export declare function PluginComponent( + options: PluginComponentOptions, + @memo + _content?: () => void, +): ArkPluginComponentComponent + +@memo +export declare function PluginComponentImpl( + @memo + _style: ((attributes: ArkPluginComponentComponent) => void) | undefined, + options: PluginComponentOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPluginComponentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPluginComponentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..60ef59b25f303f53bd9b3faf2495315c4d92fdde --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPluginComponentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("PluginComponent") +export function PluginComponent( + options: PluginComponentOptions, + @memo + content?: () => void, +): ArkPluginComponentComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function PluginComponentImpl( + @memo + style: ((attributes: ArkPluginComponentComponent) => void) | undefined, + options: PluginComponentOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkPluginComponentComponent() + }) + NodeAttach((): ArkPluginComponentPeer => ArkPluginComponentPeer.create(receiver), (_: ArkPluginComponentPeer) => { + receiver.setPluginComponentOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPolygonInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPolygonInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..37e72e7beac0e454eccb7a49fb78dae28e591121 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPolygonInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Polygon") +export declare function Polygon( + options?: PolygonOptions | undefined, + @memo + _content?: () => void, +): ArkPolygonComponent + +@memo +export declare function PolygonImpl( + @memo + _style: ((attributes: ArkPolygonComponent) => void) | undefined, + options?: PolygonOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPolygonInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPolygonInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..cc0cabfca6ce54472d942feb4ba9f2157793d73a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPolygonInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Polygon") +export function Polygon( + options?: PolygonOptions | undefined, + @memo + content?: () => void, +): ArkPolygonComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function PolygonImpl( + @memo + style: ((attributes: ArkPolygonComponent) => void) | undefined, + options?: PolygonOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkPolygonComponent() + }) + NodeAttach((): ArkPolygonPeer => ArkPolygonPeer.create(receiver), (_: ArkPolygonPeer) => { + receiver.setPolygonOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPolylineInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPolylineInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..58787ee216b58ea1eeed9ed3169980c20bf7d281 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPolylineInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Polyline") +export declare function Polyline( + options?: PolylineOptions | undefined, + @memo + _content?: () => void, +): ArkPolylineComponent + +@memo +export declare function PolylineImpl( + @memo + _style: ((attributes: ArkPolylineComponent) => void) | undefined, + options?: PolylineOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkPolylineInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkPolylineInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..001c24e2ef0f26d6eba9f44e1fc06f1b1b1d1e90 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkPolylineInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Polyline") +export function Polyline( + options?: PolylineOptions | undefined, + @memo + content?: () => void, +): ArkPolylineComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function PolylineImpl( + @memo + style: ((attributes: ArkPolylineComponent) => void) | undefined, + options?: PolylineOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkPolylineComponent() + }) + NodeAttach((): ArkPolylinePeer => ArkPolylinePeer.create(receiver), (_: ArkPolylinePeer) => { + receiver.setPolylineOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkProgressInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkProgressInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..dedddf21656dcb071327b74b6d650f085bebdfe8 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkProgressInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Progress") +export declare function Progress( + options: ProgressOptions, + @memo + _content?: () => void, +): ArkProgressComponent + +@memo +export declare function ProgressImpl( + @memo + _style: ((attributes: ArkProgressComponent) => void) | undefined, + options: ProgressOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkProgressInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkProgressInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..0cd3fd16e6c729fea3935b820f8038ca47437d14 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkProgressInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Progress") +export function Progress( + options: ProgressOptions, + @memo + content?: () => void, +): ArkProgressComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ProgressImpl( + @memo + style: ((attributes: ArkProgressComponent) => void) | undefined, + options: ProgressOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkProgressComponent() + }) + NodeAttach((): ArkProgressPeer => ArkProgressPeer.create(receiver), (_: ArkProgressPeer) => { + receiver.setProgressOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkQrcodeInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkQrcodeInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..bf9ac5c424187c3e293843bcfe0caf2caa764b8c --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkQrcodeInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("QRCode") +export declare function QRCode( + value: string, + @memo + _content?: () => void, +): ArkQRCodeComponent + +@memo +export declare function QRCodeImpl( + @memo + _style: ((attributes: ArkQRCodeComponent) => void) | undefined, + value: string, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkQrcodeInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkQrcodeInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..d9a917ac0941846d821da6535909dfae2ff1beb9 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkQrcodeInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("QRCode") +export function QRCode( + value: string, + @memo + content?: () => void, +): ArkQRCodeComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function QRCodeImpl( + @memo + style: ((attributes: ArkQRCodeComponent) => void) | undefined, + value: string, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkQRCodeComponent() + }) + NodeAttach((): ArkQRCodePeer => ArkQRCodePeer.create(receiver), (_: ArkQRCodePeer) => { + receiver.setQRCodeOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRadioInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRadioInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..d87e017b1ba44ec2d3c764d0e9f20db7d2ae6301 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRadioInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Radio") +export declare function Radio( + options: RadioOptions, + @memo + _content?: () => void, +): ArkRadioComponent + +@memo +export declare function RadioImpl( + @memo + _style: ((attributes: ArkRadioComponent) => void) | undefined, + options: RadioOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRadioInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRadioInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..c4aec6b0a028a476047eb2b896fb3282666a7571 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRadioInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Radio") +export function Radio( + options: RadioOptions, + @memo + content?: () => void, +): ArkRadioComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RadioImpl( + @memo + style: ((attributes: ArkRadioComponent) => void) | undefined, + options: RadioOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRadioComponent() + }) + NodeAttach((): ArkRadioPeer => ArkRadioPeer.create(receiver), (_: ArkRadioPeer) => { + receiver.setRadioOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRatingInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRatingInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..4933966a84ca6754be63ae52f0a1123866388517 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRatingInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Rating") +export declare function Rating( + options?: RatingOptions | undefined, + @memo + _content?: () => void, +): ArkRatingComponent + +@memo +export declare function RatingImpl( + @memo + _style: ((attributes: ArkRatingComponent) => void) | undefined, + options?: RatingOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRatingInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRatingInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..95de7bfe4eb70a32029f79b33fa254d00c64e362 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRatingInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Rating") +export function Rating( + options?: RatingOptions | undefined, + @memo + content?: () => void, +): ArkRatingComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RatingImpl( + @memo + style: ((attributes: ArkRatingComponent) => void) | undefined, + options?: RatingOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRatingComponent() + }) + NodeAttach((): ArkRatingPeer => ArkRatingPeer.create(receiver), (_: ArkRatingPeer) => { + receiver.setRatingOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRectInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRectInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b015065ada9f5798615ee010252ae1a685fb478f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRectInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Rect") +export declare function Rect( + options?: RectOptions | RoundedRectOptions | undefined, + @memo + _content?: () => void, +): ArkRectComponent + +@memo +export declare function RectImpl( + @memo + _style: ((attributes: ArkRectComponent) => void) | undefined, + options?: RectOptions | RoundedRectOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRectInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRectInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..8bef9e37cac2374aa7f593ff9107368d482d153a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRectInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Rect") +export function Rect( + options?: RectOptions | RoundedRectOptions | undefined, + @memo + content?: () => void, +): ArkRectComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RectImpl( + @memo + style: ((attributes: ArkRectComponent) => void) | undefined, + options?: RectOptions | RoundedRectOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRectComponent() + }) + NodeAttach((): ArkRectPeer => ArkRectPeer.create(receiver), (_: ArkRectPeer) => { + receiver.setRectOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRefreshInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRefreshInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..d62a477a6c10e955f5c3752804e629d1e320f32f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRefreshInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Refresh") +export declare function Refresh( + value: RefreshOptions, + @memo + _content?: () => void, +): ArkRefreshComponent + +@memo +export declare function RefreshImpl( + @memo + _style: ((attributes: ArkRefreshComponent) => void) | undefined, + value: RefreshOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRefreshInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRefreshInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..15c30e08a6f3bf6aa0f0c8afceff7bbe4d94787e --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRefreshInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Refresh") +export function Refresh( + value: RefreshOptions, + @memo + content?: () => void, +): ArkRefreshComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RefreshImpl( + @memo + style: ((attributes: ArkRefreshComponent) => void) | undefined, + value: RefreshOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRefreshComponent() + }) + NodeAttach((): ArkRefreshPeer => ArkRefreshPeer.create(receiver), (_: ArkRefreshPeer) => { + receiver.setRefreshOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRelativeContainerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRelativeContainerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..6a1f9dc24f176468dd6a60e12f2b8824bd80fa26 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRelativeContainerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RelativeContainer") +export declare function RelativeContainer( + + @memo + _content?: () => void, +): ArkRelativeContainerComponent + +@memo +export declare function RelativeContainerImpl( + @memo + _style: ((attributes: ArkRelativeContainerComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRelativeContainerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRelativeContainerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..b1e718d20acefe8a9ad3b52853f0f765415cc292 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRelativeContainerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RelativeContainer") +export function RelativeContainer( + + @memo + content?: () => void, +): ArkRelativeContainerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RelativeContainerImpl( + @memo + style: ((attributes: ArkRelativeContainerComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRelativeContainerComponent() + }) + NodeAttach((): ArkRelativeContainerPeer => ArkRelativeContainerPeer.create(receiver), (_: ArkRelativeContainerPeer) => { + receiver.setRelativeContainerOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRemoteWindowInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRemoteWindowInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..f54d26e81e38214c2bb3983ffd0a7dbdce382804 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRemoteWindowInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RemoteWindow") +export declare function RemoteWindow( + target: WindowAnimationTarget, + @memo + _content?: () => void, +): ArkRemoteWindowComponent + +@memo +export declare function RemoteWindowImpl( + @memo + _style: ((attributes: ArkRemoteWindowComponent) => void) | undefined, + target: WindowAnimationTarget, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRemoteWindowInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRemoteWindowInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..c24158a2bc297869f60ff1b9f2e454b36dd3436a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRemoteWindowInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RemoteWindow") +export function RemoteWindow( + target: WindowAnimationTarget, + @memo + content?: () => void, +): ArkRemoteWindowComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RemoteWindowImpl( + @memo + style: ((attributes: ArkRemoteWindowComponent) => void) | undefined, + target: WindowAnimationTarget, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRemoteWindowComponent() + }) + NodeAttach((): ArkRemoteWindowPeer => ArkRemoteWindowPeer.create(receiver), (_: ArkRemoteWindowPeer) => { + receiver.setRemoteWindowOptions(target) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRichEditorInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRichEditorInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..57c1efcef93d2925255ed783da4fb5c6d0ff5e06 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRichEditorInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RichEditor") +export declare function RichEditor( + value: RichEditorOptions | RichEditorStyledStringOptions, + @memo + _content?: () => void, +): ArkRichEditorComponent + +@memo +export declare function RichEditorImpl( + @memo + _style: ((attributes: ArkRichEditorComponent) => void) | undefined, + value: RichEditorOptions | RichEditorStyledStringOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRichEditorInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRichEditorInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..39f556112f1a2e3f2208045964331837aba38bbe --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRichEditorInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RichEditor") +export function RichEditor( + value: RichEditorOptions | RichEditorStyledStringOptions, + @memo + content?: () => void, +): ArkRichEditorComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RichEditorImpl( + @memo + style: ((attributes: ArkRichEditorComponent) => void) | undefined, + value: RichEditorOptions | RichEditorStyledStringOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRichEditorComponent() + }) + NodeAttach((): ArkRichEditorPeer => ArkRichEditorPeer.create(receiver), (_: ArkRichEditorPeer) => { + receiver.setRichEditorOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRichTextInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRichTextInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..37992a49ec46c021438ddbd6da9130066dc2a90a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRichTextInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RichText") +export declare function RichText( + content: string, + @memo + _content?: () => void, +): ArkRichTextComponent + +@memo +export declare function RichTextImpl( + @memo + _style: ((attributes: ArkRichTextComponent) => void) | undefined, + content: string, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRichTextInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRichTextInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..e4b0a3f4e87026cddb4938f4553844137cf91192 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRichTextInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RichText") +export function RichText( + content: string, + @memo + content?: () => void, +): ArkRichTextComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RichTextImpl( + @memo + style: ((attributes: ArkRichTextComponent) => void) | undefined, + content: string, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRichTextComponent() + }) + NodeAttach((): ArkRichTextPeer => ArkRichTextPeer.create(receiver), (_: ArkRichTextPeer) => { + receiver.setRichTextOptions(content) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRootSceneInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRootSceneInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..7e7648ed3e6f362275eb91bba0e47a05dbb5c421 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRootSceneInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RootScene") +export declare function RootScene( + session: RootSceneSession, + @memo + _content?: () => void, +): ArkRootSceneComponent + +@memo +export declare function RootSceneImpl( + @memo + _style: ((attributes: ArkRootSceneComponent) => void) | undefined, + session: RootSceneSession, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRootSceneInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRootSceneInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..9e438486cba7873b5fd7107d8c0f9ad52fcbca34 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRootSceneInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RootScene") +export function RootScene( + session: RootSceneSession, + @memo + content?: () => void, +): ArkRootSceneComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RootSceneImpl( + @memo + style: ((attributes: ArkRootSceneComponent) => void) | undefined, + session: RootSceneSession, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRootSceneComponent() + }) + NodeAttach((): ArkRootScenePeer => ArkRootScenePeer.create(receiver), (_: ArkRootScenePeer) => { + receiver.setRootSceneOptions(session) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRowInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRowInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..0954d3d3fa8cf84b3a1217d40bde86fa932c6998 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRowInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Row") +export declare function Row( + options?: RowOptions | undefined, + @memo + _content?: () => void, +): ArkRowComponent + +@memo +export declare function RowImpl( + @memo + _style: ((attributes: ArkRowComponent) => void) | undefined, + options?: RowOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRowInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRowInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..13489ec749cab6da2ddb2a1e3fc2a56a01e2b92a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRowInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Row") +export function Row( + options?: RowOptions | undefined, + @memo + content?: () => void, +): ArkRowComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RowImpl( + @memo + style: ((attributes: ArkRowComponent) => void) | undefined, + options?: RowOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRowComponent() + }) + NodeAttach((): ArkRowPeer => ArkRowPeer.create(receiver), (_: ArkRowPeer) => { + receiver.setRowOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRowSplitInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRowSplitInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..2d28a5f32f665f7465449e49357ef220e1950a53 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRowSplitInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RowSplit") +export declare function RowSplit( + + @memo + _content?: () => void, +): ArkRowSplitComponent + +@memo +export declare function RowSplitImpl( + @memo + _style: ((attributes: ArkRowSplitComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkRowSplitInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkRowSplitInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..47951d353e048f4d12ddb058c011e549c99cb0a3 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkRowSplitInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("RowSplit") +export function RowSplit( + + @memo + content?: () => void, +): ArkRowSplitComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RowSplitImpl( + @memo + style: ((attributes: ArkRowSplitComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRowSplitComponent() + }) + NodeAttach((): ArkRowSplitPeer => ArkRowSplitPeer.create(receiver), (_: ArkRowSplitPeer) => { + receiver.setRowSplitOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSaveButtonInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSaveButtonInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..fbf585bb7ef44cd82f3700265b694c72fe5a0d35 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSaveButtonInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SaveButton") +export declare function SaveButton( + options?: SaveButtonOptions | undefined, + @memo + _content?: () => void, +): ArkSaveButtonComponent + +@memo +export declare function SaveButtonImpl( + @memo + _style: ((attributes: ArkSaveButtonComponent) => void) | undefined, + options?: SaveButtonOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSaveButtonInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSaveButtonInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..e0e7be1c0ed587aa2fe6151af19365b1e82107f2 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSaveButtonInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SaveButton") +export function SaveButton( + options?: SaveButtonOptions | undefined, + @memo + content?: () => void, +): ArkSaveButtonComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SaveButtonImpl( + @memo + style: ((attributes: ArkSaveButtonComponent) => void) | undefined, + options?: SaveButtonOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSaveButtonComponent() + }) + NodeAttach((): ArkSaveButtonPeer => ArkSaveButtonPeer.create(receiver), (_: ArkSaveButtonPeer) => { + receiver.setSaveButtonOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkScreenInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkScreenInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..0064b1db506e62dad59eea0556dd6f1dccb9104d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkScreenInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Screen") +export declare function Screen( + screenId: number, + @memo + _content?: () => void, +): ArkScreenComponent + +@memo +export declare function ScreenImpl( + @memo + _style: ((attributes: ArkScreenComponent) => void) | undefined, + screenId: number, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkScreenInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkScreenInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..b0742f4455e936a6cc87856350ec5e9509967866 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkScreenInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Screen") +export function Screen( + screenId: number, + @memo + content?: () => void, +): ArkScreenComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ScreenImpl( + @memo + style: ((attributes: ArkScreenComponent) => void) | undefined, + screenId: number, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkScreenComponent() + }) + NodeAttach((): ArkScreenPeer => ArkScreenPeer.create(receiver), (_: ArkScreenPeer) => { + receiver.setScreenOptions(screenId) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkScrollBarInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkScrollBarInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..da85b01fa1147b05c933ab39a626f98eaed3f4e9 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkScrollBarInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ScrollBar") +export declare function ScrollBar( + value: ScrollBarOptions, + @memo + _content?: () => void, +): ArkScrollBarComponent + +@memo +export declare function ScrollBarImpl( + @memo + _style: ((attributes: ArkScrollBarComponent) => void) | undefined, + value: ScrollBarOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkScrollBarInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkScrollBarInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..a912914b0f0b7dae3eefeef7490caeaeb5fd84df --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkScrollBarInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("ScrollBar") +export function ScrollBar( + value: ScrollBarOptions, + @memo + content?: () => void, +): ArkScrollBarComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ScrollBarImpl( + @memo + style: ((attributes: ArkScrollBarComponent) => void) | undefined, + value: ScrollBarOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkScrollBarComponent() + }) + NodeAttach((): ArkScrollBarPeer => ArkScrollBarPeer.create(receiver), (_: ArkScrollBarPeer) => { + receiver.setScrollBarOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkScrollInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkScrollInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..f982170f63a6abcaa9c77151301159c8bca76f18 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkScrollInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Scroll") +export declare function Scroll( + scroller?: Scroller | undefined, + @memo + _content?: () => void, +): ArkScrollComponent + +@memo +export declare function ScrollImpl( + @memo + _style: ((attributes: ArkScrollComponent) => void) | undefined, + scroller?: Scroller | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkScrollInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkScrollInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..783bf710b6445fd359af9c03245635847b3ce5fe --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkScrollInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Scroll") +export function Scroll( + scroller?: Scroller | undefined, + @memo + content?: () => void, +): ArkScrollComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ScrollImpl( + @memo + style: ((attributes: ArkScrollComponent) => void) | undefined, + scroller?: Scroller | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkScrollComponent() + }) + NodeAttach((): ArkScrollPeer => ArkScrollPeer.create(receiver), (_: ArkScrollPeer) => { + receiver.setScrollOptions(scroller) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSearchInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSearchInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..84bd7cb421bc8b2c44a051076c673f9f6d046c53 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSearchInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Search") +export declare function Search( + options?: SearchOptions | undefined, + @memo + _content?: () => void, +): ArkSearchComponent + +@memo +export declare function SearchImpl( + @memo + _style: ((attributes: ArkSearchComponent) => void) | undefined, + options?: SearchOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSearchInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSearchInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..dabd713269ed779860d75ba029bf3281f8e12a1d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSearchInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Search") +export function Search( + options?: SearchOptions | undefined, + @memo + content?: () => void, +): ArkSearchComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SearchImpl( + @memo + style: ((attributes: ArkSearchComponent) => void) | undefined, + options?: SearchOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSearchComponent() + }) + NodeAttach((): ArkSearchPeer => ArkSearchPeer.create(receiver), (_: ArkSearchPeer) => { + receiver.setSearchOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSecurityComponentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSecurityComponentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..e55267820a45f8c4258442aa3f716a1cdbe35833 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSecurityComponentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SecurityComponentMethod") +export declare function SecurityComponentMethod( + + @memo + _content?: () => void, +): ArkSecurityComponentMethodComponent + +@memo +export declare function SecurityComponentMethodImpl( + @memo + _style: ((attributes: ArkSecurityComponentMethodComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSecurityComponentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSecurityComponentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..64c1c5f2bf45fa2aa5b4eca9aa58e947a665ecd0 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSecurityComponentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SecurityComponentMethod") +export function SecurityComponentMethod( + + @memo + content?: () => void, +): ArkSecurityComponentMethodComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SecurityComponentMethodImpl( + @memo + style: ((attributes: ArkSecurityComponentMethodComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSecurityComponentMethodComponent() + }) + NodeAttach((): ArkSecurityComponentMethodPeer => ArkSecurityComponentMethodPeer.create(receiver), (_: ArkSecurityComponentMethodPeer) => { + + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSelectInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSelectInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..ef751e30cb11de01a1390716d4941b6a79a265e5 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSelectInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Select") +export declare function Select( + options: Array, + @memo + _content?: () => void, +): ArkSelectComponent + +@memo +export declare function SelectImpl( + @memo + _style: ((attributes: ArkSelectComponent) => void) | undefined, + options: Array, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSelectInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSelectInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..8ce9c94389e6b26c3f3c5723a39eb2d1a16818a1 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSelectInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Select") +export function Select( + options: Array, + @memo + content?: () => void, +): ArkSelectComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SelectImpl( + @memo + style: ((attributes: ArkSelectComponent) => void) | undefined, + options: Array, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSelectComponent() + }) + NodeAttach((): ArkSelectPeer => ArkSelectPeer.create(receiver), (_: ArkSelectPeer) => { + receiver.setSelectOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkShapeInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkShapeInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..d82786e62cd856e9bc99182107639a5eb1b3289a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkShapeInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Shape") +export declare function Shape( + value?: PixelMap | undefined, + @memo + _content?: () => void, +): ArkShapeComponent + +@memo +export declare function ShapeImpl( + @memo + _style: ((attributes: ArkShapeComponent) => void) | undefined, + value?: PixelMap | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkShapeInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkShapeInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..e39254055fb1e89c84729119d836365706f4d1af --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkShapeInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Shape") +export function Shape( + value?: PixelMap | undefined, + @memo + content?: () => void, +): ArkShapeComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ShapeImpl( + @memo + style: ((attributes: ArkShapeComponent) => void) | undefined, + value?: PixelMap | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkShapeComponent() + }) + NodeAttach((): ArkShapePeer => ArkShapePeer.create(receiver), (_: ArkShapePeer) => { + receiver.setShapeOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSidebarInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSidebarInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..a470c40b4bb726954cd74f66a44d2bfa3fafb69d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSidebarInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SideBarContainer") +export declare function SideBarContainer( + type?: SideBarContainerType | undefined, + @memo + _content?: () => void, +): ArkSideBarContainerComponent + +@memo +export declare function SideBarContainerImpl( + @memo + _style: ((attributes: ArkSideBarContainerComponent) => void) | undefined, + type?: SideBarContainerType | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSidebarInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSidebarInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..30f113c4263873b2f43c8dd07b8177fd5e25b2aa --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSidebarInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SideBarContainer") +export function SideBarContainer( + type?: SideBarContainerType | undefined, + @memo + content?: () => void, +): ArkSideBarContainerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SideBarContainerImpl( + @memo + style: ((attributes: ArkSideBarContainerComponent) => void) | undefined, + type?: SideBarContainerType | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSideBarContainerComponent() + }) + NodeAttach((): ArkSideBarContainerPeer => ArkSideBarContainerPeer.create(receiver), (_: ArkSideBarContainerPeer) => { + receiver.setSideBarContainerOptions(type) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSliderInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSliderInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..d50c332bf87184d49d154858872eaf6dfec55117 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSliderInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Slider") +export declare function Slider( + options?: SliderOptions | undefined, + @memo + _content?: () => void, +): ArkSliderComponent + +@memo +export declare function SliderImpl( + @memo + _style: ((attributes: ArkSliderComponent) => void) | undefined, + options?: SliderOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSliderInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSliderInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..f36317331994e3c9f40443fffb21653af676e66b --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSliderInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Slider") +export function Slider( + options?: SliderOptions | undefined, + @memo + content?: () => void, +): ArkSliderComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SliderImpl( + @memo + style: ((attributes: ArkSliderComponent) => void) | undefined, + options?: SliderOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSliderComponent() + }) + NodeAttach((): ArkSliderPeer => ArkSliderPeer.create(receiver), (_: ArkSliderPeer) => { + receiver.setSliderOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSpanInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSpanInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..13b90ae985501c97d9ba5948ffec255b624fb628 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSpanInterfaces.d.sts @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("BaseSpan") +export declare function BaseSpan( + + @memo + _content?: () => void, +): ArkBaseSpanComponent + +@memo +export declare function BaseSpanImpl( + @memo + _style: ((attributes: ArkBaseSpanComponent) => void) | undefined, + + @memo + _content?: () => void, +): void +@memo +@BuildLambda("Span") +export declare function Span( + value: string | Resource, + @memo + _content?: () => void, +): ArkSpanComponent + +@memo +export declare function SpanImpl( + @memo + _style: ((attributes: ArkSpanComponent) => void) | undefined, + value: string | Resource, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSpanInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSpanInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..a59950cb0ef727cbedcab9a07a069fbc0c94bf31 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSpanInterfaces.sts @@ -0,0 +1,76 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("BaseSpan") +export function BaseSpan( + + @memo + content?: () => void, +): ArkBaseSpanComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function BaseSpanImpl( + @memo + style: ((attributes: ArkBaseSpanComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkBaseSpanComponent() + }) + NodeAttach((): ArkBaseSpanPeer => ArkBaseSpanPeer.create(receiver), (_: ArkBaseSpanPeer) => { + + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + +@memo +@BuildLambda("Span") +export function Span( + value: string | Resource, + @memo + content?: () => void, +): ArkSpanComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SpanImpl( + @memo + style: ((attributes: ArkSpanComponent) => void) | undefined, + value: string | Resource, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSpanComponent() + }) + NodeAttach((): ArkSpanPeer => ArkSpanPeer.create(receiver), (_: ArkSpanPeer) => { + receiver.setSpanOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkStackInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkStackInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..3b83d2677f76d4242e466398e705af687d2fccae --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkStackInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Stack") +export declare function Stack( + options?: StackOptions | undefined, + @memo + _content?: () => void, +): ArkStackComponent + +@memo +export declare function StackImpl( + @memo + _style: ((attributes: ArkStackComponent) => void) | undefined, + options?: StackOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkStackInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkStackInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..a9a0fff7ef3772b9af66ca2a04dcebcac1448667 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkStackInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Stack") +export function Stack( + options?: StackOptions | undefined, + @memo + content?: () => void, +): ArkStackComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function StackImpl( + @memo + style: ((attributes: ArkStackComponent) => void) | undefined, + options?: StackOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkStackComponent() + }) + NodeAttach((): ArkStackPeer => ArkStackPeer.create(receiver), (_: ArkStackPeer) => { + receiver.setStackOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkStaticComponentsInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkStaticComponentsInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..1c901e5e8403969cf4ac74711e223c4bcfc63d54 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkStaticComponentsInterfaces.d.sts @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Root") +export declare function Root( + + @memo + _content?: () => void, +): ArkRootComponent + +@memo +export declare function RootImpl( + @memo + _style: ((attributes: ArkRootComponent) => void) | undefined, + + @memo + _content?: () => void, +): void +@memo +@BuildLambda("ComponentRoot") +export declare function ComponentRoot( + + @memo + _content?: () => void, +): ArkComponentRootComponent + +@memo +export declare function ComponentRootImpl( + @memo + _style: ((attributes: ArkComponentRootComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkStaticComponentsInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkStaticComponentsInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..2684b29513990772abb58eb1fb41d94871482793 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkStaticComponentsInterfaces.sts @@ -0,0 +1,76 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Root") +export function Root( + + @memo + content?: () => void, +): ArkRootComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function RootImpl( + @memo + style: ((attributes: ArkRootComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkRootComponent() + }) + NodeAttach((): ArkRootPeer => ArkRootPeer.create(receiver), (_: ArkRootPeer) => { + + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + +@memo +@BuildLambda("ComponentRoot") +export function ComponentRoot( + + @memo + content?: () => void, +): ArkComponentRootComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ComponentRootImpl( + @memo + style: ((attributes: ArkComponentRootComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkComponentRootComponent() + }) + NodeAttach((): ArkComponentRootPeer => ArkComponentRootPeer.create(receiver), (_: ArkComponentRootPeer) => { + + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkStepperInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkStepperInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..687526d3494f584c68fcc4f9279340bf71f3c1e9 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkStepperInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Stepper") +export declare function Stepper( + value?: Literal_Number_index | undefined, + @memo + _content?: () => void, +): ArkStepperComponent + +@memo +export declare function StepperImpl( + @memo + _style: ((attributes: ArkStepperComponent) => void) | undefined, + value?: Literal_Number_index | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkStepperInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkStepperInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..262cc8fb97dd7d98ae52bc58d4ad7c5899a4fa3c --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkStepperInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Stepper") +export function Stepper( + value?: Literal_Number_index | undefined, + @memo + content?: () => void, +): ArkStepperComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function StepperImpl( + @memo + style: ((attributes: ArkStepperComponent) => void) | undefined, + value?: Literal_Number_index | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkStepperComponent() + }) + NodeAttach((): ArkStepperPeer => ArkStepperPeer.create(receiver), (_: ArkStepperPeer) => { + receiver.setStepperOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkStepperItemInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkStepperItemInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..23d44380c9bc8889404d53caacb678695b061d88 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkStepperItemInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("StepperItem") +export declare function StepperItem( + + @memo + _content?: () => void, +): ArkStepperItemComponent + +@memo +export declare function StepperItemImpl( + @memo + _style: ((attributes: ArkStepperItemComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkStepperItemInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkStepperItemInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..ccfb8fd4402aff460ad070d8c10c7c5d184c0a81 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkStepperItemInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("StepperItem") +export function StepperItem( + + @memo + content?: () => void, +): ArkStepperItemComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function StepperItemImpl( + @memo + style: ((attributes: ArkStepperItemComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkStepperItemComponent() + }) + NodeAttach((): ArkStepperItemPeer => ArkStepperItemPeer.create(receiver), (_: ArkStepperItemPeer) => { + receiver.setStepperItemOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSwiperInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSwiperInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..36abad3c7e2d74ab24c49344d0d9a53a1330b89d --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSwiperInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Swiper") +export declare function Swiper( + controller?: SwiperController | undefined, + @memo + _content?: () => void, +): ArkSwiperComponent + +@memo +export declare function SwiperImpl( + @memo + _style: ((attributes: ArkSwiperComponent) => void) | undefined, + controller?: SwiperController | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSwiperInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSwiperInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..93f95a80c1e1ecc78cc5cffde4299a0f19791f80 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSwiperInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Swiper") +export function Swiper( + controller?: SwiperController | undefined, + @memo + content?: () => void, +): ArkSwiperComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SwiperImpl( + @memo + style: ((attributes: ArkSwiperComponent) => void) | undefined, + controller?: SwiperController | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSwiperComponent() + }) + NodeAttach((): ArkSwiperPeer => ArkSwiperPeer.create(receiver), (_: ArkSwiperPeer) => { + receiver.setSwiperOptions(controller) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSymbolSpanInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSymbolSpanInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..6bd100a40ed30222286abede1c5d59552c608928 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSymbolSpanInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SymbolSpan") +export declare function SymbolSpan( + value: Resource, + @memo + _content?: () => void, +): ArkSymbolSpanComponent + +@memo +export declare function SymbolSpanImpl( + @memo + _style: ((attributes: ArkSymbolSpanComponent) => void) | undefined, + value: Resource, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSymbolSpanInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSymbolSpanInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..b7ddadda2bf68a337d9ca53c26b8a31ef260cf8f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSymbolSpanInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SymbolSpan") +export function SymbolSpan( + value: Resource, + @memo + content?: () => void, +): ArkSymbolSpanComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SymbolSpanImpl( + @memo + style: ((attributes: ArkSymbolSpanComponent) => void) | undefined, + value: Resource, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSymbolSpanComponent() + }) + NodeAttach((): ArkSymbolSpanPeer => ArkSymbolSpanPeer.create(receiver), (_: ArkSymbolSpanPeer) => { + receiver.setSymbolSpanOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSymbolglyphInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSymbolglyphInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..cdf3fc6bd6f2fa2a7b7668ff6d85810e911b801f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSymbolglyphInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SymbolGlyph") +export declare function SymbolGlyph( + value?: Resource | undefined, + @memo + _content?: () => void, +): ArkSymbolGlyphComponent + +@memo +export declare function SymbolGlyphImpl( + @memo + _style: ((attributes: ArkSymbolGlyphComponent) => void) | undefined, + value?: Resource | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkSymbolglyphInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkSymbolglyphInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..1106f756cab3367ce7e00811325f968c1b53c36e --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkSymbolglyphInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("SymbolGlyph") +export function SymbolGlyph( + value?: Resource | undefined, + @memo + content?: () => void, +): ArkSymbolGlyphComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function SymbolGlyphImpl( + @memo + style: ((attributes: ArkSymbolGlyphComponent) => void) | undefined, + value?: Resource | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkSymbolGlyphComponent() + }) + NodeAttach((): ArkSymbolGlyphPeer => ArkSymbolGlyphPeer.create(receiver), (_: ArkSymbolGlyphPeer) => { + receiver.setSymbolGlyphOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTabContentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTabContentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..4bd1f23730f0dfd65d261c0bc49ef5aed5892306 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTabContentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TabContent") +export declare function TabContent( + + @memo + _content?: () => void, +): ArkTabContentComponent + +@memo +export declare function TabContentImpl( + @memo + _style: ((attributes: ArkTabContentComponent) => void) | undefined, + + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTabContentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTabContentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..4261acee772abdb552b3478d7c47b75fedf75239 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTabContentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TabContent") +export function TabContent( + + @memo + content?: () => void, +): ArkTabContentComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function TabContentImpl( + @memo + style: ((attributes: ArkTabContentComponent) => void) | undefined, + + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkTabContentComponent() + }) + NodeAttach((): ArkTabContentPeer => ArkTabContentPeer.create(receiver), (_: ArkTabContentPeer) => { + receiver.setTabContentOptions() + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTabsInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTabsInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..307df07b91a16e5149bc8898924fa25f9e59925a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTabsInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Tabs") +export declare function Tabs( + options?: TabsOptions | undefined, + @memo + _content?: () => void, +): ArkTabsComponent + +@memo +export declare function TabsImpl( + @memo + _style: ((attributes: ArkTabsComponent) => void) | undefined, + options?: TabsOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTabsInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTabsInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..c4501d83f7c4e2bd41523c3f35502caacd2a0998 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTabsInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Tabs") +export function Tabs( + options?: TabsOptions | undefined, + @memo + content?: () => void, +): ArkTabsComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function TabsImpl( + @memo + style: ((attributes: ArkTabsComponent) => void) | undefined, + options?: TabsOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkTabsComponent() + }) + NodeAttach((): ArkTabsPeer => ArkTabsPeer.create(receiver), (_: ArkTabsPeer) => { + receiver.setTabsOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextAreaInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextAreaInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..9d6ff993472d3f4e919a5b9d20b835bbcdf4ebea --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextAreaInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextArea") +export declare function TextArea( + value?: TextAreaOptions | undefined, + @memo + _content?: () => void, +): ArkTextAreaComponent + +@memo +export declare function TextAreaImpl( + @memo + _style: ((attributes: ArkTextAreaComponent) => void) | undefined, + value?: TextAreaOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextAreaInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextAreaInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..9443a0c5c0823d22d812eb047033cfe677306a9b --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextAreaInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextArea") +export function TextArea( + value?: TextAreaOptions | undefined, + @memo + content?: () => void, +): ArkTextAreaComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function TextAreaImpl( + @memo + style: ((attributes: ArkTextAreaComponent) => void) | undefined, + value?: TextAreaOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkTextAreaComponent() + }) + NodeAttach((): ArkTextAreaPeer => ArkTextAreaPeer.create(receiver), (_: ArkTextAreaPeer) => { + receiver.setTextAreaOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextClockInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextClockInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..ead7839348efbec6b6f5e2ce2ee05db0a844afde --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextClockInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextClock") +export declare function TextClock( + options?: TextClockOptions | undefined, + @memo + _content?: () => void, +): ArkTextClockComponent + +@memo +export declare function TextClockImpl( + @memo + _style: ((attributes: ArkTextClockComponent) => void) | undefined, + options?: TextClockOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextClockInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextClockInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..4675288dd63697c6f7fbbed9db34e8869e5ea3f1 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextClockInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextClock") +export function TextClock( + options?: TextClockOptions | undefined, + @memo + content?: () => void, +): ArkTextClockComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function TextClockImpl( + @memo + style: ((attributes: ArkTextClockComponent) => void) | undefined, + options?: TextClockOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkTextClockComponent() + }) + NodeAttach((): ArkTextClockPeer => ArkTextClockPeer.create(receiver), (_: ArkTextClockPeer) => { + receiver.setTextClockOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextInputInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextInputInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..9c2a536adda044e77f51a0f9ef2bc09c59067d45 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextInputInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextInput") +export declare function TextInput( + value?: TextInputOptions | undefined, + @memo + _content?: () => void, +): ArkTextInputComponent + +@memo +export declare function TextInputImpl( + @memo + _style: ((attributes: ArkTextInputComponent) => void) | undefined, + value?: TextInputOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextInputInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextInputInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..c1a16154305702fdc1599e49ecaddbc1666db8bb --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextInputInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextInput") +export function TextInput( + value?: TextInputOptions | undefined, + @memo + content?: () => void, +): ArkTextInputComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function TextInputImpl( + @memo + style: ((attributes: ArkTextInputComponent) => void) | undefined, + value?: TextInputOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkTextInputComponent() + }) + NodeAttach((): ArkTextInputPeer => ArkTextInputPeer.create(receiver), (_: ArkTextInputPeer) => { + receiver.setTextInputOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..b964df03fddaa51c16e8d7af293d9f71936914cd --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Text") +export declare function Text( + content?: string | Resource | undefined, value?: TextOptions | undefined, + @memo + _content?: () => void, +): ArkTextComponent + +@memo +export declare function TextImpl( + @memo + _style: ((attributes: ArkTextComponent) => void) | undefined, + content?: string | Resource | undefined, value?: TextOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..48dd1a2f400e2b2bdc2e8f575ad4f4bb76eca832 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Text") +export function Text( + content?: string | Resource | undefined, value?: TextOptions | undefined, + @memo + content?: () => void, +): ArkTextComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function TextImpl( + @memo + style: ((attributes: ArkTextComponent) => void) | undefined, + content?: string | Resource | undefined, value?: TextOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkTextComponent() + }) + NodeAttach((): ArkTextPeer => ArkTextPeer.create(receiver), (_: ArkTextPeer) => { + receiver.setTextOptions(content,value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextPickerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextPickerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..1696bad3b037500ce6e762506503c92f202532a3 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextPickerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextPicker") +export declare function TextPicker( + options?: TextPickerOptions | undefined, + @memo + _content?: () => void, +): ArkTextPickerComponent + +@memo +export declare function TextPickerImpl( + @memo + _style: ((attributes: ArkTextPickerComponent) => void) | undefined, + options?: TextPickerOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextPickerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextPickerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..2013f80be7510f2767391b0f9dedd53f4d0bb1da --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextPickerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextPicker") +export function TextPicker( + options?: TextPickerOptions | undefined, + @memo + content?: () => void, +): ArkTextPickerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function TextPickerImpl( + @memo + style: ((attributes: ArkTextPickerComponent) => void) | undefined, + options?: TextPickerOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkTextPickerComponent() + }) + NodeAttach((): ArkTextPickerPeer => ArkTextPickerPeer.create(receiver), (_: ArkTextPickerPeer) => { + receiver.setTextPickerOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextTimerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextTimerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..5d316d62bda0aa1a980d97c605590361a9caa2cc --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextTimerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextTimer") +export declare function TextTimer( + options?: TextTimerOptions | undefined, + @memo + _content?: () => void, +): ArkTextTimerComponent + +@memo +export declare function TextTimerImpl( + @memo + _style: ((attributes: ArkTextTimerComponent) => void) | undefined, + options?: TextTimerOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTextTimerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTextTimerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..6656fd2c180fad02e2c0c4f148bf2f3d765c352f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTextTimerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TextTimer") +export function TextTimer( + options?: TextTimerOptions | undefined, + @memo + content?: () => void, +): ArkTextTimerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function TextTimerImpl( + @memo + style: ((attributes: ArkTextTimerComponent) => void) | undefined, + options?: TextTimerOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkTextTimerComponent() + }) + NodeAttach((): ArkTextTimerPeer => ArkTextTimerPeer.create(receiver), (_: ArkTextTimerPeer) => { + receiver.setTextTimerOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTimePickerInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTimePickerInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..4c48dbf11dd54b958774f6239ad1e795cb5aefa9 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTimePickerInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TimePicker") +export declare function TimePicker( + options?: TimePickerOptions | undefined, + @memo + _content?: () => void, +): ArkTimePickerComponent + +@memo +export declare function TimePickerImpl( + @memo + _style: ((attributes: ArkTimePickerComponent) => void) | undefined, + options?: TimePickerOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkTimePickerInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkTimePickerInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..a6c1d8c3c1fc083b985b3b461537083de0084d57 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkTimePickerInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("TimePicker") +export function TimePicker( + options?: TimePickerOptions | undefined, + @memo + content?: () => void, +): ArkTimePickerComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function TimePickerImpl( + @memo + style: ((attributes: ArkTimePickerComponent) => void) | undefined, + options?: TimePickerOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkTimePickerComponent() + }) + NodeAttach((): ArkTimePickerPeer => ArkTimePickerPeer.create(receiver), (_: ArkTimePickerPeer) => { + receiver.setTimePickerOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkToggleInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkToggleInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..7c5857b6c2f71581bdf11f8c620f0b9b89d8922a --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkToggleInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Toggle") +export declare function Toggle( + options: ToggleOptions, + @memo + _content?: () => void, +): ArkToggleComponent + +@memo +export declare function ToggleImpl( + @memo + _style: ((attributes: ArkToggleComponent) => void) | undefined, + options: ToggleOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkToggleInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkToggleInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..26c830adff6837aac9c7b65b0e774d6e199f2930 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkToggleInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Toggle") +export function Toggle( + options: ToggleOptions, + @memo + content?: () => void, +): ArkToggleComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function ToggleImpl( + @memo + style: ((attributes: ArkToggleComponent) => void) | undefined, + options: ToggleOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkToggleComponent() + }) + NodeAttach((): ArkTogglePeer => ArkTogglePeer.create(receiver), (_: ArkTogglePeer) => { + receiver.setToggleOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkUiExtensionComponentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkUiExtensionComponentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..49d10c8b7249df56efbd142d9a8c79516f7cf809 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkUiExtensionComponentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("UIExtensionComponent") +export declare function UIExtensionComponent( + want: Want, options?: UIExtensionOptions | undefined, + @memo + _content?: () => void, +): ArkUIExtensionComponentComponent + +@memo +export declare function UIExtensionComponentImpl( + @memo + _style: ((attributes: ArkUIExtensionComponentComponent) => void) | undefined, + want: Want, options?: UIExtensionOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkUiExtensionComponentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkUiExtensionComponentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..2e4feb4f82502f82f07b12537528bf24343ccf30 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkUiExtensionComponentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("UIExtensionComponent") +export function UIExtensionComponent( + want: Want, options?: UIExtensionOptions | undefined, + @memo + content?: () => void, +): ArkUIExtensionComponentComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function UIExtensionComponentImpl( + @memo + style: ((attributes: ArkUIExtensionComponentComponent) => void) | undefined, + want: Want, options?: UIExtensionOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkUIExtensionComponentComponent() + }) + NodeAttach((): ArkUIExtensionComponentPeer => ArkUIExtensionComponentPeer.create(receiver), (_: ArkUIExtensionComponentPeer) => { + receiver.setUIExtensionComponentOptions(want,options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkVideoInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkVideoInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..f4c49fdcb6a94caf5b05609a03532b33a7bf08ee --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkVideoInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Video") +export declare function Video( + value: VideoOptions, + @memo + _content?: () => void, +): ArkVideoComponent + +@memo +export declare function VideoImpl( + @memo + _style: ((attributes: ArkVideoComponent) => void) | undefined, + value: VideoOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkVideoInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkVideoInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..c373a4ebd147acf4a212f4bcc73b2f13b20587a1 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkVideoInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Video") +export function Video( + value: VideoOptions, + @memo + content?: () => void, +): ArkVideoComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function VideoImpl( + @memo + style: ((attributes: ArkVideoComponent) => void) | undefined, + value: VideoOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkVideoComponent() + }) + NodeAttach((): ArkVideoPeer => ArkVideoPeer.create(receiver), (_: ArkVideoPeer) => { + receiver.setVideoOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkWaterFlowInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkWaterFlowInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..5b25befc5fac2962ee8e67497f2a3b5c7a1d0501 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkWaterFlowInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("WaterFlow") +export declare function WaterFlow( + options?: WaterFlowOptions | undefined, + @memo + _content?: () => void, +): ArkWaterFlowComponent + +@memo +export declare function WaterFlowImpl( + @memo + _style: ((attributes: ArkWaterFlowComponent) => void) | undefined, + options?: WaterFlowOptions | undefined, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkWaterFlowInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkWaterFlowInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..efd49cb5a96becdb33882f49b4fc040c9246985b --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkWaterFlowInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("WaterFlow") +export function WaterFlow( + options?: WaterFlowOptions | undefined, + @memo + content?: () => void, +): ArkWaterFlowComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function WaterFlowImpl( + @memo + style: ((attributes: ArkWaterFlowComponent) => void) | undefined, + options?: WaterFlowOptions | undefined, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkWaterFlowComponent() + }) + NodeAttach((): ArkWaterFlowPeer => ArkWaterFlowPeer.create(receiver), (_: ArkWaterFlowPeer) => { + receiver.setWaterFlowOptions(options) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkWebInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkWebInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..8d63dbc09e873b1d7bc052fcd7fe4a298c04c2a9 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkWebInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Web") +export declare function Web( + value: WebOptions, + @memo + _content?: () => void, +): ArkWebComponent + +@memo +export declare function WebImpl( + @memo + _style: ((attributes: ArkWebComponent) => void) | undefined, + value: WebOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkWebInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkWebInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..5834ba0884bee7228920c72803147eca78a5a32c --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkWebInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("Web") +export function Web( + value: WebOptions, + @memo + content?: () => void, +): ArkWebComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function WebImpl( + @memo + style: ((attributes: ArkWebComponent) => void) | undefined, + value: WebOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkWebComponent() + }) + NodeAttach((): ArkWebPeer => ArkWebPeer.create(receiver), (_: ArkWebPeer) => { + receiver.setWebOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkWindowSceneInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkWindowSceneInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..e2477a7144ae537078d7d19a5d83d7637a206b17 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkWindowSceneInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("WindowScene") +export declare function WindowScene( + persistentId: number, + @memo + _content?: () => void, +): ArkWindowSceneComponent + +@memo +export declare function WindowSceneImpl( + @memo + _style: ((attributes: ArkWindowSceneComponent) => void) | undefined, + persistentId: number, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkWindowSceneInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkWindowSceneInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..99a2a5716626f5475f9bc71dfc0479df603cf034 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkWindowSceneInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("WindowScene") +export function WindowScene( + persistentId: number, + @memo + content?: () => void, +): ArkWindowSceneComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function WindowSceneImpl( + @memo + style: ((attributes: ArkWindowSceneComponent) => void) | undefined, + persistentId: number, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkWindowSceneComponent() + }) + NodeAttach((): ArkWindowScenePeer => ArkWindowScenePeer.create(receiver), (_: ArkWindowScenePeer) => { + receiver.setWindowSceneOptions(persistentId) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkXcomponentInterfaces.d.sts b/arkoala-arkts/arkui/src/sts/generated/ArkXcomponentInterfaces.d.sts new file mode 100644 index 0000000000000000000000000000000000000000..49240843ab4fc79bb4c3e0867c644768459aad6f --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkXcomponentInterfaces.d.sts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("XComponent") +export declare function XComponent( + value: Type_XComponentInterface_value | XComponentOptions, + @memo + _content?: () => void, +): ArkXComponentComponent + +@memo +export declare function XComponentImpl( + @memo + _style: ((attributes: ArkXComponentComponent) => void) | undefined, + value: Type_XComponentInterface_value | XComponentOptions, + @memo + _content?: () => void, +): void diff --git a/arkoala-arkts/arkui/src/sts/generated/ArkXcomponentInterfaces.sts b/arkoala-arkts/arkui/src/sts/generated/ArkXcomponentInterfaces.sts new file mode 100644 index 0000000000000000000000000000000000000000..04dd4dde308ea1a1fffb7776454900d9e4f34564 --- /dev/null +++ b/arkoala-arkts/arkui/src/sts/generated/ArkXcomponentInterfaces.sts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +@memo +@BuildLambda("XComponent") +export function XComponent( + value: Type_XComponentInterface_value | XComponentOptions, + @memo + content?: () => void, +): ArkXComponentComponent { + throw new Error("This function should only be called through a BuilderLambda redirect") +} + +@memo +export function XComponentImpl( + @memo + style: ((attributes: ArkXComponentComponent) => void) | undefined, + value: Type_XComponentInterface_value | XComponentOptions, + @memo + content?: () => void, +): void { + const receiver = remember(() => { + return new ArkXComponentComponent() + }) + NodeAttach((): ArkXComponentPeer => ArkXComponentPeer.create(receiver), (_: ArkXComponentPeer) => { + receiver.setXComponentOptions(value) + style?.(receiver) + content?.() + receiver.applyAttributesFinish() + }) +} + diff --git a/arkoala-arkts/arkui/types/index-full.d.ts b/arkoala-arkts/arkui/types/index-full.d.ts index 7de1642e6e78932ff81a9aef5c79f0349325f21e..32508b2c7c6689058b79b439235d236c67f398f0 100644 --- a/arkoala-arkts/arkui/types/index-full.d.ts +++ b/arkoala-arkts/arkui/types/index-full.d.ts @@ -251,6 +251,26 @@ declare class SystemOps { } declare class FocusController { } +declare class DrawableDescriptor { + constructor(); + getPixelMap(): PixelMap; +} +declare class LayeredDrawableDescriptor extends DrawableDescriptor { + constructor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor); + getForeground(): DrawableDescriptor; + getBackground(): DrawableDescriptor; + getMask(): DrawableDescriptor; +} +declare class PixelMapDrawableDescriptor extends DrawableDescriptor { + constructor(src?: PixelMap); +} +declare interface AnimationOptions { + duration?: number; + iterations?: number; +} +declare class AnimatedDrawableDescriptor extends DrawableDescriptor { + constructor(pixelMaps: PixelMap[], options?: AnimationOptions); +} declare class DrawingCanvas { constructor(pixelmap: PixelMap); drawRect(left: number, top: number, right: number, bottom: number): void; @@ -438,6 +458,7 @@ declare enum EffectScope { WHOLE = 1, } declare class SymbolEffect { + dummyForAccessorGenerate(): void; } declare class ScaleSymbolEffect extends SymbolEffect { constructor(scope?: EffectScope, direction?: EffectDirection); @@ -448,6 +469,10 @@ declare class ReplaceSymbolEffect extends SymbolEffect { constructor(scope?: EffectScope); scope?: EffectScope; } +declare interface TouchPoint { + x: Dimension; + y: Dimension; +} declare class FrameNode { constructor(uiContext: UIContext); isModifiable(): boolean; @@ -472,7 +497,7 @@ declare interface PixelMap { writeBufferToPixels(src: ArrayBuffer): void; } declare type CustomNodeBuilder = ((parentNode: number|bigint) => number|bigint); -declare type NavExtender_OnUpdateStack = (() => void); +declare type NavExtender_OnUpdateStack = ((name: string) => void); declare class NavExtender { } declare interface Point { @@ -2380,26 +2405,8 @@ declare interface NavigationInfo { declare interface RouterPageInfo { _RouterPageInfoStub: string; } -declare class UIContext { - constructor(instanceId: number); - getFrameNodeById(id: string): FrameNode | null; - getFont() : Font_UIContext; - getMeasureUtils() : MeasureUtils; -} -declare class Font_UIContext { - constructor(instanceId: number); - registerFont(options: FontOptions) : void; - getSystemFontList() : Array; - getFontByName(fontName : string) : FontInfo; -} -declare class MeasureUtils { - constructor(instanceId: number); - measureText(options: MeasureOptions) : number; - measureTextSize(options: MeasureOptions) : SizeOptions; -} -declare class MeasureText { - static measureText(options: MeasureOptions) : number; - static measureTextSize(options: MeasureOptions) : SizeOptions; +declare interface UIContext { + _UIContextStub: string; } declare interface DrawContext { _DrawContextStub: string; @@ -4198,9 +4205,6 @@ declare interface HyperlinkInterface { declare class HyperlinkAttribute extends CommonMethod { color(value: (Color|number|string|Resource)): HyperlinkAttribute; } -declare interface DrawableDescriptor { - _DrawableDescriptorStub: string; -} declare interface DrawingColorFilter { _DrawingColorFilterStub: string; } @@ -7552,10 +7556,6 @@ declare interface MarkStyle { declare class ColorFilter { constructor(value: number[]); } -declare interface TouchPoint { - x: Dimension; - y: Dimension; -} declare interface DirectionalEdgesT { start: number; end: number; diff --git a/arkoala-arkts/cats/package.json b/arkoala-arkts/cats/package.json index 4d1f23bf0ca79056d2a1a9cc547e4dce09467ecf..1782403a7fe65440822200309bcbc77b26cb0746 100644 --- a/arkoala-arkts/cats/package.json +++ b/arkoala-arkts/cats/package.json @@ -3,27 +3,31 @@ "version": "1.4.1", "description": "", "scripts": { - "clean": "rimraf application/entry/build application/generated application/oh_modules application/.hvigor && npm run clean --prefix user", + "clean": "rimraf application/entry/build application/generated application/oh_modules application/.hvigor", + "clean:user": "npm run clean --prefix ./user", + "clean:all": "npm run clean && npm run clean:user", - "ets-plugin": "npm run arkoala:plugin --prefix ../..", + "prerequisites": "npm run panda:sdk:check-install --prefix .. && npm run plugins:compile --prefix ../..", - "arkoala:har:arm32": "npm run arkoala:har-arm32 --prefix ../../arkoala-arkts", - "arkoala:har:arm64": "npm run arkoala:har-arm64 --prefix ../../arkoala-arkts", - "arkoala:har:universal": "npm run arkoala:har-universal --prefix ../../arkoala-arkts", + "arkoala:har:arm32": "npm run arkoala:har-arm32 --prefix ..", + "arkoala:har:arm64": "npm run arkoala:har-arm64 --prefix ..", + "arkoala:har:universal": "npm run arkoala:har-universal --prefix ..", "user:har:arm32": "npm run har-arm32 --prefix ./user", "user:har:arm64": "npm run har-arm64 --prefix ./user", "user:har:universal": "npm run har-universal --prefix ./user", - "install": "cd application && DEVECO_TOOLS_HOME=../../har/command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-build --install-ohpm-deps-only", - "build": "cd application && DEVECO_TOOLS_HOME=../../har/command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-build", + "install": "cd application && DEVECO_TOOLS_HOME=../../command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-build --install-ohpm-deps-only", + "build": "cd application && DEVECO_TOOLS_HOME=../../command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-build", "rebuild": "npm run clean && npm run build", - "sign": "cd application && DEVECO_TOOLS_HOME=../../har/command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-sign", - "exec": "cd application && DEVECO_TOOLS_HOME=../../har/command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-exec -i -r", + "sign": "cd application && DEVECO_TOOLS_HOME=../../command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-sign", + "exec": "cd application && DEVECO_TOOLS_HOME=../../command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-exec -i -r", "launch": "npm run install && npm run build && npm run sign && npm run exec", "relaunch": "npm run clean && npm run launch", + "log": "cd application && DEVECO_TOOLS_HOME=../../command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-log", - "all:arm32": "npm run clean && npm run ets-plugin && npm run arkoala:har:arm32 && npm run user:har:arm32 && npm run launch", - "all:arm64": "npm run clean && npm run ets-plugin && npm run arkoala:har:arm64 && npm run user:har:arm64 && npm run launch" + "all:arm32": "npm run clean && npm run prerequisites && npm run arkoala:har:arm32 && npm run user:har:arm32 && npm run launch", + "all:arm64": "npm run clean && npm run prerequisites && npm run arkoala:har:arm64 && npm run user:har:arm64 && npm run launch", + "all:universal": "npm run clean && npm run prerequisites && npm run arkoala:har:universal && npm run user:har:universal && npm run launch" } } diff --git a/arkoala-arkts/cats/user/package.json b/arkoala-arkts/cats/user/package.json index c861714d6070a92e6caed833fceec651480249a2..189b6063dfe4c3086c60ddf5a6b47f243fe9f7a8 100644 --- a/arkoala-arkts/cats/user/package.json +++ b/arkoala-arkts/cats/user/package.json @@ -4,7 +4,6 @@ "description": "", "scripts": { "clean": "rimraf build generated unmemoized js_output abc lib app/user/build app/user/libs app/.hvigor .ninja_log", - "distclean": "rimraf command-line-tools", "compile:plugin": "cd ../../../arkoala/ets-plugin && npm run compile", "compile:ets": "npm run compile:plugin && cd src/ets && ets-tsc -p ./etsconfig.json", "unmemoize": "npm run compile:ets && ets-tsc -p tsconfig-unmemoize.json", @@ -13,17 +12,11 @@ "unmemoize:arkui-common": "npm run unmemoize --prefix ../../../arkoala/arkui-common", "unmemoize:all": "npm run unmemoize:runtime && npm run unmemoize:arkui-no-common && npm run unmemoize:arkui-common && npm run unmemoize", "build:user": "npm run unmemoize:all && npm run build:user:inc", - "build:user:inc": "fast-arktsc --input-files ./arktsconfig-run-unmemoized.json --output-dir ./build --compiler ../../../incremental/tools/panda/arkts/arktsc --link-name user && ninja -f build/build.ninja", - - "pack": "npm run cli-tools:check && cd app && DEVECO_SDK_HOME=../../../../arkoala/ohos-sdk/ohos-sdk ../../../command-line-tools/hvigor/bin/hvigorw --no-daemon --mode module -p product=default -p module=user@default assembleHar", + "build:user:inc": "fast-arktsc --input-files ./arktsconfig-run-unmemoized.json --output-dir ./build --compiler ../../../incremental/tools/panda/arkts/arktsc --link-name user && ninja ${NINJA_OPTIONS} -f build/build.ninja", + "pack": "npm run cli-tools:download && cd app && DEVECO_SDK_HOME=../../../../arkoala/ohos-sdk/ohos-sdk ../../../command-line-tools/hvigor/bin/hvigorw --no-daemon --mode module -p product=default -p module=user@default assembleHar", "har-arm32": "npm run build:user && npm run --prefix ../../../arkoala/ohos-sdk download && node scripts/build-har.mjs --name user --arch arm32 && npm run pack", "har-arm64": "npm run build:user && npm run --prefix ../../../arkoala/ohos-sdk download && node scripts/build-har.mjs --name user --arch arm64 && npm run pack", - - "cli-tools:chmod:bz": "node ../../../arkoala/ohos-sdk/scripts/openlab-cli.mjs chmod -p ../../command-line-tools/ohpm/bin -b 755 && node ../../../arkoala/ohos-sdk/scripts/openlab-cli.mjs chmod -p ../../command-line-tools/hvigor/bin -b 755", - "cli-tools:chmod:yz": "node ../../../arkoala/ohos-sdk/scripts/gitlab-cli.mjs chmod -p ../../command-line-tools/ohpm/bin -b 755 && node ../../../arkoala/ohos-sdk/scripts/gitlab-cli.mjs chmod -p ../../command-line-tools/hvigor/bin -b 755", - "cli-tools:download:bz": "node ../../../arkoala/ohos-sdk/scripts/openlab-cli.mjs download -p command-line-tools -v 5.0.3502 -f command-line-tools.5.0.3502.zip -d ../../command-line-tools && npm run cli-tools:chmod:bz", - "cli-tools:download:yz": "node ../../../arkoala/ohos-sdk/scripts/gitlab-cli.mjs download -p deveco-tools -v 5.0.1300 -f deveco-tools.5.0.1300.zip -d ../../command-line-tools && npm run cli-tools:chmod:yz", - "cli-tools:download": "test \"$KOALA_BZ\" = \"0\" && npm run cli-tools:download:yz || npm run cli-tools:download:bz", - "cli-tools:check": "test -d ../../command-line-tools || npm run cli-tools:download" + "har-universal": "npm run build:user && npm run --prefix ../../../arkoala/ohos-sdk download && node scripts/build-har-universal.mjs --name user && npm run pack", + "cli-tools:download": "node ../../../arkoala/ohos-sdk/scripts/oh-sdk-cli.mjs cli-tools -d ../../" } } diff --git a/arkoala-arkts/cats/user/scripts/build-har-universal.mjs b/arkoala-arkts/cats/user/scripts/build-har-universal.mjs new file mode 100644 index 0000000000000000000000000000000000000000..1e0b1fa13175acc1b7f80f5a7aa79db68bc8e535 --- /dev/null +++ b/arkoala-arkts/cats/user/scripts/build-har-universal.mjs @@ -0,0 +1,40 @@ +import { execSync } from "child_process" +import { dirname } from "path" +import { fileURLToPath } from "url" + +import fs from "fs" +import path from "path" +import process from "process" +import minimist from "minimist" + +var args = minimist(process.argv.slice(2)) +const name = args["name"] + +const _dirname = dirname(fileURLToPath(import.meta.url)) + +const CWD = process.cwd() +const HAR_PATH = path.join(CWD, `app/${name}`) + + +function copyFile(from, to) { + if (!fs.existsSync(from)) { + throw new Error(`file ${from} does not exist`) + } + + console.log(`> Copy from: ${from} to ${to}`) + fs.cpSync(from, to, { recursive: true, force: true }) +} + + +function main() { + // arm32 + copyFile(path.join(_dirname, `../build/${name}.abc`), path.join(HAR_PATH, `libs/armeabi-v7a/${name}.abc.so`)) + + // arm64 + copyFile(path.join(_dirname, `../build/${name}.abc`), path.join(HAR_PATH, `libs/arm64-v8a/${name}.abc.so`)) + + //x64 + copyFile(path.join(_dirname, `../build/${name}.abc`), path.join(HAR_PATH, `libs/x86-64/${name}.abc.so`)) +} + +main() diff --git a/arkoala-arkts/package.json b/arkoala-arkts/package.json index 53ffd2cf5303c364fc3d4206e047d7448e276c3b..b6f73506fd6b71ec0d9bc96c4c2e72bab42c73bf 100644 --- a/arkoala-arkts/package.json +++ b/arkoala-arkts/package.json @@ -49,7 +49,8 @@ "panda:sdk:check-install": "npm run panda:sdk:check-install --prefix ../incremental/tools/panda", "ohos-sdk": "npm run interface-sdk:download --prefix ../arkoala/arkui-common && npm run download --prefix ../arkoala/ohos-sdk", "ets-plugin": "npm run arkoala:plugin --prefix ..", - "prerequisites": "npm run panda:sdk:check-install && npm run ohos-sdk && npm run ets-plugin", + "prerequisites:node": "npm run panda:sdk:check-install && npm run interface-sdk:download --prefix ../arkoala/arkui-common && npm run plugins:compile --prefix ..", + "prerequisites:all": "npm run prerequisites:node && npm run download --prefix ../arkoala/ohos-sdk && npm run plugins:patch --prefix ..", "compile:native:node-host": "npm run compile:native-panda-with-node-host --prefix ../arkoala/framework", "compile:native:panda-host": "npm run compile:native-panda-host --prefix ../arkoala/framework", "compile:native:hzvm-ohos-arm32": "npm run compile:native-panda-with-hzvm-ohos-arm32 --prefix ../arkoala/framework", @@ -93,15 +94,15 @@ "run:node:shopping": "ACE_LIBRARY_PATH=build PANDA_HOME=../incremental/tools/panda/node_modules/@panda/sdk node build/index.js panda:ComExampleShoppingApplication", "run:node:shopping:ets": "ACE_LIBRARY_PATH=build PANDA_HOME=../incremental/tools/panda/node_modules/@panda/sdk node build/index.js panda-ets:ComExampleShoppingApplication 10", "run:node:ci": "ACE_LIBRARY_PATH=build PANDA_HOME=../incremental/tools/panda/node_modules/@panda/sdk node build/index.js panda:ComExampleTrivialApplication 10", - "trivial:all:node": "npm run prerequisites && npm run compile:native:node-host && npm run build:arkoala && npm run build:user && npm run build:loader:node && npm run run:node:user", - "trivial:all:node:navigation": "npm run prerequisites && npm run compile:native:node-host && npm run build:arkoala && npm run build:user && npm run build:loader:node && npm run run:node:user:navigation", - "trivial:all:node:routing": "npm run prerequisites && npm run compile:native:node-host && npm run build:arkoala && npm run build:user && npm run build:loader:node && npm run run:node:user:routing", + "trivial:all:node": "npm run prerequisites:node && npm run compile:native:node-host && npm run build:arkoala && npm run build:user && npm run build:loader:node && npm run run:node:user", + "trivial:all:node:navigation": "npm run prerequisites:node && npm run compile:native:node-host && npm run build:arkoala && npm run build:user && npm run build:loader:node && npm run run:node:user:navigation", + "trivial:all:node:routing": "npm run prerequisites:node && npm run compile:native:node-host && npm run build:arkoala && npm run build:user && npm run build:loader:node && npm run run:node:user:routing", "trivial:node": "npm run build:user && npm run build:loader:node && npm run run:node:user", "shopping:all:node": "npm run prerequisites && npm run compile:native:node-host && npm run build:arkoala && npm run build:shopping && npm run build:loader:node && npm run run:node:shopping", "shopping:all:node:ets": "npm run prerequisites && npm run compile:native:node-host && npm run build:arkoala && npm run build:shopping && npm run build:loader:node && npm run run:node:shopping:ets", "shopping:node": "npm run build:user && npm run build:loader:node && npm run run:node:shopping", "clean:shopping": "npm run clean:all --prefix shopping", - "trivial:all:node:ci": "npm run prerequisites && npm run compile:native:node-host && npm run build:arkoala && npm run build:user && npm run build:loader:node && npm run run:node:ci", + "trivial:all:node:ci": "npm run prerequisites:node && npm run compile:native:node-host && npm run build:arkoala && npm run build:user && npm run build:loader:node && npm run run:node:ci", "arkoala:har-arm32": "npm run compile:native:hzvm-ohos-arm32 && npm run build:arkoala && npm run har-arm32 --prefix har", "arkoala:har-arm64": "npm run compile:native:hzvm-ohos-arm64 && npm run build:arkoala && npm run har-arm64 --prefix har", "arkoala:har-universal": "npm run compile:native:node-host && npm run compile:native:panda-host && npm run compile:native:hzvm-ohos-arm32 && npm run compile:native:hzvm-ohos-arm64 && npm run build:arkoala && npm run har-universal --prefix har", diff --git a/arkoala-arkts/shopping/package.json b/arkoala-arkts/shopping/package.json index 82edd06c404b7035ed43b006d008ab7a32e55c1a..a5b2815f365753b12ddda33bbb0a247d6e75c7ed 100644 --- a/arkoala-arkts/shopping/package.json +++ b/arkoala-arkts/shopping/package.json @@ -6,13 +6,14 @@ "clean": "rimraf application/entry/build application/generated application/oh_modules application/.hvigor", "clean:user": "npm run clean --prefix ./user", "clean:all": "npm run clean && npm run clean:user", + + "prerequisites:node": "npm run prerequisites:node --prefix ..", + "prerequisites:all": "npm run prerequisites:all --prefix ..", - "prerequisites": "npm run prerequisites --prefix ..", - - "arkoala:har:arm32": "npm run arkoala:har-arm32 --prefix ../../arkoala-arkts", - "arkoala:har:arm64": "npm run arkoala:har-arm64 --prefix ../../arkoala-arkts", - "arkoala:har:universal": "npm run arkoala:har-universal --prefix ../../arkoala-arkts", - + "arkoala:har:arm32": "npm run arkoala:har-arm32 --prefix ..", + "arkoala:har:arm64": "npm run arkoala:har-arm64 --prefix ..", + "arkoala:har:universal": "npm run arkoala:har-universal --prefix ..", + "user:har:arm32": "npm run har-arm32 --prefix ./user", "user:har:arm64": "npm run har-arm64 --prefix ./user", "user:har:universal": "npm run har-universal --prefix ./user", @@ -26,7 +27,27 @@ "relaunch": "npm run clean && npm run launch", "log": "cd application && DEVECO_TOOLS_HOME=../../command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-log", - "all:arm32": "npm run clean && npm run prerequisites && npm run arkoala:har:arm32 && npm run user:har:arm32 && npm run launch", - "all:arm64": "npm run clean && npm run prerequisites && npm run arkoala:har:arm64 && npm run user:har:arm64 && npm run launch" + "build:node": "npm run prerequisites:node && npm run compile:native:node-host --prefix .. && npm run build:arkoala --prefix .. && npm run build:loader:node --prefix ../loader && npm run build:abc && cp ./build/shopping.abc ../build", + "build:user:abc": "npm run build:abc", + + "run:node:ets": "npm run build:node && ACE_LIBRARY_PATH=build PANDA_HOME=../../incremental/tools/panda/node_modules/@panda/sdk node ../build/index.js panda-ets:ComExampleShoppingApplication 10", + "run:node:ani": "npm run build:node && ACE_LIBRARY_PATH=../build PANDA_HOME=../../incremental/tools/panda/node_modules/@panda/sdk node ../build/index.js panda-ani:ComExampleShoppingApplication 10", + "run:node": "npm run build:node && ACE_LIBRARY_PATH=../build PANDA_HOME=../../incremental/tools/panda/node_modules/@panda/sdk node ../build/index.js panda:ComExampleShoppingApplication", + + "build:aot:host:abc": "npm run build:abc && npm run -C ../../incremental/tools/fast-arktsc compile && npm run aot:host:arkoala --prefix .. && node ../../incremental/tools/fast-arktsc --only-aot build/shopping.abc --aot-libs ../../build/arkoala.abc", + + "build:aot:arm32": "npm run build:abc && npm run -C ../../incremental/tools/fast-arktsc compile && npm run aot:host:arkoala --prefix .. && node ../../incremental/tools/fast-arktsc --only-aot build/shopping.abc --aot-libs ./build/arkoala.abc --aot-target arm", + "build:aot:arm64": "npm run build:abc && npm run -C ../../incremental/tools/fast-arktsc compile && npm run aot:host:arkoala --prefix .. && node ../../incremental/tools/fast-arktsc --only-aot build/shopping.abc --aot-libs ./build/arkoala.abc --aot-target arm64", + + "all:node:navigation": "npm run prerequisites:node --prefix .. && npm run compile:native:node-host --prefix .. && npm run build:arkoala --prefix .. && npm run build:user:abc && npm run build:loader:node --prefix .. && npm run run:node:user:navigation --prefix ..", + "all:node:routing": "npm run prerequisites:node --prefix .. && npm run compile:native:node-host --prefix .. && npm run build:arkoala --prefix .. && npm run build:user:abc && npm run build:loader:node --prefix .. && npm run run:node:user:routing --prefix ..", + + "all:node": "npm run clean && npm run prerequisites:node && npm run compile:native:node-host --prefix ../ && npm run build:arkoala --prefix ../ && npm run build:abc && npm run build:loader:node --prefix ../loader && npm run run:node", + "all:node:ets": "npm run clean && npm run prerequisites:node && npm run compile:native:node-host --prefix ../ && npm run build:arkoala --prefix .. && npm run build:user:abc && npm run build:loader:node --prefix ../loader && npm run run:node:ets", + "all:arm32": "npm run clean && npm run prerequisites:all && npm run arkoala:har:arm32 && npm run user:har:arm32 && npm run launch", + "all:arm64": "npm run clean && npm run prerequisites:all && npm run arkoala:har:arm64 && npm run user:har:arm64 && npm run launch", + "all:universal": "npm run clean && npm run prerequisites:all && npm run arkoala:har:universal && npm run user:har:universal && npm run launch", + + "all:node:ci": "npm run clean && npm run prerequisites:node --prefix .. && npm run compile:native:node-host --prefix .. && npm run build:arkoala --prefix .. && npm run build:user:abc && npm run build:loader:node --prefix .. && npm run run:node:ci --prefix .." } } diff --git a/arkoala-arkts/trivial/package.json b/arkoala-arkts/trivial/package.json index 82edd06c404b7035ed43b006d008ab7a32e55c1a..21d9fefdb18773d9e46f5d6f4ded5244bd572299 100644 --- a/arkoala-arkts/trivial/package.json +++ b/arkoala-arkts/trivial/package.json @@ -7,11 +7,11 @@ "clean:user": "npm run clean --prefix ./user", "clean:all": "npm run clean && npm run clean:user", - "prerequisites": "npm run prerequisites --prefix ..", + "prerequisites:all": "npm run prerequisites:all --prefix ..", - "arkoala:har:arm32": "npm run arkoala:har-arm32 --prefix ../../arkoala-arkts", - "arkoala:har:arm64": "npm run arkoala:har-arm64 --prefix ../../arkoala-arkts", - "arkoala:har:universal": "npm run arkoala:har-universal --prefix ../../arkoala-arkts", + "arkoala:har:arm32": "npm run arkoala:har-arm32 --prefix ..", + "arkoala:har:arm64": "npm run arkoala:har-arm64 --prefix ..", + "arkoala:har:universal": "npm run arkoala:har-universal --prefix ..", "user:har:arm32": "npm run har-arm32 --prefix ./user", "user:har:arm64": "npm run har-arm64 --prefix ./user", @@ -26,7 +26,8 @@ "relaunch": "npm run clean && npm run launch", "log": "cd application && DEVECO_TOOLS_HOME=../../command-line-tools node ../../../arkoala/ohos-sdk/scripts/cli.mjs oh-log", - "all:arm32": "npm run clean && npm run prerequisites && npm run arkoala:har:arm32 && npm run user:har:arm32 && npm run launch", - "all:arm64": "npm run clean && npm run prerequisites && npm run arkoala:har:arm64 && npm run user:har:arm64 && npm run launch" + "all:arm32": "npm run clean && npm run prerequisites:all && npm run arkoala:har:arm32 && npm run user:har:arm32 && npm run launch", + "all:arm64": "npm run clean && npm run prerequisites:all && npm run arkoala:har:arm64 && npm run user:har:arm64 && npm run launch", + "all:universal": "npm run clean && npm run prerequisites:all && npm run arkoala:har:universal && npm run user:har:universal && npm run launch" } } diff --git a/arkoala/arkui-types/index-full.d.ts b/arkoala/arkui-types/index-full.d.ts index e26eb3c74f76c7eb92de985b0d626fdac14022b3..bd82825e189b721fdf08af1b270ee6cdde881fa2 100644 --- a/arkoala/arkui-types/index-full.d.ts +++ b/arkoala/arkui-types/index-full.d.ts @@ -329,6 +329,26 @@ declare class SystemOps { } declare class FocusController { } +declare class DrawableDescriptor { + constructor(); + getPixelMap(): PixelMap; +} +declare class LayeredDrawableDescriptor extends DrawableDescriptor { + constructor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor); + getForeground(): DrawableDescriptor; + getBackground(): DrawableDescriptor; + getMask(): DrawableDescriptor; +} +declare class PixelMapDrawableDescriptor extends DrawableDescriptor { + constructor(src?: PixelMap); +} +declare interface AnimationOptions { + duration?: number; + iterations?: number; +} +declare class AnimatedDrawableDescriptor extends DrawableDescriptor { + constructor(pixelMaps: PixelMap[], options?: AnimationOptions); +} declare class DrawingCanvas { constructor(pixelmap: PixelMap); drawRect(left: number, top: number, right: number, bottom: number): void; @@ -516,6 +536,7 @@ declare enum EffectScope { WHOLE = 1, } declare class SymbolEffect { + dummyForAccessorGenerate(): void; } declare class ScaleSymbolEffect extends SymbolEffect { constructor(scope?: EffectScope, direction?: EffectDirection); @@ -526,6 +547,10 @@ declare class ReplaceSymbolEffect extends SymbolEffect { constructor(scope?: EffectScope); scope?: EffectScope; } +declare interface TouchPoint { + x: Dimension; + y: Dimension; +} declare class FrameNode { constructor(uiContext: UIContext); isModifiable(): boolean; @@ -550,7 +575,7 @@ declare interface PixelMap { writeBufferToPixels(src: ArrayBuffer): void; } declare type CustomNodeBuilder = ((parentNode: number|bigint) => number|bigint); -declare type NavExtender_OnUpdateStack = (() => void); +declare type NavExtender_OnUpdateStack = ((name: string) => void); declare class NavExtender { } declare interface Point { @@ -4258,9 +4283,6 @@ declare interface HyperlinkInterface { declare class HyperlinkAttribute extends CommonMethod { color(value: (Color|number|string|Resource)): HyperlinkAttribute; } -declare interface DrawableDescriptor { - _DrawableDescriptorStub: string; -} declare interface DrawingColorFilter { _DrawingColorFilterStub: string; } @@ -7612,10 +7634,6 @@ declare interface MarkStyle { declare class ColorFilter { constructor(value: number[]); } -declare interface TouchPoint { - x: Dimension; - y: Dimension; -} declare interface DirectionalEdgesT { start: number; end: number; diff --git a/arkoala/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts b/arkoala/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts index 73bd9f801111ff7416b72018a23ac63d765acda9..5d01add5c885c12eefc721cb1c9dedec61d0ab0f 100644 --- a/arkoala/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts @@ -25,10 +25,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface AccessibilityHoverEvent { type: AccessibilityHoverType x: number diff --git a/arkoala/arkui/src/generated/ArkActionSheetMaterialized.ts b/arkoala/arkui/src/generated/ArkActionSheetMaterialized.ts index 4ac832acbacfaa008fbfd99adf242f5ae8eb99af..7f1d1df4477e7fbfff2bee7cd6220428e5cd8b4c 100644 --- a/arkoala/arkui/src/generated/ArkActionSheetMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkActionSheetMaterialized.ts @@ -30,10 +30,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ActionSheet { public static show(value: ActionSheetOptions): undefined { const value_casted = value as (ActionSheetOptions) diff --git a/arkoala/arkui/src/generated/ArkAlertDialogMaterialized.ts b/arkoala/arkui/src/generated/ArkAlertDialogMaterialized.ts index 2c898fa64c99c0c2bca974933f46e34ad3ef61e4..aee757a01339f535ffd53b7e6d47cc0b57d17515 100644 --- a/arkoala/arkui/src/generated/ArkAlertDialogMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkAlertDialogMaterialized.ts @@ -30,10 +30,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class AlertDialog { public static show(value: AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions): undefined { const value_casted = value as (AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions) diff --git a/arkoala/arkui/src/generated/ArkAnimatedDrawableDescriptorMaterialized.ts b/arkoala/arkui/src/generated/ArkAnimatedDrawableDescriptorMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..210b4355bfed5d34c3f7b825bb6fc3fe63bfd658 --- /dev/null +++ b/arkoala/arkui/src/generated/ArkAnimatedDrawableDescriptorMaterialized.ts @@ -0,0 +1,66 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { DrawableDescriptor, DrawableDescriptorInternal } from "./ArkDrawableDescriptorMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" +import { AnimationOptions } from "./ArkArkuiDrawabledescriptorInterfaces" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class AnimatedDrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): AnimatedDrawableDescriptor { + const obj: AnimatedDrawableDescriptor = new AnimatedDrawableDescriptor(undefined, undefined) + obj.peer = new Finalizable(ptr, AnimatedDrawableDescriptor.getFinalizer()) + return obj + } +} +export class AnimatedDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { + static ctor_animateddrawabledescriptor(pixelMaps: Array, options?: AnimationOptions): KPointer { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(pixelMaps.length) + for (let i = 0; i < pixelMaps.length; i++) { + const pixelMaps_element: PixelMap = pixelMaps[i] + thisSerializer.writePixelMap(pixelMaps_element) + } + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeAnimationOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._AnimatedDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(pixelMaps?: Array, options?: AnimationOptions) { + super() + if (((pixelMaps) !== (undefined)) || ((options) !== (undefined))) + { + const ctorPtr: KPointer = AnimatedDrawableDescriptor.ctor_animateddrawabledescriptor((pixelMaps)!, (options)!) + this.peer = new Finalizable(ctorPtr, AnimatedDrawableDescriptor.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._AnimatedDrawableDescriptor_getFinalizer() + } +} diff --git a/arkoala/arkui/src/generated/ArkAnimationExtenderMaterialized.ts b/arkoala/arkui/src/generated/ArkAnimationExtenderMaterialized.ts index 39d30c55371457a9ad66b1df8687e8786acdccd1..6e91cdfb6686d6b1fb6b5a23c50a8f6a82865ba7 100644 --- a/arkoala/arkui/src/generated/ArkAnimationExtenderMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkAnimationExtenderMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class AnimationExtender { public static SetClipRect(node: KPointer, x: float32, y: float32, width: float32, height: float32): void { const node_casted = node as (KPointer) diff --git a/arkoala/arkui/src/generated/ArkAppearSymbolEffectMaterialized.ts b/arkoala/arkui/src/generated/ArkAppearSymbolEffectMaterialized.ts index 078c3c08914663ccbc66a01712d373ad7e2ad2dd..5bb8d5f2860784d1175ab7a65beda54597392987 100644 --- a/arkoala/arkui/src/generated/ArkAppearSymbolEffectMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkAppearSymbolEffectMaterialized.ts @@ -16,15 +16,15 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope } from "./ArkArkuiExternalInterfaces" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class AppearSymbolEffectInternal { public static fromPtr(ptr: KPointer): AppearSymbolEffect { const obj: AppearSymbolEffect = new AppearSymbolEffect(undefined) @@ -32,11 +32,7 @@ export class AppearSymbolEffectInternal { return obj } } -export class AppearSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class AppearSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope { return this.getScope() } @@ -58,6 +54,7 @@ export class AppearSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope) { + super() const ctorPtr: KPointer = AppearSymbolEffect.ctor_appearsymboleffect((scope)!) this.peer = new Finalizable(ctorPtr, AppearSymbolEffect.getFinalizer()) } diff --git a/arkoala/arkui/src/generated/ArkArkuiDrawabledescriptorInterfaces.ts b/arkoala/arkui/src/generated/ArkArkuiDrawabledescriptorInterfaces.ts new file mode 100644 index 0000000000000000000000000000000000000000..8b4a5c8ff90267d318ed83dcb13c0ed8323d4caa --- /dev/null +++ b/arkoala/arkui/src/generated/ArkArkuiDrawabledescriptorInterfaces.ts @@ -0,0 +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 AnimationOptions { + duration?: number; + iterations?: number; +} diff --git a/arkoala/arkui/src/generated/ArkArkuiExternalInterfaces.ts b/arkoala/arkui/src/generated/ArkArkuiExternalInterfaces.ts index d6c933deb34c275b302c47cdaa982cb890eb48ed..9f5a1f878f71db10e3eef24ce665ccf7e71e9734 100644 --- a/arkoala/arkui/src/generated/ArkArkuiExternalInterfaces.ts +++ b/arkoala/arkui/src/generated/ArkArkuiExternalInterfaces.ts @@ -22,6 +22,7 @@ import { NodeAttach, remember } from "@koalaui/runtime" import { BusinessError } from "./ArkBaseInterfaces" import { Resource } from "./ArkResourceInterfaces" import { FontStyle, FontWeight, TextAlign, TextOverflow, TextCase, WordBreak } from "./ArkEnumsInterfaces" +import { Dimension } from "./ArkUnitsInterfaces" export interface NodeController { } export interface TextModifier { @@ -133,5 +134,7 @@ export enum EffectScope { LAYER, WHOLE = 1, } -export interface SymbolEffect { +export interface TouchPoint { + x: Dimension; + y: Dimension; } diff --git a/arkoala/arkui/src/generated/ArkBackgroundColorStyleMaterialized.ts b/arkoala/arkui/src/generated/ArkBackgroundColorStyleMaterialized.ts index 9af9562bb21be32ac80d0fa08ecda2018f757356..0cc87a719c7adb5caf4fe0c0fd507259975ceef3 100644 --- a/arkoala/arkui/src/generated/ArkBackgroundColorStyleMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkBackgroundColorStyleMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class BackgroundColorStyleInternal { public static fromPtr(ptr: KPointer): BackgroundColorStyle { const obj: BackgroundColorStyle = new BackgroundColorStyle(undefined) diff --git a/arkoala/arkui/src/generated/ArkBaseEventMaterialized.ts b/arkoala/arkui/src/generated/ArkBaseEventMaterialized.ts index 8ded07d1c69da8ec273516982cd30804c177f848..24c104847a424a8c35ada7b08aea52d2cc5084d7 100644 --- a/arkoala/arkui/src/generated/ArkBaseEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkBaseEventMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface BaseEvent { target: EventTarget timestamp: number diff --git a/arkoala/arkui/src/generated/ArkBaseGestureEventMaterialized.ts b/arkoala/arkui/src/generated/ArkBaseGestureEventMaterialized.ts index 88b811b20b765f2b5b3daa80a03f7b83dd972132..8f887ec91efe9f910cc000aa923f69bdde87addf 100644 --- a/arkoala/arkui/src/generated/ArkBaseGestureEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkBaseGestureEventMaterialized.ts @@ -25,10 +25,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface BaseGestureEvent { fingerList: Array } diff --git a/arkoala/arkui/src/generated/ArkBaseShapeMaterialized.ts b/arkoala/arkui/src/generated/ArkBaseShapeMaterialized.ts index 9eda6c522b394a50f622ee66767af10d731e4f82..c4a655f33601d2158589495b0895039043565fc0 100644 --- a/arkoala/arkui/src/generated/ArkBaseShapeMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkBaseShapeMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class BaseShapeInternal { public static fromPtr(ptr: KPointer): BaseShape { const obj: BaseShape = new BaseShape() diff --git a/arkoala/arkui/src/generated/ArkBaselineOffsetStyleMaterialized.ts b/arkoala/arkui/src/generated/ArkBaselineOffsetStyleMaterialized.ts index ddd0c35534cdea0a01d5f801e8897eac17239d33..0f7817b963205d7f7771a490ad83d26983b4b70c 100644 --- a/arkoala/arkui/src/generated/ArkBaselineOffsetStyleMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkBaselineOffsetStyleMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class BaselineOffsetStyleInternal { public static fromPtr(ptr: KPointer): BaselineOffsetStyle { const obj: BaselineOffsetStyle = new BaselineOffsetStyle(undefined) diff --git a/arkoala/arkui/src/generated/ArkBounceSymbolEffectMaterialized.ts b/arkoala/arkui/src/generated/ArkBounceSymbolEffectMaterialized.ts index 306d169e80a6c39b3709f94c97080e98d4d678dd..03eeca3210cb60e319353e6d9e35b189ddcd19ce 100644 --- a/arkoala/arkui/src/generated/ArkBounceSymbolEffectMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkBounceSymbolEffectMaterialized.ts @@ -16,15 +16,15 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope, EffectDirection } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope, EffectDirection } from "./ArkArkuiExternalInterfaces" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class BounceSymbolEffectInternal { public static fromPtr(ptr: KPointer): BounceSymbolEffect { const obj: BounceSymbolEffect = new BounceSymbolEffect(undefined, undefined) @@ -32,11 +32,7 @@ export class BounceSymbolEffectInternal { return obj } } -export class BounceSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class BounceSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope { return this.getScope() } @@ -72,6 +68,7 @@ export class BounceSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope, direction?: EffectDirection) { + super() const ctorPtr: KPointer = BounceSymbolEffect.ctor_bouncesymboleffect((scope)!, (direction)!) this.peer = new Finalizable(ctorPtr, BounceSymbolEffect.getFinalizer()) } diff --git a/arkoala/arkui/src/generated/ArkCalendarControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkCalendarControllerMaterialized.ts index 5a4ac49b67c38bc3d5659aa86f0570df10f7af32..0f27a3c8553ecef810d741846ea1a0a9c90aa559 100644 --- a/arkoala/arkui/src/generated/ArkCalendarControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCalendarControllerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CalendarControllerInternal { public static fromPtr(ptr: KPointer): CalendarController { const obj: CalendarController = new CalendarController() diff --git a/arkoala/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts b/arkoala/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts index b721aa681c62203f84ff565bb4b7839791fd5b81..8d28f30a54a1d4d195b9a65d77ff5cfdf9d09736 100644 --- a/arkoala/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CalendarPickerDialog { public static show(options?: CalendarDialogOptions): void { const options_casted = options as (CalendarDialogOptions | undefined) diff --git a/arkoala/arkui/src/generated/ArkCanvasGradientMaterialized.ts b/arkoala/arkui/src/generated/ArkCanvasGradientMaterialized.ts index 13b7708aef81ee541d68d5aef975107e0b6b1540..745f9890489cfd83de8132e749a231102edeb440 100644 --- a/arkoala/arkui/src/generated/ArkCanvasGradientMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCanvasGradientMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CanvasGradientInternal { public static fromPtr(ptr: KPointer): CanvasGradient { const obj: CanvasGradient = new CanvasGradient() diff --git a/arkoala/arkui/src/generated/ArkCanvasPathMaterialized.ts b/arkoala/arkui/src/generated/ArkCanvasPathMaterialized.ts index 51a0b5a69ce66093aa18bfacd8632b013aa18789..ebb08b867da6cdedad641cd3d86b950ec3c5830a 100644 --- a/arkoala/arkui/src/generated/ArkCanvasPathMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCanvasPathMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CanvasPathInternal { public static fromPtr(ptr: KPointer): CanvasPath { const obj: CanvasPath = new CanvasPath() diff --git a/arkoala/arkui/src/generated/ArkCanvasPatternMaterialized.ts b/arkoala/arkui/src/generated/ArkCanvasPatternMaterialized.ts index 72449d1583daeb32fc693b9baf3a603634c8bd8e..c055e21b1099664671139e44f3e7d5eb0aeee5e4 100644 --- a/arkoala/arkui/src/generated/ArkCanvasPatternMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCanvasPatternMaterialized.ts @@ -22,12 +22,11 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface CanvasPattern { - setTransform(transform: Matrix2D): void + setTransform(transform?: Matrix2D): void } export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { peer?: Finalizable | undefined = undefined diff --git a/arkoala/arkui/src/generated/ArkCanvasRendererMaterialized.ts b/arkoala/arkui/src/generated/ArkCanvasRendererMaterialized.ts index 8d40e971e838b861abc22ce9500c8f74ba5cfa1a..3d08c41e024ea9b604bd46591cf6af0b5de865bf 100644 --- a/arkoala/arkui/src/generated/ArkCanvasRendererMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCanvasRendererMaterialized.ts @@ -30,10 +30,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CanvasRendererInternal { public static fromPtr(ptr: KPointer): CanvasRenderer { const obj: CanvasRenderer = new CanvasRenderer() diff --git a/arkoala/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts b/arkoala/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts index 2d281431435b39683b7ce17132edc61fd9c5ab12..4a60bb2931116f3e49b52f1d6095285ae6eaee95 100644 --- a/arkoala/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts @@ -35,10 +35,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CanvasRenderingContext2DInternal { public static fromPtr(ptr: KPointer): CanvasRenderingContext2D { const obj: CanvasRenderingContext2D = new CanvasRenderingContext2D(undefined) diff --git a/arkoala/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts b/arkoala/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts index 9f04fd604071edac14371f647a981db4661bf947..ff3684b47514080bdc6f0cd6b2ea448be243577d 100644 --- a/arkoala/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ChildrenMainSizeInternal { public static fromPtr(ptr: KPointer): ChildrenMainSize { const obj: ChildrenMainSize = new ChildrenMainSize(undefined) diff --git a/arkoala/arkui/src/generated/ArkCircleShapeMaterialized.ts b/arkoala/arkui/src/generated/ArkCircleShapeMaterialized.ts index 80647af180d79bebdfd7413eb7c7866bef2344bd..3fa1d46800f873e7a498148660f4eebca578f87b 100644 --- a/arkoala/arkui/src/generated/ArkCircleShapeMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCircleShapeMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CircleShapeInternal { public static fromPtr(ptr: KPointer): CircleShape { const obj: CircleShape = new CircleShape(undefined) diff --git a/arkoala/arkui/src/generated/ArkClickEventMaterialized.ts b/arkoala/arkui/src/generated/ArkClickEventMaterialized.ts index ae41b975feeb15416cb67728ad39896872623be7..9167d2890820958da89ddb2b9403bd683fd56394 100644 --- a/arkoala/arkui/src/generated/ArkClickEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkClickEventMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface ClickEvent { displayX: number displayY: number diff --git a/arkoala/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts b/arkoala/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts index 9a822d8833ec89b3f2832d0be122b70d1f2125d8..e6735c6a79451903dd8aa7874ab22751f054575b 100644 --- a/arkoala/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ClientAuthenticationHandlerInternal { public static fromPtr(ptr: KPointer): ClientAuthenticationHandler { const obj: ClientAuthenticationHandler = new ClientAuthenticationHandler() diff --git a/arkoala/arkui/src/generated/ArkColorFilterMaterialized.ts b/arkoala/arkui/src/generated/ArkColorFilterMaterialized.ts index 754e04c248f99f7872d6a4b496262618d96a2f8f..438f6f23bd146c597f06a50cae94c967c9ab0ebf 100644 --- a/arkoala/arkui/src/generated/ArkColorFilterMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkColorFilterMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ColorFilterInternal { public static fromPtr(ptr: KPointer): ColorFilter { const obj: ColorFilter = new ColorFilter(undefined) diff --git a/arkoala/arkui/src/generated/ArkColorMetricsMaterialized.ts b/arkoala/arkui/src/generated/ArkColorMetricsMaterialized.ts index 91dc12e83ce4c90b2ee9dddcb6d8581ec1f3851c..ff7f4113615bc68ac0ddc10d44eb87c472aa7161 100644 --- a/arkoala/arkui/src/generated/ArkColorMetricsMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkColorMetricsMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ColorMetricsInternal { public static fromPtr(ptr: KPointer): ColorMetrics { const obj: ColorMetrics = new ColorMetrics() diff --git a/arkoala/arkui/src/generated/ArkCommonShapeMaterialized.ts b/arkoala/arkui/src/generated/ArkCommonShapeMaterialized.ts index 66964533a9f3c59cb8d235ee65e948183330cacd..e2bf8db4dc93a1dfd7605a7a820485f007954061 100644 --- a/arkoala/arkui/src/generated/ArkCommonShapeMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCommonShapeMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CommonShapeInternal { public static fromPtr(ptr: KPointer): CommonShape { const obj: CommonShape = new CommonShape() diff --git a/arkoala/arkui/src/generated/ArkConsoleMessageMaterialized.ts b/arkoala/arkui/src/generated/ArkConsoleMessageMaterialized.ts index c8c3b86df89c158e07cf040ddaa7698aa12ffe82..14d5fb89b2f0aa10f87f7b8df76be12a5ccde0fb 100644 --- a/arkoala/arkui/src/generated/ArkConsoleMessageMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkConsoleMessageMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ConsoleMessageInternal { public static fromPtr(ptr: KPointer): ConsoleMessage { const obj: ConsoleMessage = new ConsoleMessage(undefined, undefined, undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkContextMenuMaterialized.ts b/arkoala/arkui/src/generated/ArkContextMenuMaterialized.ts index e86a449f70d616bdd1cefc3092430dd2655d3e4c..d276a068c341818846e898db3581cc55d149ba15 100644 --- a/arkoala/arkui/src/generated/ArkContextMenuMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkContextMenuMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ContextMenu { public static close(): undefined { return ContextMenu.close_serialize() diff --git a/arkoala/arkui/src/generated/ArkControllerHandlerMaterialized.ts b/arkoala/arkui/src/generated/ArkControllerHandlerMaterialized.ts index 86ed347f32ce2c58c166e905447b1a92845b2944..88b5812c2b0ae54867bcf875c022dab323bd264b 100644 --- a/arkoala/arkui/src/generated/ArkControllerHandlerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkControllerHandlerMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ControllerHandlerInternal { public static fromPtr(ptr: KPointer): ControllerHandler { const obj: ControllerHandler = new ControllerHandler() diff --git a/arkoala/arkui/src/generated/ArkCursorControlNamespace.ts b/arkoala/arkui/src/generated/ArkCursorControlNamespace.ts index d0cd64617d9d4b78d14bd7b3528652fb1813aa25..9305ec10c824d4801e358f2f7ff9f5b6bc887e47 100644 --- a/arkoala/arkui/src/generated/ArkCursorControlNamespace.ts +++ b/arkoala/arkui/src/generated/ArkCursorControlNamespace.ts @@ -17,13 +17,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { PointerStyle } from "./ArkArkuiCustomInterfaces" -import { GlobalScope } from "./peers/GlobalScope" +import { GlobalScope } from "./GlobalScope" export namespace cursorControl { export function setCursor(value: PointerStyle): void { GlobalScope.cursorControl_setCursor(value) } -} -export namespace cursorControl { export function restoreDefault(): void { GlobalScope.cursorControl_restoreDefault() } diff --git a/arkoala/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts index f2d5fb2fc8bba40326c8c3841548ca9f882c4906..d42dcdbb8a6934efd530bef2974ec97aeb641830 100644 --- a/arkoala/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts @@ -28,10 +28,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CustomDialogControllerInternal { public static fromPtr(ptr: KPointer): CustomDialogController { const obj: CustomDialogController = new CustomDialogController(undefined) diff --git a/arkoala/arkui/src/generated/ArkCustomSpanMaterialized.ts b/arkoala/arkui/src/generated/ArkCustomSpanMaterialized.ts index 43f2e2a311db57cd4d107ae2922041f58c3bba0c..bbbd7f94b8269fd851c173c7dfc14a599ae4ce9d 100644 --- a/arkoala/arkui/src/generated/ArkCustomSpanMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkCustomSpanMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CustomSpanInternal { public static fromPtr(ptr: KPointer): CustomSpan { const obj: CustomSpan = new CustomSpan() diff --git a/arkoala/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts b/arkoala/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts index 410104f7a4a7f4e3e2b7c3e870633e0126146d49..ed54322d57ab3c52f246401ebfb355faa01aea57 100644 --- a/arkoala/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DataResubmissionHandlerInternal { public static fromPtr(ptr: KPointer): DataResubmissionHandler { const obj: DataResubmissionHandler = new DataResubmissionHandler() diff --git a/arkoala/arkui/src/generated/ArkDatePickerDialogMaterialized.ts b/arkoala/arkui/src/generated/ArkDatePickerDialogMaterialized.ts index 1e075dc40c71bf6ba7a475dca0dcb90f9bb39e42..b18018aea4f758955b51fdd713da1956b87b522b 100644 --- a/arkoala/arkui/src/generated/ArkDatePickerDialogMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkDatePickerDialogMaterialized.ts @@ -28,10 +28,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DatePickerDialog { public static show(options?: DatePickerDialogOptions): undefined { const options_casted = options as (DatePickerDialogOptions | undefined) diff --git a/arkoala/arkui/src/generated/ArkDecorationStyleMaterialized.ts b/arkoala/arkui/src/generated/ArkDecorationStyleMaterialized.ts index 85feadd17f098d9c982e8f655d8e1d3b46a45a80..e1793ccdf0898a5257f41b7fee5687f405aaff93 100644 --- a/arkoala/arkui/src/generated/ArkDecorationStyleMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkDecorationStyleMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DecorationStyleInternal { public static fromPtr(ptr: KPointer): DecorationStyle { const obj: DecorationStyle = new DecorationStyle(undefined) diff --git a/arkoala/arkui/src/generated/ArkDisappearSymbolEffectMaterialized.ts b/arkoala/arkui/src/generated/ArkDisappearSymbolEffectMaterialized.ts index df3bc742a879199d27303917a09a105c556c6045..5cbd33dc4e2bf4e2cccb6c7526ba0f4f7a57d16b 100644 --- a/arkoala/arkui/src/generated/ArkDisappearSymbolEffectMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkDisappearSymbolEffectMaterialized.ts @@ -16,15 +16,15 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope } from "./ArkArkuiExternalInterfaces" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DisappearSymbolEffectInternal { public static fromPtr(ptr: KPointer): DisappearSymbolEffect { const obj: DisappearSymbolEffect = new DisappearSymbolEffect(undefined) @@ -32,11 +32,7 @@ export class DisappearSymbolEffectInternal { return obj } } -export class DisappearSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class DisappearSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope { return this.getScope() } @@ -58,6 +54,7 @@ export class DisappearSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope) { + super() const ctorPtr: KPointer = DisappearSymbolEffect.ctor_disappearsymboleffect((scope)!) this.peer = new Finalizable(ctorPtr, DisappearSymbolEffect.getFinalizer()) } diff --git a/arkoala/arkui/src/generated/ArkDragEventMaterialized.ts b/arkoala/arkui/src/generated/ArkDragEventMaterialized.ts index 31e0ac5330d0daa586283f408ab6938136961aa6..9c72908f172451eeaa269fcf6a1a9a735018a867 100644 --- a/arkoala/arkui/src/generated/ArkDragEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkDragEventMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface DragEvent { dragBehavior: DragBehavior useCustomDropAnimation: boolean diff --git a/arkoala/arkui/src/generated/ArkDrawModifierMaterialized.ts b/arkoala/arkui/src/generated/ArkDrawModifierMaterialized.ts index 3416bab48786c8428f5f61b79953ed60cf57c5df..8cd823d4db80f0ac0ca36e4517cf8bf1b8189b45 100644 --- a/arkoala/arkui/src/generated/ArkDrawModifierMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkDrawModifierMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DrawModifierInternal { public static fromPtr(ptr: KPointer): DrawModifier { const obj: DrawModifier = new DrawModifier() diff --git a/arkoala/arkui/src/generated/ArkDrawableDescriptorMaterialized.ts b/arkoala/arkui/src/generated/ArkDrawableDescriptorMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..37dbd2f01f121a86b870c30778728b7da87fbabc --- /dev/null +++ b/arkoala/arkui/src/generated/ArkDrawableDescriptorMaterialized.ts @@ -0,0 +1,58 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing 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 { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class DrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): DrawableDescriptor { + const obj: DrawableDescriptor = new DrawableDescriptor() + obj.peer = new Finalizable(ptr, DrawableDescriptor.getFinalizer()) + return obj + } +} +export class DrawableDescriptor implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_drawabledescriptor(): KPointer { + const retval = ArkUIGeneratedNativeModule._DrawableDescriptor_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = DrawableDescriptor.ctor_drawabledescriptor() + this.peer = new Finalizable(ctorPtr, DrawableDescriptor.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._DrawableDescriptor_getFinalizer() + } + public getPixelMap(): PixelMap { + return this.getPixelMap_serialize() + } + private getPixelMap_serialize(): PixelMap { + const retval = ArkUIGeneratedNativeModule._DrawableDescriptor_getPixelMap(this.peer!.ptr) + const obj: PixelMap = PixelMapInternal.fromPtr(retval) + return obj + } +} diff --git a/arkoala/arkui/src/generated/ArkDrawingCanvasMaterialized.ts b/arkoala/arkui/src/generated/ArkDrawingCanvasMaterialized.ts index f1afeb77bada6a51612165a6606c0124565e20bf..73015e886dc0a198a41aa2064d5e4f070a9f2bef 100644 --- a/arkoala/arkui/src/generated/ArkDrawingCanvasMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkDrawingCanvasMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DrawingCanvasInternal { public static fromPtr(ptr: KPointer): DrawingCanvas { const obj: DrawingCanvas = new DrawingCanvas(undefined) diff --git a/arkoala/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts b/arkoala/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts index fc95c6e846199bf216dd2d1349b4cadd64a4e6d3..4057bc0437d8faa970eed14761e99890c376a1a9 100644 --- a/arkoala/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DrawingRenderingContextInternal { public static fromPtr(ptr: KPointer): DrawingRenderingContext { const obj: DrawingRenderingContext = new DrawingRenderingContext(undefined) diff --git a/arkoala/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts b/arkoala/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts index 53c945b9d083eaebc265024a09014953a1b418f0..e297c5aefbe4f6251bf4a99d2486eb461635ec6c 100644 --- a/arkoala/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface EditMenuOptions { onCreateMenu(menuItems: Array): Array onMenuItemClick(menuItem: TextMenuItem, range: TextRange): boolean diff --git a/arkoala/arkui/src/generated/ArkEllipseShapeMaterialized.ts b/arkoala/arkui/src/generated/ArkEllipseShapeMaterialized.ts index b905cc9b3a3b65f171a5f0037afec9da393d7a04..0af0f91a25997b7a4aabf953d39492c403a241bb 100644 --- a/arkoala/arkui/src/generated/ArkEllipseShapeMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkEllipseShapeMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class EllipseShapeInternal { public static fromPtr(ptr: KPointer): EllipseShape { const obj: EllipseShape = new EllipseShape(undefined) diff --git a/arkoala/arkui/src/generated/ArkEventEmulatorMaterialized.ts b/arkoala/arkui/src/generated/ArkEventEmulatorMaterialized.ts index 63719a37e93673b0b54411feff307bc7d60d88fd..9aea9c11a4602f09c3642a2df6fd2515e4826a00 100644 --- a/arkoala/arkui/src/generated/ArkEventEmulatorMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkEventEmulatorMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class EventEmulator { public static emitClickEvent(node: KPointer, event: ClickEvent): void { const node_casted = node as (KPointer) diff --git a/arkoala/arkui/src/generated/ArkEventResultMaterialized.ts b/arkoala/arkui/src/generated/ArkEventResultMaterialized.ts index bcdf5eec8978fb3fd61519ae4682b2d326d46998..504df11971c772cd1496d0ac03d9eaef2710d6b5 100644 --- a/arkoala/arkui/src/generated/ArkEventResultMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkEventResultMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class EventResultInternal { public static fromPtr(ptr: KPointer): EventResult { const obj: EventResult = new EventResult() diff --git a/arkoala/arkui/src/generated/ArkEventTargetInfoMaterialized.ts b/arkoala/arkui/src/generated/ArkEventTargetInfoMaterialized.ts index 12a208e03c7e579a9593fcc3d4782a3b0cb1617e..fa2c9bccf86a901b6cead5910b7f710763ee2522 100644 --- a/arkoala/arkui/src/generated/ArkEventTargetInfoMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkEventTargetInfoMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class EventTargetInfoInternal { public static fromPtr(ptr: KPointer): EventTargetInfo { const obj: EventTargetInfo = new EventTargetInfo() diff --git a/arkoala/arkui/src/generated/ArkFileSelectorParamMaterialized.ts b/arkoala/arkui/src/generated/ArkFileSelectorParamMaterialized.ts index 04885da7d4f99fbc5a55c2a43bc66ad3388d08b3..a0fd3a668f23a92651679105a3d079143cfd5aad 100644 --- a/arkoala/arkui/src/generated/ArkFileSelectorParamMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkFileSelectorParamMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FileSelectorParamInternal { public static fromPtr(ptr: KPointer): FileSelectorParam { const obj: FileSelectorParam = new FileSelectorParam() diff --git a/arkoala/arkui/src/generated/ArkFileSelectorResultMaterialized.ts b/arkoala/arkui/src/generated/ArkFileSelectorResultMaterialized.ts index 187a592ba3429bf53f2096be704540764653903d..efdaa0c54a35d766371aa2fdcc1a9a786668475c 100644 --- a/arkoala/arkui/src/generated/ArkFileSelectorResultMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkFileSelectorResultMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FileSelectorResultInternal { public static fromPtr(ptr: KPointer): FileSelectorResult { const obj: FileSelectorResult = new FileSelectorResult() diff --git a/arkoala/arkui/src/generated/ArkFocusControlNamespace.ts b/arkoala/arkui/src/generated/ArkFocusControlNamespace.ts index 12cc3815234308ccb369d7a52d613a1e910cd6ee..9361615be3e9a3a7b9c52d69be97dd2daaa40837 100644 --- a/arkoala/arkui/src/generated/ArkFocusControlNamespace.ts +++ b/arkoala/arkui/src/generated/ArkFocusControlNamespace.ts @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { GlobalScope } from "./peers/GlobalScope" +import { GlobalScope } from "./GlobalScope" export namespace focusControl { export function requestFocus(value: string): boolean { return GlobalScope.focusControl_requestFocus(value) diff --git a/arkoala/arkui/src/generated/ArkFocusControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkFocusControllerMaterialized.ts index 95166b822229574d7e762ab915491b267fd77a44..2fdce684db67186e00bb046ecd6954ce198417cc 100644 --- a/arkoala/arkui/src/generated/ArkFocusControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkFocusControllerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FocusController { public static requestFocus(key: string): void { const key_casted = key as (string) diff --git a/arkoala/arkui/src/generated/ArkFrameNodeMaterialized.ts b/arkoala/arkui/src/generated/ArkFrameNodeMaterialized.ts index d54a1404e915109fbb4016935ea61e24043b0755..439c873747706c43226b961a751db6e1dfcaf7a5 100644 --- a/arkoala/arkui/src/generated/ArkFrameNodeMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkFrameNodeMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FrameNodeInternal { public static fromPtr(ptr: KPointer): FrameNode { const obj: FrameNode = new FrameNode(undefined) diff --git a/arkoala/arkui/src/generated/ArkFrictionMotionMaterialized.ts b/arkoala/arkui/src/generated/ArkFrictionMotionMaterialized.ts index 622c32c784884d8c40ff6b30d88a0d9ed0690589..69110b3562698b9c9e5a52820be0be9a0c7cbf38 100644 --- a/arkoala/arkui/src/generated/ArkFrictionMotionMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkFrictionMotionMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FrictionMotionInternal { public static fromPtr(ptr: KPointer): FrictionMotion { const obj: FrictionMotion = new FrictionMotion(undefined, undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts b/arkoala/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts index db86e3499043b8bff12998b016680fe0c5c9dd03..c880c6deb16d9346e0e8b12952e35db61294b2dd 100644 --- a/arkoala/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FullScreenExitHandlerInternal { public static fromPtr(ptr: KPointer): FullScreenExitHandler { const obj: FullScreenExitHandler = new FullScreenExitHandler() diff --git a/arkoala/arkui/src/generated/ArkGestureEventMaterialized.ts b/arkoala/arkui/src/generated/ArkGestureEventMaterialized.ts index a924ffbc9789989c9995500a3b750d393c481b0a..56fdfa78425846c0d297c81159103dc1070bf864 100644 --- a/arkoala/arkui/src/generated/ArkGestureEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkGestureEventMaterialized.ts @@ -25,10 +25,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface GestureEvent { repeat: boolean fingerList: Array diff --git a/arkoala/arkui/src/generated/ArkGestureGroupInterfaceMaterialized.ts b/arkoala/arkui/src/generated/ArkGestureGroupInterfaceMaterialized.ts index 308d9566c9fcdae66c44c23879bb04b35f5ed210..5d0f29742ccf0595fd5455c5fb2968c846e1a791 100644 --- a/arkoala/arkui/src/generated/ArkGestureGroupInterfaceMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkGestureGroupInterfaceMaterialized.ts @@ -33,10 +33,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface GestureGroupInterface { onCancel(event: (() => void)): GestureGroupInterface } diff --git a/arkoala/arkui/src/generated/ArkGestureModifierMaterialized.ts b/arkoala/arkui/src/generated/ArkGestureModifierMaterialized.ts index 6c229f74b591b649e0d8f678da13ed4687649c44..89b24d3aa0ce6d89952fe8ab33109c7ff9428c6a 100644 --- a/arkoala/arkui/src/generated/ArkGestureModifierMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkGestureModifierMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface GestureModifier { applyGesture(event: UIGestureEvent): void } diff --git a/arkoala/arkui/src/generated/ArkGestureRecognizerMaterialized.ts b/arkoala/arkui/src/generated/ArkGestureRecognizerMaterialized.ts index 06964e6255b462e631c037e0e8c268d79391eeb8..ad337cf85e08e9ba0ae641f820aecd7be868ac2a 100644 --- a/arkoala/arkui/src/generated/ArkGestureRecognizerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkGestureRecognizerMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GestureRecognizerInternal { public static fromPtr(ptr: KPointer): GestureRecognizer { const obj: GestureRecognizer = new GestureRecognizer() diff --git a/arkoala/arkui/src/generated/ArkGestureStyleMaterialized.ts b/arkoala/arkui/src/generated/ArkGestureStyleMaterialized.ts index 753ed2b8bb68f5962cdd135098e5b13964af6992..93d73b0cb588231af0751b45ac35caf531cc75e4 100644 --- a/arkoala/arkui/src/generated/ArkGestureStyleMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkGestureStyleMaterialized.ts @@ -28,10 +28,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GestureStyleInternal { public static fromPtr(ptr: KPointer): GestureStyle { const obj: GestureStyle = new GestureStyle(undefined) diff --git a/arkoala/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts b/arkoala/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts index 9b2e802a147f56643ce3d0c282c0994386d68184..c73823ee2d750f31195b17346f4be70ef69fae99 100644 --- a/arkoala/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GlobalScope_ohos_arkui_componentSnapshot { public static get(id: string, callback: ((result: PixelMap) => void), options?: SnapshotOptions): void { const id_casted = id as (string) diff --git a/arkoala/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts b/arkoala/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts index 77753411f625cc48d505958b6e588e7f9b154d12..b92e2140e9417f00c37bb527eccf4bf789ceeb76 100644 --- a/arkoala/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GlobalScope_ohos_arkui_performanceMonitor { public static begin(scene: string, startInputType: PerfMonitorActionType, note?: string): void { const scene_casted = scene as (string) diff --git a/arkoala/arkui/src/generated/ArkGlobalScopeOhosFontMaterialized.ts b/arkoala/arkui/src/generated/ArkGlobalScopeOhosFontMaterialized.ts index 1db32af1a839d3903ba3d5157a69dc42e5c3d7e0..fd2402eae93b0352dd33a9bbac2afc8c3d02327a 100644 --- a/arkoala/arkui/src/generated/ArkGlobalScopeOhosFontMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkGlobalScopeOhosFontMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GlobalScope_ohos_font { public static registerFont(options: FontOptions): void { const options_casted = options as (FontOptions) diff --git a/arkoala/arkui/src/generated/ArkGlobalScopeOhosMeasureUtilsMaterialized.ts b/arkoala/arkui/src/generated/ArkGlobalScopeOhosMeasureUtilsMaterialized.ts index 5d075320622787ecfaaf2f8a1240196dfe950fb8..109e210d26ddf4d891ed310f5cbf64a40dc6e346 100644 --- a/arkoala/arkui/src/generated/ArkGlobalScopeOhosMeasureUtilsMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkGlobalScopeOhosMeasureUtilsMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GlobalScope_ohos_measure_utils { public static measureText(options: MeasureOptions): number { const options_casted = options as (MeasureOptions) diff --git a/arkoala/arkui/src/generated/ArkHierarchicalSymbolEffectMaterialized.ts b/arkoala/arkui/src/generated/ArkHierarchicalSymbolEffectMaterialized.ts index ba0e7ccce538ae477ac981113a153ff909b6baea..70fb55599c99318f4f2e056f33c3f88d4ad9c505 100644 --- a/arkoala/arkui/src/generated/ArkHierarchicalSymbolEffectMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkHierarchicalSymbolEffectMaterialized.ts @@ -16,16 +16,15 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" import { EffectFillStyle } from "./ArkSymbolglyphInterfaces" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class HierarchicalSymbolEffectInternal { public static fromPtr(ptr: KPointer): HierarchicalSymbolEffect { const obj: HierarchicalSymbolEffect = new HierarchicalSymbolEffect(undefined) @@ -33,11 +32,7 @@ export class HierarchicalSymbolEffectInternal { return obj } } -export class HierarchicalSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class HierarchicalSymbolEffect extends SymbolEffect implements MaterializedBase { get fillStyle(): EffectFillStyle { return this.getFillStyle() } @@ -59,6 +54,7 @@ export class HierarchicalSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(fillStyle?: EffectFillStyle) { + super() const ctorPtr: KPointer = HierarchicalSymbolEffect.ctor_hierarchicalsymboleffect((fillStyle)!) this.peer = new Finalizable(ctorPtr, HierarchicalSymbolEffect.getFinalizer()) } diff --git a/arkoala/arkui/src/generated/ArkHoverEventMaterialized.ts b/arkoala/arkui/src/generated/ArkHoverEventMaterialized.ts index 5e1f6c8988cdbe5e17174503cedf2e42c79f369f..8ba2b36e58968c6d0613c05d4daa34c46bbe0c8c 100644 --- a/arkoala/arkui/src/generated/ArkHoverEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkHoverEventMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface HoverEvent { stopPropagation: (() => void) } diff --git a/arkoala/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts b/arkoala/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts index 2297795ee2ed992fdbdb190af5d5e77f62fed0fc..8c95dafd0bd90fcb9c5f6bfad00529aaa9115f27 100644 --- a/arkoala/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class HttpAuthHandlerInternal { public static fromPtr(ptr: KPointer): HttpAuthHandler { const obj: HttpAuthHandler = new HttpAuthHandler() diff --git a/arkoala/arkui/src/generated/ArkICurveMaterialized.ts b/arkoala/arkui/src/generated/ArkICurveMaterialized.ts index a3213dfbd29c869e5d79d256f4219bd09390195d..f0e31f782e5e0150e09a5f3527968d7046a30b45 100644 --- a/arkoala/arkui/src/generated/ArkICurveMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkICurveMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface ICurve { interpolate(fraction: number): number } diff --git a/arkoala/arkui/src/generated/ArkImage.ts b/arkoala/arkui/src/generated/ArkImage.ts index 03dfdf762485493e4d189dbe29a235c2cc19004a..79cd3f7df2d1c1e2f6da4ed82ed0786cf94a2ec7 100644 --- a/arkoala/arkui/src/generated/ArkImage.ts +++ b/arkoala/arkui/src/generated/ArkImage.ts @@ -28,7 +28,7 @@ import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding import { DrawModifier } from "./ArkDrawModifierMaterialized" import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, PixelRoundCalcPolicy, Curve, PlayMode, TransitionType, HorizontalAlign, VerticalAlign, ClickEffectLevel, SharedTransitionEffectType, Placement, ArrowPointPosition, MouseButton, MouseAction, TouchType, KeyType, KeySource, FontWeight, FontStyle, ImageFit, CopyOptions, IlluminatedType } from "./ArkEnumsInterfaces" import { LengthMetrics } from "./ArkLengthMetricsMaterialized" -import { ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, DrawableDescriptor, ImageAttribute, ImageContent } from "./ArkImageInterfaces" +import { ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, ImageAttribute, ImageContent } from "./ArkImageInterfaces" import { Resource } from "./ArkResourceInterfaces" import { FocusBoxStyle, FocusPriority } from "./ArkFocusInterfaces" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" @@ -65,6 +65,7 @@ import { GestureControl } from "./ArkGestureControlNamespace" import { GestureEvent } from "./ArkGestureEventMaterialized" import { ColorFilter } from "./ArkColorFilterMaterialized" import { ImageAnalyzerConfig, ImageAnalyzerType, ImageAIOptions } from "./ArkImageCommonInterfaces" +import { DrawableDescriptor } from "./ArkDrawableDescriptorMaterialized" import { ImageAnalyzerController } from "./ArkImageAnalyzerControllerMaterialized" /** @memo:stable */ export class ArkImageComponent extends ArkCommonMethodComponent { @@ -76,18 +77,18 @@ export class ArkImageComponent extends ArkCommonMethodComponent { if (this.checkPriority("setImageOptions")) { const src_type = runtimeType(src) const imageAIOptions_type = runtimeType(imageAIOptions) - if (((((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("isEditable")))) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("_DrawableDescriptorStub"))))) && (RuntimeType.UNDEFINED == imageAIOptions_type)) { + if (((((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("isEditable")))) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (((RuntimeType.OBJECT) == (src_type)) && (src instanceof DrawableDescriptor))) && (RuntimeType.UNDEFINED == imageAIOptions_type)) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) this.getPeer()?.setImageOptions0Attribute(src_casted) return this } - if (((((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("isEditable")))) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("_DrawableDescriptorStub"))))) && (RuntimeType.OBJECT == imageAIOptions_type)) { + if (((((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("isEditable")))) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (((RuntimeType.OBJECT) == (src_type)) && (src instanceof DrawableDescriptor))) && (RuntimeType.OBJECT == imageAIOptions_type)) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) this.getPeer()?.setImageOptions2Attribute(src_casted, imageAIOptions_casted) return this } - if (((((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("isEditable")))) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("_DrawableDescriptorStub")))) || (RuntimeType.NUMBER == src_type)) && (RuntimeType.UNDEFINED == imageAIOptions_type)) { + if (((((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("isEditable")))) || ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (((RuntimeType.OBJECT) == (src_type)) && (src instanceof DrawableDescriptor)) || (RuntimeType.NUMBER == src_type)) && (RuntimeType.UNDEFINED == imageAIOptions_type)) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor | ImageContent) this.getPeer()?.setImageOptions1Attribute(src_casted) return this diff --git a/arkoala/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts index 41fbfb1e7e3c7f99d8370387a7585b862fea80ef..1dc9f24f5616ac62bb4e7393dcb79d923f9c5cb1 100644 --- a/arkoala/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ImageAnalyzerControllerInternal { public static fromPtr(ptr: KPointer): ImageAnalyzerController { const obj: ImageAnalyzerController = new ImageAnalyzerController() diff --git a/arkoala/arkui/src/generated/ArkImageAttachmentMaterialized.ts b/arkoala/arkui/src/generated/ArkImageAttachmentMaterialized.ts index 384abcea60438f5dba0bcf62e6bb26b90660474b..86e1d27e0bf4b92d29b4b186c4836be6f504bffd 100644 --- a/arkoala/arkui/src/generated/ArkImageAttachmentMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkImageAttachmentMaterialized.ts @@ -27,10 +27,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ImageAttachmentInternal { public static fromPtr(ptr: KPointer): ImageAttachment { const obj: ImageAttachment = new ImageAttachment(undefined) diff --git a/arkoala/arkui/src/generated/ArkImageBitmapMaterialized.ts b/arkoala/arkui/src/generated/ArkImageBitmapMaterialized.ts index bcba9765d11be7db1d2a2cc793c00986e9a55667..1b9f3809f7a5943bce69d5851ea0e5b6f1a6c6e8 100644 --- a/arkoala/arkui/src/generated/ArkImageBitmapMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkImageBitmapMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ImageBitmapInternal { public static fromPtr(ptr: KPointer): ImageBitmap { const obj: ImageBitmap = new ImageBitmap(undefined) diff --git a/arkoala/arkui/src/generated/ArkImageDataMaterialized.ts b/arkoala/arkui/src/generated/ArkImageDataMaterialized.ts index 53f01bc38df7317722ef9e138d17897f9dcbd043..3ffcf851af1b4ac3a216d51a320b9c05f90d60ec 100644 --- a/arkoala/arkui/src/generated/ArkImageDataMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkImageDataMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ImageDataInternal { public static fromPtr(ptr: KPointer): ImageData { const obj: ImageData = new ImageData(undefined, undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkImageInterfaces.ts b/arkoala/arkui/src/generated/ArkImageInterfaces.ts index 6779ffa6e653c4033ec373ef5f4447178c151312..6681c2836057f51a5369643f9cabc5cc2f0d2ae4 100644 --- a/arkoala/arkui/src/generated/ArkImageInterfaces.ts +++ b/arkoala/arkui/src/generated/ArkImageInterfaces.ts @@ -21,6 +21,7 @@ import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from import { NodeAttach, remember } from "@koalaui/runtime" import { PixelMap } from "./ArkPixelMapMaterialized" import { ResourceStr, Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./ArkUnitsInterfaces" +import { DrawableDescriptor } from "./ArkDrawableDescriptorMaterialized" import { ImageAIOptions, ImageAnalyzerConfig, ImageAnalyzerType } from "./ArkImageCommonInterfaces" import { Resource } from "./ArkResourceInterfaces" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PointLightStyle, LightSource } from "./ArkCommonInterfaces" @@ -61,9 +62,6 @@ import { GestureControl } from "./ArkGestureControlNamespace" import { GestureEvent } from "./ArkGestureEventMaterialized" import { ColorFilter } from "./ArkColorFilterMaterialized" import { ImageAnalyzerController } from "./ArkImageAnalyzerControllerMaterialized" -export interface DrawableDescriptor { - _DrawableDescriptorStub: string; -} export interface DrawingColorFilter { _DrawingColorFilterStub: string; } diff --git a/arkoala/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts index 1b9de35fea8e7ec26a34001c0aa4db0f4adb8065..6cfa5b79ccd6503bfc0941f2294ba779b6dd6327 100644 --- a/arkoala/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class IndicatorComponentControllerInternal { public static fromPtr(ptr: KPointer): IndicatorComponentController { const obj: IndicatorComponentController = new IndicatorComponentController() diff --git a/arkoala/arkui/src/generated/ArkJsGeolocationMaterialized.ts b/arkoala/arkui/src/generated/ArkJsGeolocationMaterialized.ts index 8a44ad949de59c3a62ad9a78d9c509c4829d23e8..6fcd9adbb658180ec39039d96b93ca55a6451a18 100644 --- a/arkoala/arkui/src/generated/ArkJsGeolocationMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkJsGeolocationMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class JsGeolocationInternal { public static fromPtr(ptr: KPointer): JsGeolocation { const obj: JsGeolocation = new JsGeolocation() diff --git a/arkoala/arkui/src/generated/ArkJsResultMaterialized.ts b/arkoala/arkui/src/generated/ArkJsResultMaterialized.ts index 9e6126f7d0d7af411cab0d12a619a617692abf7e..370e012162f73d70a564fe77e921022ffdf99815 100644 --- a/arkoala/arkui/src/generated/ArkJsResultMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkJsResultMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class JsResultInternal { public static fromPtr(ptr: KPointer): JsResult { const obj: JsResult = new JsResult() diff --git a/arkoala/arkui/src/generated/ArkKeyEventMaterialized.ts b/arkoala/arkui/src/generated/ArkKeyEventMaterialized.ts index a647232c326a7067cf228d1c6932e8c3fc8cb38c..ec450bb3a66dca3fefd76e0e2aac85371a5ac392 100644 --- a/arkoala/arkui/src/generated/ArkKeyEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkKeyEventMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface KeyEvent { type: KeyType keyCode: number diff --git a/arkoala/arkui/src/generated/ArkLayeredDrawableDescriptorMaterialized.ts b/arkoala/arkui/src/generated/ArkLayeredDrawableDescriptorMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..cb20e11a32c1f50a9368368d7b2366efd0845efa --- /dev/null +++ b/arkoala/arkui/src/generated/ArkLayeredDrawableDescriptorMaterialized.ts @@ -0,0 +1,105 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { DrawableDescriptor, DrawableDescriptorInternal } from "./ArkDrawableDescriptorMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class LayeredDrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): LayeredDrawableDescriptor { + const obj: LayeredDrawableDescriptor = new LayeredDrawableDescriptor(undefined, undefined, undefined) + obj.peer = new Finalizable(ptr, LayeredDrawableDescriptor.getFinalizer()) + return obj + } +} +export class LayeredDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { + static ctor_layereddrawabledescriptor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let foreground_type: int32 = RuntimeType.UNDEFINED + foreground_type = runtimeType(foreground) + thisSerializer.writeInt8(foreground_type) + if ((RuntimeType.UNDEFINED) != (foreground_type)) { + const foreground_value = foreground! + thisSerializer.writeDrawableDescriptor(foreground_value) + } + let background_type: int32 = RuntimeType.UNDEFINED + background_type = runtimeType(background) + thisSerializer.writeInt8(background_type) + if ((RuntimeType.UNDEFINED) != (background_type)) { + const background_value = background! + thisSerializer.writeDrawableDescriptor(background_value) + } + let mask_type: int32 = RuntimeType.UNDEFINED + mask_type = runtimeType(mask) + thisSerializer.writeInt8(mask_type) + if ((RuntimeType.UNDEFINED) != (mask_type)) { + const mask_value = mask! + thisSerializer.writeDrawableDescriptor(mask_value) + } + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor) { + super() + // All constructor parameters are optional. + // It means that the static method call invokes ctor method as well + // when all arguments are undefined. + const ctorPtr: KPointer = LayeredDrawableDescriptor.ctor_layereddrawabledescriptor((foreground)!, (background)!, (mask)!) + this.peer = new Finalizable(ctorPtr, LayeredDrawableDescriptor.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getFinalizer() + } + public getForeground(): DrawableDescriptor { + return this.getForeground_serialize() + } + public getBackground(): DrawableDescriptor { + return this.getBackground_serialize() + } + public getMask(): DrawableDescriptor { + return this.getMask_serialize() + } + public static getMaskClipPath(): string { + return LayeredDrawableDescriptor.getMaskClipPath_serialize() + } + private getForeground_serialize(): DrawableDescriptor { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getForeground(this.peer!.ptr) + const obj: DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) + return obj + } + private getBackground_serialize(): DrawableDescriptor { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getBackground(this.peer!.ptr) + const obj: DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) + return obj + } + private getMask_serialize(): DrawableDescriptor { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getMask(this.peer!.ptr) + const obj: DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) + return obj + } + private static getMaskClipPath_serialize(): string { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getMaskClipPath() + return retval + } +} diff --git a/arkoala/arkui/src/generated/ArkLayoutManagerMaterialized.ts b/arkoala/arkui/src/generated/ArkLayoutManagerMaterialized.ts index 652d3bbda51b9232fd3394416a2fa60cdfd9324d..129a92777946614850bc5a0c24d69893c9791bd5 100644 --- a/arkoala/arkui/src/generated/ArkLayoutManagerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkLayoutManagerMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface LayoutManager { getLineCount(): number getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity diff --git a/arkoala/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts b/arkoala/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts index 282bf86cd5ed06dd1ce4036cd73234f6e1d56e57..52986dd091052c6eb3730743406e58ec2a12540c 100644 --- a/arkoala/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LazyForEachOps { public static NeedMoreElements(node: KPointer, mark: KPointer, direction: int32): KPointer { const node_casted = node as (KPointer) diff --git a/arkoala/arkui/src/generated/ArkLengthMetricsMaterialized.ts b/arkoala/arkui/src/generated/ArkLengthMetricsMaterialized.ts index c5b4935c846869a58b2d0dd972769124babe9509..e19a27536a3e5afde3bf97241918ab039ebabbe1 100644 --- a/arkoala/arkui/src/generated/ArkLengthMetricsMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkLengthMetricsMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LengthMetricsInternal { public static fromPtr(ptr: KPointer): LengthMetrics { const obj: LengthMetrics = new LengthMetrics() diff --git a/arkoala/arkui/src/generated/ArkLetterSpacingStyleMaterialized.ts b/arkoala/arkui/src/generated/ArkLetterSpacingStyleMaterialized.ts index dae86099afb5e88a14b58f04c5a8a0c88ca32ad4..af2b00b8f04ae9980e8efafbf7449ac1a1e3e717 100644 --- a/arkoala/arkui/src/generated/ArkLetterSpacingStyleMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkLetterSpacingStyleMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LetterSpacingStyleInternal { public static fromPtr(ptr: KPointer): LetterSpacingStyle { const obj: LetterSpacingStyle = new LetterSpacingStyle(undefined) diff --git a/arkoala/arkui/src/generated/ArkLineHeightStyleMaterialized.ts b/arkoala/arkui/src/generated/ArkLineHeightStyleMaterialized.ts index ac3598e922fe38bd5d652bbba7f6dd7601d36d96..67d317aa7cd24388e8355351afe3ace654943b43 100644 --- a/arkoala/arkui/src/generated/ArkLineHeightStyleMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkLineHeightStyleMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LineHeightStyleInternal { public static fromPtr(ptr: KPointer): LineHeightStyle { const obj: LineHeightStyle = new LineHeightStyle(undefined) diff --git a/arkoala/arkui/src/generated/ArkLinearGradientMaterialized.ts b/arkoala/arkui/src/generated/ArkLinearGradientMaterialized.ts index ee909d7e1ac6efc594bf69210e73bf6e3d9513cf..89ee4d9fca86d700a950de3efc3c3a201911f389 100644 --- a/arkoala/arkui/src/generated/ArkLinearGradientMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkLinearGradientMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LinearGradientInternal { public static fromPtr(ptr: KPointer): LinearGradient { const obj: LinearGradient = new LinearGradient(undefined) diff --git a/arkoala/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts index fce9e201ef9a3aca8eab62d5b43c70c29adfd8d9..e37f59d11e6be3fc86c363f580acb1959fe3c719 100644 --- a/arkoala/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LinearIndicatorControllerInternal { public static fromPtr(ptr: KPointer): LinearIndicatorController { const obj: LinearIndicatorController = new LinearIndicatorController() diff --git a/arkoala/arkui/src/generated/ArkListScrollerMaterialized.ts b/arkoala/arkui/src/generated/ArkListScrollerMaterialized.ts index 2dda87c56cd673916c37b3460e5184f334547b43..643587f673f5e0f97ab82c5e0dfc420a6dbfc4bd 100644 --- a/arkoala/arkui/src/generated/ArkListScrollerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkListScrollerMaterialized.ts @@ -30,10 +30,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ListScrollerInternal { public static fromPtr(ptr: KPointer): ListScroller { const obj: ListScroller = new ListScroller() diff --git a/arkoala/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts b/arkoala/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts index 301d3031e192fad67a82c2dab78dc990940dcd5b..240cc232f8010fb672f4664dec37b93afa63684b 100644 --- a/arkoala/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface LongPressGestureEvent { repeat: boolean } diff --git a/arkoala/arkui/src/generated/ArkLongPressGestureInterfaceMaterialized.ts b/arkoala/arkui/src/generated/ArkLongPressGestureInterfaceMaterialized.ts index b139ccf95dc1e33fe5def2ee41c5e7538c5b97ea..0be35938993704721fbb1fd139e201f626cb9fbb 100644 --- a/arkoala/arkui/src/generated/ArkLongPressGestureInterfaceMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkLongPressGestureInterfaceMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface LongPressGestureInterface { onAction(event: ((event: GestureEvent) => void)): LongPressGestureInterface onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureInterface diff --git a/arkoala/arkui/src/generated/ArkMatrix2DMaterialized.ts b/arkoala/arkui/src/generated/ArkMatrix2DMaterialized.ts index 3f4ae8adf137ae2bd36103061f28521ab87178d4..c80ea19f5884fc946942baec0df98578ee0a5315 100644 --- a/arkoala/arkui/src/generated/ArkMatrix2DMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkMatrix2DMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class Matrix2DInternal { public static fromPtr(ptr: KPointer): Matrix2D { const obj: Matrix2D = new Matrix2D() diff --git a/arkoala/arkui/src/generated/ArkMeasurableMaterialized.ts b/arkoala/arkui/src/generated/ArkMeasurableMaterialized.ts index bc50d80be83a3678b515647aab178cc89c34f3c8..8c779c775535516640407f7085ec197a3634bbec 100644 --- a/arkoala/arkui/src/generated/ArkMeasurableMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkMeasurableMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface Measurable { measure(constraint: ConstraintSizeOptions): MeasureResult getMargin(): DirectionalEdgesT diff --git a/arkoala/arkui/src/generated/ArkMediaCachedImage.ts b/arkoala/arkui/src/generated/ArkMediaCachedImage.ts index 5326e3366ac8babedf4211b5f099213aee6ab959..cc9555744f6e31b12ccf38c32b639dfef254379e 100644 --- a/arkoala/arkui/src/generated/ArkMediaCachedImage.ts +++ b/arkoala/arkui/src/generated/ArkMediaCachedImage.ts @@ -23,7 +23,7 @@ import { ComponentBase } from "./../ComponentBase" import { isResource, isPadding } from "./../utils" import { ArkImageComponent } from "./ArkImage" import { ArkMediaCachedImagePeer } from "./peers/ArkMediaCachedImagePeer" -import { ImageAttribute, ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, DrawableDescriptor } from "./ArkImageInterfaces" +import { ImageAttribute, ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality } from "./ArkImageInterfaces" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PointLightStyle, LightSource } from "./ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./ArkUnitsInterfaces" import { DrawModifier } from "./ArkDrawModifierMaterialized" @@ -65,6 +65,7 @@ import { GestureControl } from "./ArkGestureControlNamespace" import { GestureEvent } from "./ArkGestureEventMaterialized" import { ColorFilter } from "./ArkColorFilterMaterialized" import { ImageAnalyzerConfig, ImageAnalyzerType } from "./ArkImageCommonInterfaces" +import { DrawableDescriptor } from "./ArkDrawableDescriptorMaterialized" import { ASTCResource, MediaCachedImageAttribute } from "./ArkMediaCachedImageInterfaces" /** @memo:stable */ export class ArkMediaCachedImageComponent extends ArkImageComponent { diff --git a/arkoala/arkui/src/generated/ArkMediaCachedImageInterfaces.ts b/arkoala/arkui/src/generated/ArkMediaCachedImageInterfaces.ts index a1c00b721762ca128798a91fadf6c1c1e1b3a19d..fc9550cfc6b39ecf9dcbd83b6757d5f95ade011e 100644 --- a/arkoala/arkui/src/generated/ArkMediaCachedImageInterfaces.ts +++ b/arkoala/arkui/src/generated/ArkMediaCachedImageInterfaces.ts @@ -21,8 +21,9 @@ import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from import { NodeAttach, remember } from "@koalaui/runtime" import { PixelMap } from "./ArkPixelMapMaterialized" import { ResourceStr, Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./ArkUnitsInterfaces" -import { DrawableDescriptor, ImageAttribute, ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality } from "./ArkImageInterfaces" +import { DrawableDescriptor } from "./ArkDrawableDescriptorMaterialized" import { Resource } from "./ArkResourceInterfaces" +import { ImageAttribute, ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality } from "./ArkImageInterfaces" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PointLightStyle, LightSource } from "./ArkCommonInterfaces" import { DrawModifier } from "./ArkDrawModifierMaterialized" import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, PixelRoundCalcPolicy, Curve, PlayMode, TransitionType, HorizontalAlign, VerticalAlign, ClickEffectLevel, SharedTransitionEffectType, Placement, ArrowPointPosition, MouseButton, MouseAction, TouchType, KeyType, KeySource, FontWeight, FontStyle, ImageFit, CopyOptions, IlluminatedType } from "./ArkEnumsInterfaces" diff --git a/arkoala/arkui/src/generated/ArkMouseEventMaterialized.ts b/arkoala/arkui/src/generated/ArkMouseEventMaterialized.ts index bb0b7fd40dc3b74e7fd2dfcf627e2ee50b552f4f..a847e58e7e3ae944f716d5bf376aa055af8b0c13 100644 --- a/arkoala/arkui/src/generated/ArkMouseEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkMouseEventMaterialized.ts @@ -25,10 +25,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface MouseEvent { button: MouseButton action: MouseAction diff --git a/arkoala/arkui/src/generated/ArkMutableStyledStringMaterialized.ts b/arkoala/arkui/src/generated/ArkMutableStyledStringMaterialized.ts index dc6a5d1e8cfdae810e8e3e31924199ad97933957..218ac413972947a3e463c1e774b898b8c686e8f3 100644 --- a/arkoala/arkui/src/generated/ArkMutableStyledStringMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkMutableStyledStringMaterialized.ts @@ -31,10 +31,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class MutableStyledStringInternal { public static fromPtr(ptr: KPointer): MutableStyledString { const obj: MutableStyledString = new MutableStyledString() diff --git a/arkoala/arkui/src/generated/ArkNavDestinationContextMaterialized.ts b/arkoala/arkui/src/generated/ArkNavDestinationContextMaterialized.ts index cfbbec49aac44ba5865af726a12c27a1b0fd1c03..f9c8a712a89b6b79d099e1ff7ec13ae063e21562 100644 --- a/arkoala/arkui/src/generated/ArkNavDestinationContextMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkNavDestinationContextMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface NavDestinationContext { pathInfo: NavPathInfo pathStack: NavPathStack diff --git a/arkoala/arkui/src/generated/ArkNavExtenderMaterialized.ts b/arkoala/arkui/src/generated/ArkNavExtenderMaterialized.ts index 994072bb2d87128f5ff9cc66fa1030a432b7cd78..bb6d92b8fb2f6dda8cd7ed470508aae1a004f7a9 100644 --- a/arkoala/arkui/src/generated/ArkNavExtenderMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkNavExtenderMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class NavExtender { public static setUpdateStackCallback(peer: NavPathStack, callback: NavExtender_OnUpdateStack): void { const peer_casted = peer as (NavPathStack) diff --git a/arkoala/arkui/src/generated/ArkNavPathInfoMaterialized.ts b/arkoala/arkui/src/generated/ArkNavPathInfoMaterialized.ts index 2e1a125a3abb56d01bdb7ee8427b7db3913066f1..851d79eafe325403c4131909b90e6c323be2d59a 100644 --- a/arkoala/arkui/src/generated/ArkNavPathInfoMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkNavPathInfoMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class NavPathInfoInternal { public static fromPtr(ptr: KPointer): NavPathInfo { const obj: NavPathInfo = new NavPathInfo(undefined, undefined, undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkNavPathStackMaterialized.ts b/arkoala/arkui/src/generated/ArkNavPathStackMaterialized.ts index dd41edd107e2669776172f9e94ebdb0ca8525a03..0855936bcf4ce02bd68adcc0667ad1ec13e1a60a 100644 --- a/arkoala/arkui/src/generated/ArkNavPathStackMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkNavPathStackMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class NavPathStackInternal { public static fromPtr(ptr: KPointer): NavPathStack { const obj: NavPathStack = new NavPathStack() diff --git a/arkoala/arkui/src/generated/ArkNavigationExtenderInterfaces.ts b/arkoala/arkui/src/generated/ArkNavigationExtenderInterfaces.ts index 3f5349a64bc6e86ce56e838559e4a91f1a8428df..e645d10a5fb1ca571eef5a613c17548a528ec012 100644 --- a/arkoala/arkui/src/generated/ArkNavigationExtenderInterfaces.ts +++ b/arkoala/arkui/src/generated/ArkNavigationExtenderInterfaces.ts @@ -19,4 +19,4 @@ 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 = () => void; +export type NavExtender_OnUpdateStack = (name: string) => void; diff --git a/arkoala/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts b/arkoala/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts index c9f80d600a023de9494de414f7e7df0def7ba51e..53046d230f1749c43e696c5d47b60b0b46479699 100644 --- a/arkoala/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface NavigationTransitionProxy { from: NavContentInfo to: NavContentInfo diff --git a/arkoala/arkui/src/generated/ArkOffscreenCanvasMaterialized.ts b/arkoala/arkui/src/generated/ArkOffscreenCanvasMaterialized.ts index 63c773650f81f44fd3fc76c8e7a1b67a238ef8f2..fb9664fd70efb0103118679ecbb49d938df1f8e9 100644 --- a/arkoala/arkui/src/generated/ArkOffscreenCanvasMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkOffscreenCanvasMaterialized.ts @@ -33,10 +33,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class OffscreenCanvasInternal { public static fromPtr(ptr: KPointer): OffscreenCanvas { const obj: OffscreenCanvas = new OffscreenCanvas(undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkOffscreenCanvasRenderingContext2DMaterialized.ts b/arkoala/arkui/src/generated/ArkOffscreenCanvasRenderingContext2DMaterialized.ts index ba91ce2026a8072ad8782a75a9edbd294b8711e7..73a3ce6cbea972a69074c35c070021a827116a76 100644 --- a/arkoala/arkui/src/generated/ArkOffscreenCanvasRenderingContext2DMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkOffscreenCanvasRenderingContext2DMaterialized.ts @@ -32,10 +32,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class OffscreenCanvasRenderingContext2DInternal { public static fromPtr(ptr: KPointer): OffscreenCanvasRenderingContext2D { const obj: OffscreenCanvasRenderingContext2D = new OffscreenCanvasRenderingContext2D(undefined, undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkPanGestureEventMaterialized.ts b/arkoala/arkui/src/generated/ArkPanGestureEventMaterialized.ts index 36c7bcdac942cb9777a0c9a5a8a886f9432acf46..271b258eba1be1307ffd03c64f56eacf4b85e0ea 100644 --- a/arkoala/arkui/src/generated/ArkPanGestureEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPanGestureEventMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface PanGestureEvent { offsetX: number offsetY: number diff --git a/arkoala/arkui/src/generated/ArkPanGestureInterfaceMaterialized.ts b/arkoala/arkui/src/generated/ArkPanGestureInterfaceMaterialized.ts index fc197c12eebd9e967a169ea0471a42f8a9ad36de..2a3f3347efe757ef2a27f1342547840509508130 100644 --- a/arkoala/arkui/src/generated/ArkPanGestureInterfaceMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPanGestureInterfaceMaterialized.ts @@ -27,10 +27,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface PanGestureInterface { onActionStart(event: ((event: GestureEvent) => void)): PanGestureInterface onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureInterface diff --git a/arkoala/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts b/arkoala/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts index afd365b24fa576235ff9e1be13b003dcbede368a..81d5d96d0b3db188398afee0b4a63c79cddaf0f1 100644 --- a/arkoala/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PanGestureOptionsInternal { public static fromPtr(ptr: KPointer): PanGestureOptions { const obj: PanGestureOptions = new PanGestureOptions(undefined) diff --git a/arkoala/arkui/src/generated/ArkPanRecognizerMaterialized.ts b/arkoala/arkui/src/generated/ArkPanRecognizerMaterialized.ts index 7171562412bea74fafa3198349149b6924c22a8f..a120ce38890a0fa3d4ae967dd95946b04ad5d58d 100644 --- a/arkoala/arkui/src/generated/ArkPanRecognizerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPanRecognizerMaterialized.ts @@ -25,10 +25,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PanRecognizerInternal { public static fromPtr(ptr: KPointer): PanRecognizer { const obj: PanRecognizer = new PanRecognizer() diff --git a/arkoala/arkui/src/generated/ArkParagraphStyleMaterialized.ts b/arkoala/arkui/src/generated/ArkParagraphStyleMaterialized.ts index 439a3a90a2ae399a22e72f9e8de48b5edfced3f8..a2fe7b26d0c4c0019ec96c6dbd2ac192f1e1088d 100644 --- a/arkoala/arkui/src/generated/ArkParagraphStyleMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkParagraphStyleMaterialized.ts @@ -28,10 +28,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ParagraphStyleInternal { public static fromPtr(ptr: KPointer): ParagraphStyle { const obj: ParagraphStyle = new ParagraphStyle(undefined) diff --git a/arkoala/arkui/src/generated/ArkPath2DMaterialized.ts b/arkoala/arkui/src/generated/ArkPath2DMaterialized.ts index b77f452ea892a98bf3dbd90c4f2ff0e7f717250e..ca9e8f533c26ad17a9d4c3299febbdcc68834038 100644 --- a/arkoala/arkui/src/generated/ArkPath2DMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPath2DMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class Path2DInternal { public static fromPtr(ptr: KPointer): Path2D { const obj: Path2D = new Path2D() diff --git a/arkoala/arkui/src/generated/ArkPathShapeMaterialized.ts b/arkoala/arkui/src/generated/ArkPathShapeMaterialized.ts index f6dc4269d408ac317223bd4fac1a32673c3baf0f..a5d871ee21679e3e1ea89467d12df36b43ea7f71 100644 --- a/arkoala/arkui/src/generated/ArkPathShapeMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPathShapeMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PathShapeInternal { public static fromPtr(ptr: KPointer): PathShape { const obj: PathShape = new PathShape(undefined) diff --git a/arkoala/arkui/src/generated/ArkPatternLockControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkPatternLockControllerMaterialized.ts index 77b643398c317c5646e609180b1fb985ca77364a..ede96dc9c0d677994841f02bc65cd837ebc227ab 100644 --- a/arkoala/arkui/src/generated/ArkPatternLockControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPatternLockControllerMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PatternLockControllerInternal { public static fromPtr(ptr: KPointer): PatternLockController { const obj: PatternLockController = new PatternLockController() diff --git a/arkoala/arkui/src/generated/ArkPermissionRequestMaterialized.ts b/arkoala/arkui/src/generated/ArkPermissionRequestMaterialized.ts index 6c610199ade9b487ed849f72fbfa96757b03c766..30a00df486f152798f42631ab3bbc916b0ec84b6 100644 --- a/arkoala/arkui/src/generated/ArkPermissionRequestMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPermissionRequestMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PermissionRequestInternal { public static fromPtr(ptr: KPointer): PermissionRequest { const obj: PermissionRequest = new PermissionRequest() diff --git a/arkoala/arkui/src/generated/ArkPinchGestureEventMaterialized.ts b/arkoala/arkui/src/generated/ArkPinchGestureEventMaterialized.ts index 9c9058262dcd9d654e41b71290b535a6a87db611..31ae5ea881c0da590d66ffbd58a99bf9bfc73d99 100644 --- a/arkoala/arkui/src/generated/ArkPinchGestureEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPinchGestureEventMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface PinchGestureEvent { scale: number pinchCenterX: number diff --git a/arkoala/arkui/src/generated/ArkPinchGestureInterfaceMaterialized.ts b/arkoala/arkui/src/generated/ArkPinchGestureInterfaceMaterialized.ts index 9199d8ebd095ed3536de20bbec1bf41c4d8c79ba..25468d88a70b1b87de9055e58bb5d1a4f376972d 100644 --- a/arkoala/arkui/src/generated/ArkPinchGestureInterfaceMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPinchGestureInterfaceMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface PinchGestureInterface { onActionStart(event: ((event: GestureEvent) => void)): PinchGestureInterface onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureInterface diff --git a/arkoala/arkui/src/generated/ArkPixelMapDrawableDescriptorMaterialized.ts b/arkoala/arkui/src/generated/ArkPixelMapDrawableDescriptorMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..cebf397252acf83fde8e39c02d307a7e7471ec98 --- /dev/null +++ b/arkoala/arkui/src/generated/ArkPixelMapDrawableDescriptorMaterialized.ts @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { DrawableDescriptor, DrawableDescriptorInternal } from "./ArkDrawableDescriptorMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class PixelMapDrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): PixelMapDrawableDescriptor { + const obj: PixelMapDrawableDescriptor = new PixelMapDrawableDescriptor(undefined) + obj.peer = new Finalizable(ptr, PixelMapDrawableDescriptor.getFinalizer()) + return obj + } +} +export class PixelMapDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { + static ctor_pixelmapdrawabledescriptor(src?: PixelMap): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let src_type: int32 = RuntimeType.UNDEFINED + src_type = runtimeType(src) + thisSerializer.writeInt8(src_type) + if ((RuntimeType.UNDEFINED) != (src_type)) { + const src_value = src! + thisSerializer.writePixelMap(src_value) + } + const retval = ArkUIGeneratedNativeModule._PixelMapDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(src?: PixelMap) { + super() + const ctorPtr: KPointer = PixelMapDrawableDescriptor.ctor_pixelmapdrawabledescriptor((src)!) + this.peer = new Finalizable(ctorPtr, PixelMapDrawableDescriptor.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PixelMapDrawableDescriptor_getFinalizer() + } +} diff --git a/arkoala/arkui/src/generated/ArkPixelMapMaterialized.ts b/arkoala/arkui/src/generated/ArkPixelMapMaterialized.ts index c7baab7831005c79788dcd0c56d468fe021937de..517399b0dce2492b21cb440fd7e45d884ef304e4 100644 --- a/arkoala/arkui/src/generated/ArkPixelMapMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPixelMapMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface PixelMap { readonly isEditable: boolean readonly isStrideAlignment: boolean diff --git a/arkoala/arkui/src/generated/ArkPixelMapMockMaterialized.ts b/arkoala/arkui/src/generated/ArkPixelMapMockMaterialized.ts index e9ffe16f48b7571285e80dbfcc4fae6dc51fe226..c23af47671ce8336fbacc5af32951f579b8fbba2 100644 --- a/arkoala/arkui/src/generated/ArkPixelMapMockMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkPixelMapMockMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface PixelMapMock { release(): void } diff --git a/arkoala/arkui/src/generated/ArkProfilerNamespace.ts b/arkoala/arkui/src/generated/ArkProfilerNamespace.ts index f202173cddfa2fd5e493ac433f99e28b148aedc6..47c4c816125e3fb47f60cea6933b9070613844f8 100644 --- a/arkoala/arkui/src/generated/ArkProfilerNamespace.ts +++ b/arkoala/arkui/src/generated/ArkProfilerNamespace.ts @@ -16,13 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { GlobalScope } from "./peers/GlobalScope" +import { GlobalScope } from "./GlobalScope" export namespace Profiler { export function registerVsyncCallback(callback_: ((info: string) => void)): void { GlobalScope.Profiler_registerVsyncCallback(callback_) } -} -export namespace Profiler { export function unregisterVsyncCallback(): void { GlobalScope.Profiler_unregisterVsyncCallback() } diff --git a/arkoala/arkui/src/generated/ArkProgressMaskMaterialized.ts b/arkoala/arkui/src/generated/ArkProgressMaskMaterialized.ts index 664c6f334fed0ec9de75d4a0897d1c17f2449bb1..adeec906084b10b866fcfe7d06327a1d0fc1f381 100644 --- a/arkoala/arkui/src/generated/ArkProgressMaskMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkProgressMaskMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ProgressMaskInternal { public static fromPtr(ptr: KPointer): ProgressMask { const obj: ProgressMask = new ProgressMask(undefined, undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkPulseSymbolEffectMaterialized.ts b/arkoala/arkui/src/generated/ArkPulseSymbolEffectMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..47e37ef971a53d5ef6d46f2e273dd9acd96302fd --- /dev/null +++ b/arkoala/arkui/src/generated/ArkPulseSymbolEffectMaterialized.ts @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class PulseSymbolEffectInternal { + public static fromPtr(ptr: KPointer): PulseSymbolEffect { + const obj: PulseSymbolEffect = new PulseSymbolEffect() + obj.peer = new Finalizable(ptr, PulseSymbolEffect.getFinalizer()) + return obj + } +} +export class PulseSymbolEffect extends SymbolEffect implements MaterializedBase { + static ctor_pulsesymboleffect(): KPointer { + const retval = ArkUIGeneratedNativeModule._PulseSymbolEffect_ctor() + return retval + } + constructor() { + super() + const ctorPtr: KPointer = PulseSymbolEffect.ctor_pulsesymboleffect() + this.peer = new Finalizable(ctorPtr, PulseSymbolEffect.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PulseSymbolEffect_getFinalizer() + } +} diff --git a/arkoala/arkui/src/generated/ArkRectShapeMaterialized.ts b/arkoala/arkui/src/generated/ArkRectShapeMaterialized.ts index 37ab93d6bb24aa73c55dfe62e98d7c906f3d4b27..e3230bdad280c2a6479043b21f86db6cf0cbee0f 100644 --- a/arkoala/arkui/src/generated/ArkRectShapeMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkRectShapeMaterialized.ts @@ -24,10 +24,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class RectShapeInternal { public static fromPtr(ptr: KPointer): RectShape { const obj: RectShape = new RectShape(undefined) diff --git a/arkoala/arkui/src/generated/ArkRenderingContextSettingsMaterialized.ts b/arkoala/arkui/src/generated/ArkRenderingContextSettingsMaterialized.ts index a2f7b8f319ce985a76f4d77b34fbe9dddf040628..022acbc916194c2e240fd462412df60add4dd0ab 100644 --- a/arkoala/arkui/src/generated/ArkRenderingContextSettingsMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkRenderingContextSettingsMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class RenderingContextSettingsInternal { public static fromPtr(ptr: KPointer): RenderingContextSettings { const obj: RenderingContextSettings = new RenderingContextSettings(undefined) diff --git a/arkoala/arkui/src/generated/ArkReplaceSymbolEffectMaterialized.ts b/arkoala/arkui/src/generated/ArkReplaceSymbolEffectMaterialized.ts index cb43908d8d296494063ee47e33db15076306793f..3a7362262ded4d161211517555e32d39317cb517 100644 --- a/arkoala/arkui/src/generated/ArkReplaceSymbolEffectMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkReplaceSymbolEffectMaterialized.ts @@ -16,15 +16,15 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope } from "./ArkArkuiExternalInterfaces" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ReplaceSymbolEffectInternal { public static fromPtr(ptr: KPointer): ReplaceSymbolEffect { const obj: ReplaceSymbolEffect = new ReplaceSymbolEffect(undefined) @@ -32,11 +32,7 @@ export class ReplaceSymbolEffectInternal { return obj } } -export class ReplaceSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class ReplaceSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope { return this.getScope() } @@ -58,6 +54,7 @@ export class ReplaceSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope) { + super() const ctorPtr: KPointer = ReplaceSymbolEffect.ctor_replacesymboleffect((scope)!) this.peer = new Finalizable(ctorPtr, ReplaceSymbolEffect.getFinalizer()) } diff --git a/arkoala/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts index 6fbf234b7e7921ec45d98821240c2549fbe1c9f4..e40c1515a52aed7cb064c113975880c5f0c9b05a 100644 --- a/arkoala/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts @@ -31,10 +31,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class RichEditorBaseControllerInternal { public static fromPtr(ptr: KPointer): RichEditorBaseController { const obj: RichEditorBaseController = new RichEditorBaseController() diff --git a/arkoala/arkui/src/generated/ArkRichEditorControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkRichEditorControllerMaterialized.ts index 46f6f27e240e234e235cfeaa3aa47cd40665afe9..105dffe08b9d397fd119e569b5cb2a17d4583aaa 100644 --- a/arkoala/arkui/src/generated/ArkRichEditorControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkRichEditorControllerMaterialized.ts @@ -43,10 +43,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class RichEditorControllerInternal { public static fromPtr(ptr: KPointer): RichEditorController { const obj: RichEditorController = new RichEditorController() diff --git a/arkoala/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts index 7ad9d1e899c90a41edc2d48ebc95643b2440317e..06c07a8f59805df87a773e5da943c45551eda40b 100644 --- a/arkoala/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts @@ -39,10 +39,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class RichEditorStyledStringControllerInternal { public static fromPtr(ptr: KPointer): RichEditorStyledStringController { const obj: RichEditorStyledStringController = new RichEditorStyledStringController() diff --git a/arkoala/arkui/src/generated/ArkRotationGestureEventMaterialized.ts b/arkoala/arkui/src/generated/ArkRotationGestureEventMaterialized.ts index 56ad4f45eb26b5f39ac2fc251cc9e5e1645f4641..2f9ae6f1b84ec1c9263d03ef74c63844d1fc1acd 100644 --- a/arkoala/arkui/src/generated/ArkRotationGestureEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkRotationGestureEventMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface RotationGestureEvent { angle: number } diff --git a/arkoala/arkui/src/generated/ArkRotationGestureInterfaceMaterialized.ts b/arkoala/arkui/src/generated/ArkRotationGestureInterfaceMaterialized.ts index 0a0594c8bf45381181d622308de99525470dee43..487e147c2daf2a2b3c1ec524873c7b61dfbe494d 100644 --- a/arkoala/arkui/src/generated/ArkRotationGestureInterfaceMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkRotationGestureInterfaceMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface RotationGestureInterface { onActionStart(event: ((event: GestureEvent) => void)): RotationGestureInterface onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureInterface diff --git a/arkoala/arkui/src/generated/ArkScaleSymbolEffectMaterialized.ts b/arkoala/arkui/src/generated/ArkScaleSymbolEffectMaterialized.ts index 30c063aeef2c27157e534ee3b8ae129c540432f8..7e76c313a69ac47460b895466eb3a5e75148fdaa 100644 --- a/arkoala/arkui/src/generated/ArkScaleSymbolEffectMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkScaleSymbolEffectMaterialized.ts @@ -16,15 +16,15 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { SymbolEffect, EffectScope, EffectDirection } from "./ArkArkuiExternalInterfaces" +import { SymbolEffect, SymbolEffectInternal } from "./ArkSymbolEffectMaterialized" +import { EffectScope, EffectDirection } from "./ArkArkuiExternalInterfaces" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ScaleSymbolEffectInternal { public static fromPtr(ptr: KPointer): ScaleSymbolEffect { const obj: ScaleSymbolEffect = new ScaleSymbolEffect(undefined, undefined) @@ -32,11 +32,7 @@ export class ScaleSymbolEffectInternal { return obj } } -export class ScaleSymbolEffect implements MaterializedBase,SymbolEffect { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } +export class ScaleSymbolEffect extends SymbolEffect implements MaterializedBase { get scope(): EffectScope { return this.getScope() } @@ -72,6 +68,7 @@ export class ScaleSymbolEffect implements MaterializedBase,SymbolEffect { return retval } constructor(scope?: EffectScope, direction?: EffectDirection) { + super() const ctorPtr: KPointer = ScaleSymbolEffect.ctor_scalesymboleffect((scope)!, (direction)!) this.peer = new Finalizable(ctorPtr, ScaleSymbolEffect.getFinalizer()) } diff --git a/arkoala/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts b/arkoala/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts index f9b2d767fdd322937f046d6bae2835bcb50ef9d0..67a0fa31b6d13569fd1b9556803412adf75ce01b 100644 --- a/arkoala/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ScreenCaptureHandlerInternal { public static fromPtr(ptr: KPointer): ScreenCaptureHandler { const obj: ScreenCaptureHandler = new ScreenCaptureHandler() diff --git a/arkoala/arkui/src/generated/ArkScrollMotionMaterialized.ts b/arkoala/arkui/src/generated/ArkScrollMotionMaterialized.ts index f32a40c401bd5f50f40f38af0117d581d15b3356..4b57f23ebba5e4d4286d3fe22a474d55d1a8cc00 100644 --- a/arkoala/arkui/src/generated/ArkScrollMotionMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkScrollMotionMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ScrollMotionInternal { public static fromPtr(ptr: KPointer): ScrollMotion { const obj: ScrollMotion = new ScrollMotion(undefined, undefined, undefined, undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts b/arkoala/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts index d8b73dcaf62356559060b520e1e6c72f44e389f7..bc4d582136b7457456ddf27f94f989fa80a92876 100644 --- a/arkoala/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ScrollableTargetInfoInternal { public static fromPtr(ptr: KPointer): ScrollableTargetInfo { const obj: ScrollableTargetInfo = new ScrollableTargetInfo() diff --git a/arkoala/arkui/src/generated/ArkScrollerMaterialized.ts b/arkoala/arkui/src/generated/ArkScrollerMaterialized.ts index c9cdb856ba71743956045ac2c95ee5e14eec245e..82e346905b0543e04c13980ee02cbabd939a9a8a 100644 --- a/arkoala/arkui/src/generated/ArkScrollerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkScrollerMaterialized.ts @@ -28,10 +28,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ScrollerInternal { public static fromPtr(ptr: KPointer): Scroller { const obj: Scroller = new Scroller() diff --git a/arkoala/arkui/src/generated/ArkSearchControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkSearchControllerMaterialized.ts index 616b0c0e0a3d70c21849ed3a8adacee254e5898c..121027e259fe94b25e3e523abf9b9b9c74d25d60 100644 --- a/arkoala/arkui/src/generated/ArkSearchControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSearchControllerMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SearchControllerInternal { public static fromPtr(ptr: KPointer): SearchController { const obj: SearchController = new SearchController() diff --git a/arkoala/arkui/src/generated/ArkSpringMotionMaterialized.ts b/arkoala/arkui/src/generated/ArkSpringMotionMaterialized.ts index 0416387abee0acc4b5253e0778da7bdc6fd1e232..85344dddb8bab999179396c2a0bcd998772a56dd 100644 --- a/arkoala/arkui/src/generated/ArkSpringMotionMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSpringMotionMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SpringMotionInternal { public static fromPtr(ptr: KPointer): SpringMotion { const obj: SpringMotion = new SpringMotion(undefined, undefined, undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkSpringPropMaterialized.ts b/arkoala/arkui/src/generated/ArkSpringPropMaterialized.ts index 4c47c0604ca6184b07717a2c5ca72fa24e77c26f..d1f439ee09dd25297d079aca674e312b717b5ef5 100644 --- a/arkoala/arkui/src/generated/ArkSpringPropMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSpringPropMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SpringPropInternal { public static fromPtr(ptr: KPointer): SpringProp { const obj: SpringProp = new SpringProp(undefined, undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts b/arkoala/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts index f89d0b9ba80d5790f0932a62c2ac29cf47457749..50c6e372593130a589a8e7841650f44addea12f8 100644 --- a/arkoala/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SslErrorHandlerInternal { public static fromPtr(ptr: KPointer): SslErrorHandler { const obj: SslErrorHandler = new SslErrorHandler() diff --git a/arkoala/arkui/src/generated/ArkStyledStringControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkStyledStringControllerMaterialized.ts index bbc9e5275cef3aab23a46a18cb0bb28a2b9463f6..3459c26d13fbc5df4948259589b21489d00c0258 100644 --- a/arkoala/arkui/src/generated/ArkStyledStringControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkStyledStringControllerMaterialized.ts @@ -48,10 +48,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface StyledStringController { setStyledString(styledString: StyledString): void getStyledString(): MutableStyledString diff --git a/arkoala/arkui/src/generated/ArkStyledStringMaterialized.ts b/arkoala/arkui/src/generated/ArkStyledStringMaterialized.ts index 23574f983f6233d5c28317028f45b82dfeeadbe3..0fbcc0fc7eb95931adbbf5fa20cff9e5a59eab11 100644 --- a/arkoala/arkui/src/generated/ArkStyledStringMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkStyledStringMaterialized.ts @@ -30,10 +30,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class StyledStringInternal { public static fromPtr(ptr: KPointer): StyledString { const obj: StyledString = new StyledString(undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkSubmitEventMaterialized.ts b/arkoala/arkui/src/generated/ArkSubmitEventMaterialized.ts index 748b6e7eb4c55468db07e497be4a71daf61b5721..a1bc3c62139a93b328443d9f0af5fdd43a1d43b9 100644 --- a/arkoala/arkui/src/generated/ArkSubmitEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSubmitEventMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface SubmitEvent { text: string keepEditableState(): void diff --git a/arkoala/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts b/arkoala/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts index 59aa7cca409607982882a175278d1b63cb0f4f1a..856c4818eba8e79fbf7d036818dad669dcd69798 100644 --- a/arkoala/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface SwipeGestureEvent { angle: number speed: number diff --git a/arkoala/arkui/src/generated/ArkSwipeGestureInterfaceMaterialized.ts b/arkoala/arkui/src/generated/ArkSwipeGestureInterfaceMaterialized.ts index 2ef20433bafe0d664569be1a103259195ba131dc..e86290b704dedef3b96b7bf8bcf1858b83c5a878 100644 --- a/arkoala/arkui/src/generated/ArkSwipeGestureInterfaceMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSwipeGestureInterfaceMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface SwipeGestureInterface { onAction(event: ((event: GestureEvent) => void)): SwipeGestureInterface } diff --git a/arkoala/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts b/arkoala/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts index 3f48ab89aa57cc637e6757264e924026c0e2164d..c7841b07710b2256f6d2d8c529f69d914b560b2a 100644 --- a/arkoala/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface SwiperContentTransitionProxy { selectedIndex: number index: number diff --git a/arkoala/arkui/src/generated/ArkSwiperControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkSwiperControllerMaterialized.ts index 5df98a481b23aa35d583caf56c5ce1076d4a9040..1f206832a6f14b41d9bb4cd48a20bb28fb1348d5 100644 --- a/arkoala/arkui/src/generated/ArkSwiperControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSwiperControllerMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SwiperControllerInternal { public static fromPtr(ptr: KPointer): SwiperController { const obj: SwiperController = new SwiperController() diff --git a/arkoala/arkui/src/generated/ArkSymbolEffectMaterialized.ts b/arkoala/arkui/src/generated/ArkSymbolEffectMaterialized.ts new file mode 100644 index 0000000000000000000000000000000000000000..4e98b0e6b90fa04aba0f84a64d6f364a4a645717 --- /dev/null +++ b/arkoala/arkui/src/generated/ArkSymbolEffectMaterialized.ts @@ -0,0 +1,56 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing 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, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class SymbolEffectInternal { + public static fromPtr(ptr: KPointer): SymbolEffect { + const obj: SymbolEffect = new SymbolEffect() + obj.peer = new Finalizable(ptr, SymbolEffect.getFinalizer()) + return obj + } +} +export class SymbolEffect implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_symboleffect(): KPointer { + const retval = ArkUIGeneratedNativeModule._SymbolEffect_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = SymbolEffect.ctor_symboleffect() + this.peer = new Finalizable(ctorPtr, SymbolEffect.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SymbolEffect_getFinalizer() + } + public dummyForAccessorGenerate(): void { + this?.dummyForAccessorGenerate_serialize() + return + } + private dummyForAccessorGenerate_serialize(): void { + ArkUIGeneratedNativeModule._SymbolEffect_dummyForAccessorGenerate(this.peer!.ptr) + } +} diff --git a/arkoala/arkui/src/generated/ArkSymbolglyph.ts b/arkoala/arkui/src/generated/ArkSymbolglyph.ts index 91c4361156700d5faac1796667557b7e2a1c91f6..a5e9f2161fa125930b4dcc9ccffac44c8b242be5 100644 --- a/arkoala/arkui/src/generated/ArkSymbolglyph.ts +++ b/arkoala/arkui/src/generated/ArkSymbolglyph.ts @@ -48,7 +48,7 @@ import { PinchGestureInterface } from "./ArkPinchGestureInterfaceMaterialized" import { SwipeGestureInterface } from "./ArkSwipeGestureInterfaceMaterialized" import { RotationGestureInterface } from "./ArkRotationGestureInterfaceMaterialized" import { GestureGroupInterface } from "./ArkGestureGroupInterfaceMaterialized" -import { LengthUnit, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, SymbolEffect } from "./ArkArkuiExternalInterfaces" +import { LengthUnit, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions } from "./ArkArkuiExternalInterfaces" import { ClickEvent } from "./ArkClickEventMaterialized" import { HoverEvent } from "./ArkHoverEventMaterialized" import { MouseEvent } from "./ArkMouseEventMaterialized" @@ -64,6 +64,7 @@ import { UnifiedData } from "./ArkUnifiedDataMaterialized" import { GestureControl } from "./ArkGestureControlNamespace" import { GestureEvent } from "./ArkGestureEventMaterialized" import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphAttribute } from "./ArkSymbolglyphInterfaces" +import { SymbolEffect } from "./ArkSymbolEffectMaterialized" /** @memo:stable */ export class ArkSymbolGlyphComponent extends ArkCommonMethodComponent { protected getPeer(): ArkSymbolGlyphPeer { diff --git a/arkoala/arkui/src/generated/ArkSymbolglyphInterfaces.ts b/arkoala/arkui/src/generated/ArkSymbolglyphInterfaces.ts index e3f37e0708b7cc478c376bf4720ccd2b53978f44..141e922f5902f5161fc00e8598f0ca5d09a226b6 100644 --- a/arkoala/arkui/src/generated/ArkSymbolglyphInterfaces.ts +++ b/arkoala/arkui/src/generated/ArkSymbolglyphInterfaces.ts @@ -44,7 +44,7 @@ import { PinchGestureInterface } from "./ArkPinchGestureInterfaceMaterialized" import { SwipeGestureInterface } from "./ArkSwipeGestureInterfaceMaterialized" import { RotationGestureInterface } from "./ArkRotationGestureInterfaceMaterialized" import { GestureGroupInterface } from "./ArkGestureGroupInterfaceMaterialized" -import { LengthUnit, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, SymbolEffect } from "./ArkArkuiExternalInterfaces" +import { LengthUnit, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions } from "./ArkArkuiExternalInterfaces" import { ClickEvent } from "./ArkClickEventMaterialized" import { HoverEvent } from "./ArkHoverEventMaterialized" import { MouseEvent } from "./ArkMouseEventMaterialized" @@ -59,6 +59,7 @@ import { BaseEvent } from "./ArkBaseEventMaterialized" import { UnifiedData } from "./ArkUnifiedDataMaterialized" import { GestureControl } from "./ArkGestureControlNamespace" import { GestureEvent } from "./ArkGestureEventMaterialized" +import { SymbolEffect } from "./ArkSymbolEffectMaterialized" export type SymbolGlyphInterface = (value?: Resource) => SymbolGlyphAttribute; export enum SymbolRenderingStrategy { SINGLE, @@ -74,8 +75,6 @@ export enum EffectFillStyle { CUMULATIVE, ITERATIVE = 1, } -export interface PulseSymbolEffect extends SymbolEffect { -} export interface SymbolGlyphAttribute extends CommonMethod { fontSize: number | string | Resource; fontColor: Array; diff --git a/arkoala/arkui/src/generated/ArkSystemOpsMaterialized.ts b/arkoala/arkui/src/generated/ArkSystemOpsMaterialized.ts index 18a1be382fb7a2907726535e9434bcfc766ab377..f6225387e7d47b5b2fb0094c2b65f26093b738bf 100644 --- a/arkoala/arkui/src/generated/ArkSystemOpsMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkSystemOpsMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SystemOps { public static StartFrame(): KPointer { return SystemOps.StartFrame_serialize() @@ -42,6 +41,12 @@ export class SystemOps { SystemOps.restoreInstanceId_serialize() return } + public static getResourceId(bundleName: string, moduleName: string, params: Array): int32 { + const bundleName_casted = bundleName as (string) + const moduleName_casted = moduleName as (string) + const params_casted = params as (Array) + return SystemOps.getResourceId_serialize(bundleName_casted, moduleName_casted, params_casted) + } private static StartFrame_serialize(): KPointer { const retval = ArkUIGeneratedNativeModule._SystemOps_StartFrame() return retval @@ -55,4 +60,15 @@ export class SystemOps { private static restoreInstanceId_serialize(): void { ArkUIGeneratedNativeModule._SystemOps_restoreInstanceId() } + private static getResourceId_serialize(bundleName: string, moduleName: string, params: Array): int32 { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(params.length) + for (let i = 0; i < params.length; i++) { + const params_element: string = params[i] + thisSerializer.writeString(params_element) + } + const retval = ArkUIGeneratedNativeModule._SystemOps_getResourceId(bundleName, moduleName, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } } diff --git a/arkoala/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts b/arkoala/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts index 4f23e6702e1ccc3c75b82bccd9c5810096ee0178..098aec74e36d2c80827d98f5a9a7b78a4eab4df2 100644 --- a/arkoala/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface TabContentTransitionProxy { from: number to: number diff --git a/arkoala/arkui/src/generated/ArkTabsControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkTabsControllerMaterialized.ts index 43b613c864617fc22163060f6203dd6b279eced1..6ab70d053fdb5ec28625226360dac1846b4f7c26 100644 --- a/arkoala/arkui/src/generated/ArkTabsControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTabsControllerMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TabsControllerInternal { public static fromPtr(ptr: KPointer): TabsController { const obj: TabsController = new TabsController() diff --git a/arkoala/arkui/src/generated/ArkTapGestureEventMaterialized.ts b/arkoala/arkui/src/generated/ArkTapGestureEventMaterialized.ts index acb9bb5232a2dd49d15d9ccf2eb81fa869f18f3a..f340d88502cd8ef697396ea525689b637f07516b 100644 --- a/arkoala/arkui/src/generated/ArkTapGestureEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTapGestureEventMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface TapGestureEvent { } export class TapGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,TapGestureEvent { diff --git a/arkoala/arkui/src/generated/ArkTapGestureInterfaceMaterialized.ts b/arkoala/arkui/src/generated/ArkTapGestureInterfaceMaterialized.ts index 62d0392eeb5031ac91cb2cd33c440f03e758558f..d5616a72595cceedad14727345b5b216b6c330fb 100644 --- a/arkoala/arkui/src/generated/ArkTapGestureInterfaceMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTapGestureInterfaceMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface TapGestureInterface { onAction(event: ((event: GestureEvent) => void)): TapGestureInterface } diff --git a/arkoala/arkui/src/generated/ArkTextAreaControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkTextAreaControllerMaterialized.ts index f0171c3846805d5c66f9ead3b0543b91c0c82c5a..9fdf26a363fa9a9dd6b84cc7a54b17181798f8b5 100644 --- a/arkoala/arkui/src/generated/ArkTextAreaControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextAreaControllerMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextAreaControllerInternal { public static fromPtr(ptr: KPointer): TextAreaController { const obj: TextAreaController = new TextAreaController() diff --git a/arkoala/arkui/src/generated/ArkTextBaseControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkTextBaseControllerMaterialized.ts index 3d7e2f2f11870ab6d6b32f520980eaa32820323e..3abdab56c8cf6c8ad9b0d6dc0bddd5732d0ff513 100644 --- a/arkoala/arkui/src/generated/ArkTextBaseControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextBaseControllerMaterialized.ts @@ -24,12 +24,11 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface TextBaseController { - setSelection(selectionStart: number, selectionEnd: number, options: SelectionOptions): void + setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void closeSelectionMenu(): void getLayoutManager(): LayoutManager } diff --git a/arkoala/arkui/src/generated/ArkTextClockControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkTextClockControllerMaterialized.ts index 2f9588d7acaa983e0a8aa33c3ee9449760b905b2..bf0f6202fdf0d27c3764fb2cb99f9fe81d875542 100644 --- a/arkoala/arkui/src/generated/ArkTextClockControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextClockControllerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextClockControllerInternal { public static fromPtr(ptr: KPointer): TextClockController { const obj: TextClockController = new TextClockController() diff --git a/arkoala/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts b/arkoala/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts index 20214aefc70cf75f4593e853c7eedf1dec561405..6a44c03eeb2444231e1ad14abed9b14522d9cae6 100644 --- a/arkoala/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextContentControllerBaseInternal { public static fromPtr(ptr: KPointer): TextContentControllerBase { const obj: TextContentControllerBase = new TextContentControllerBase() diff --git a/arkoala/arkui/src/generated/ArkTextControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkTextControllerMaterialized.ts index 67c11a28497515ebeae90b97a9a54f6b8044cfac..f02b628965422dd9bc2e9d5089341ead04bd67e9 100644 --- a/arkoala/arkui/src/generated/ArkTextControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextControllerMaterialized.ts @@ -33,10 +33,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextControllerInternal { public static fromPtr(ptr: KPointer): TextController { const obj: TextController = new TextController() diff --git a/arkoala/arkui/src/generated/ArkTextEditControllerExMaterialized.ts b/arkoala/arkui/src/generated/ArkTextEditControllerExMaterialized.ts index 92724ff40e2726e7747a0b16d1c975c808d59231..fa1e0ed1d1aa4178fe92284f520352f5e9ecb12e 100644 --- a/arkoala/arkui/src/generated/ArkTextEditControllerExMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextEditControllerExMaterialized.ts @@ -25,10 +25,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface TextEditControllerEx { isEditing(): boolean stopEditing(): void diff --git a/arkoala/arkui/src/generated/ArkTextInputControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkTextInputControllerMaterialized.ts index b551d4eb624e7e80568c974e991259449350042b..8d58694e8d6d8639c8b3f883f263093bfd3594a5 100644 --- a/arkoala/arkui/src/generated/ArkTextInputControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextInputControllerMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextInputControllerInternal { public static fromPtr(ptr: KPointer): TextInputController { const obj: TextInputController = new TextInputController() diff --git a/arkoala/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts b/arkoala/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts index a21cacb1d7eb805472e88f0e435e6f37ef562b7e..4d6dde0feda1081d0fd38b6373d335bce82d4ff4 100644 --- a/arkoala/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextMenuItemIdInternal { public static fromPtr(ptr: KPointer): TextMenuItemId { const obj: TextMenuItemId = new TextMenuItemId() diff --git a/arkoala/arkui/src/generated/ArkTextPickerDialogMaterialized.ts b/arkoala/arkui/src/generated/ArkTextPickerDialogMaterialized.ts index 050a86dc1ec461af2dc035d323fda8c11f52a892..a341a9eed822e16c15a59847182b54ffdfd19325 100644 --- a/arkoala/arkui/src/generated/ArkTextPickerDialogMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextPickerDialogMaterialized.ts @@ -27,10 +27,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextPickerDialog { public static show(options?: TextPickerDialogOptions): undefined { const options_casted = options as (TextPickerDialogOptions | undefined) diff --git a/arkoala/arkui/src/generated/ArkTextShadowStyleMaterialized.ts b/arkoala/arkui/src/generated/ArkTextShadowStyleMaterialized.ts index 0bb27a6b8204f302a393ed0895ae23d8c5e1c471..5fca1875f59603ed6a1e720edab396debd29c87d 100644 --- a/arkoala/arkui/src/generated/ArkTextShadowStyleMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextShadowStyleMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextShadowStyleInternal { public static fromPtr(ptr: KPointer): TextShadowStyle { const obj: TextShadowStyle = new TextShadowStyle(undefined) diff --git a/arkoala/arkui/src/generated/ArkTextStyleStyledStringMaterialized.ts b/arkoala/arkui/src/generated/ArkTextStyleStyledStringMaterialized.ts index 428bd3a830ad8bcbc239ed53b616115efc596c65..2e31064a9178820fc1966b5c475b5256acd1b907 100644 --- a/arkoala/arkui/src/generated/ArkTextStyleStyledStringMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextStyleStyledStringMaterialized.ts @@ -26,10 +26,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextStyle_styled_stringInternal { public static fromPtr(ptr: KPointer): TextStyle_styled_string { const obj: TextStyle_styled_string = new TextStyle_styled_string(undefined) diff --git a/arkoala/arkui/src/generated/ArkTextTimerControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkTextTimerControllerMaterialized.ts index fab4a10d72f40af86075aa46024054ccb51f3040..24c533944a1013c2fab9e94442edc7d2735046f7 100644 --- a/arkoala/arkui/src/generated/ArkTextTimerControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTextTimerControllerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextTimerControllerInternal { public static fromPtr(ptr: KPointer): TextTimerController { const obj: TextTimerController = new TextTimerController() diff --git a/arkoala/arkui/src/generated/ArkTimePickerDialogMaterialized.ts b/arkoala/arkui/src/generated/ArkTimePickerDialogMaterialized.ts index adf87638e8a444a57cebf73cb6b37a35f5c7fd64..e7575796582cd444586c6b7f46f846d03683c588 100644 --- a/arkoala/arkui/src/generated/ArkTimePickerDialogMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTimePickerDialogMaterialized.ts @@ -27,10 +27,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TimePickerDialog { public static show(options?: TimePickerDialogOptions): undefined { const options_casted = options as (TimePickerDialogOptions | undefined) diff --git a/arkoala/arkui/src/generated/ArkTouchEventMaterialized.ts b/arkoala/arkui/src/generated/ArkTouchEventMaterialized.ts index 58b72af164478ed55444ea33d047666b8e8fd284..0b3dfea4d750a84391b3cb2045019f77ed2acc8c 100644 --- a/arkoala/arkui/src/generated/ArkTouchEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTouchEventMaterialized.ts @@ -25,10 +25,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface TouchEvent { type: TouchType touches: Array diff --git a/arkoala/arkui/src/generated/ArkTransitionEffectMaterialized.ts b/arkoala/arkui/src/generated/ArkTransitionEffectMaterialized.ts index 2e055895cb8696939cdc5f782dad3cb6d5a06840..3c4a036cea83b37554fb99f3ca83d6068454d1a9 100644 --- a/arkoala/arkui/src/generated/ArkTransitionEffectMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkTransitionEffectMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TransitionEffectInternal { public static fromPtr(ptr: KPointer): TransitionEffect { const obj: TransitionEffect = new TransitionEffect(undefined, undefined) diff --git a/arkoala/arkui/src/generated/ArkUICommonEventMaterialized.ts b/arkoala/arkui/src/generated/ArkUICommonEventMaterialized.ts index b62cd57dc8dc28ea4748f0e85a36d8d9e0113f65..4b5b32caa5b2fac924b6aebff36c011f7a573547 100644 --- a/arkoala/arkui/src/generated/ArkUICommonEventMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkUICommonEventMaterialized.ts @@ -29,10 +29,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface UICommonEvent { setOnClick(callback_?: ((event: ClickEvent) => void)): void setOnTouch(callback_?: ((event: TouchEvent) => void)): void diff --git a/arkoala/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts b/arkoala/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts index f7e699aaf4dbe77c1802578409649405c682fa76..80c1e19bcdabf6c6c9623e6ded5c016518741a00 100644 --- a/arkoala/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts @@ -20,17 +20,16 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export interface UIExtensionProxy { send(data: Map): void sendSync(data: Map): Map onAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void onSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void - offAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void - offSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void + offAsyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void + offSyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void } export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionProxy { peer?: Finalizable | undefined = undefined diff --git a/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts b/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts index be07e78aa7870c48c216ff80dbf3695adbffa7e7..412e7859a269bdab57f0f3dc1a71c45e9a86f826 100644 --- a/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts +++ b/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, NativeBuffer, KSerializerBuffer } from "@koalaui/interop" +import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, KSerializerBuffer, loadNativeModuleLibrary, NativeBuffer } from "@koalaui/interop" import { int32, float32 } from "@koalaui/common" import { Length } from "./ArkUnitsInterfaces" @@ -3302,10 +3302,10 @@ export class ArkUIGeneratedNativeModuleEmpty { _SymbolGlyphAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { console.log("_SymbolGlyphAttribute_renderingStrategy") } - _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SymbolGlyphAttribute_symbolEffect0") } - _SymbolGlyphAttribute_symbolEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + _SymbolGlyphAttribute_symbolEffect1(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SymbolGlyphAttribute_symbolEffect1") } _SymbolSpan_construct(id: KInt, flags: KInt): KPointer { @@ -4801,9 +4801,65 @@ export class ArkUIGeneratedNativeModuleEmpty { _SystemOps_restoreInstanceId(): void { console.log("_SystemOps_restoreInstanceId") } + _SystemOps_getResourceId(bundleName: KStringPtr, moduleName: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): int32 { + console.log("_SystemOps_getResourceId") + return 0 + } _FocusController_requestFocus(key: KStringPtr): void { console.log("_FocusController_requestFocus") } + _DrawableDescriptor_ctor(): KPointer { + console.log("_DrawableDescriptor_ctor") + return -1 + } + _DrawableDescriptor_getFinalizer(): KPointer { + console.log("_DrawableDescriptor_getFinalizer") + return -1 + } + _DrawableDescriptor_getPixelMap(ptr: KPointer): KPointer { + console.log("_DrawableDescriptor_getPixelMap") + return -1 + } + _LayeredDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_LayeredDrawableDescriptor_ctor") + return -1 + } + _LayeredDrawableDescriptor_getFinalizer(): KPointer { + console.log("_LayeredDrawableDescriptor_getFinalizer") + return -1 + } + _LayeredDrawableDescriptor_getForeground(ptr: KPointer): KPointer { + console.log("_LayeredDrawableDescriptor_getForeground") + return -1 + } + _LayeredDrawableDescriptor_getBackground(ptr: KPointer): KPointer { + console.log("_LayeredDrawableDescriptor_getBackground") + return -1 + } + _LayeredDrawableDescriptor_getMask(ptr: KPointer): KPointer { + console.log("_LayeredDrawableDescriptor_getMask") + return -1 + } + _LayeredDrawableDescriptor_getMaskClipPath(): string { + console.log("_LayeredDrawableDescriptor_getMaskClipPath") + return "" + } + _PixelMapDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_PixelMapDrawableDescriptor_ctor") + return -1 + } + _PixelMapDrawableDescriptor_getFinalizer(): KPointer { + console.log("_PixelMapDrawableDescriptor_getFinalizer") + return -1 + } + _AnimatedDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_AnimatedDrawableDescriptor_ctor") + return -1 + } + _AnimatedDrawableDescriptor_getFinalizer(): KPointer { + console.log("_AnimatedDrawableDescriptor_getFinalizer") + return -1 + } _DrawingCanvas_ctor(pixelmap: KPointer): KPointer { console.log("_DrawingCanvas_ctor") return -1 @@ -5122,6 +5178,17 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_GlobalScope_ohos_measure_utils_measureTextSize") return new Uint8Array() } + _SymbolEffect_ctor(): KPointer { + console.log("_SymbolEffect_ctor") + return -1 + } + _SymbolEffect_getFinalizer(): KPointer { + console.log("_SymbolEffect_getFinalizer") + return -1 + } + _SymbolEffect_dummyForAccessorGenerate(ptr: KPointer): void { + console.log("_SymbolEffect_dummyForAccessorGenerate") + } _ScaleSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { console.log("_ScaleSymbolEffect_ctor") return -1 @@ -7808,6 +7875,14 @@ export class ArkUIGeneratedNativeModuleEmpty { _BounceSymbolEffect_setDirection(ptr: KPointer, direction: KInt): void { console.log("_BounceSymbolEffect_setDirection") } + _PulseSymbolEffect_ctor(): KPointer { + console.log("_PulseSymbolEffect_ctor") + return -1 + } + _PulseSymbolEffect_getFinalizer(): KPointer { + console.log("_PulseSymbolEffect_getFinalizer") + return -1 + } _TabsController_ctor(): KPointer { console.log("_TabsController_ctor") return -1 diff --git a/arkoala/arkui/src/generated/ArkUnifiedDataMaterialized.ts b/arkoala/arkui/src/generated/ArkUnifiedDataMaterialized.ts index c8d0913f45c29666ab82cc625070e4028ac71b4d..9513442e17a8e661a29b9ab6868fb7fb2600042c 100644 --- a/arkoala/arkui/src/generated/ArkUnifiedDataMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkUnifiedDataMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class UnifiedDataInternal { public static fromPtr(ptr: KPointer): UnifiedData { const obj: UnifiedData = new UnifiedData() diff --git a/arkoala/arkui/src/generated/ArkUnitsInterfaces.ts b/arkoala/arkui/src/generated/ArkUnitsInterfaces.ts index 1edae38264753fe1e6e6735106d855dbfeee436c..458d331bef5f0d3ba4841e3539240f9be182bbfd 100644 --- a/arkoala/arkui/src/generated/ArkUnitsInterfaces.ts +++ b/arkoala/arkui/src/generated/ArkUnitsInterfaces.ts @@ -186,10 +186,6 @@ export interface MarkStyle { size?: Length; strokeWidth?: Length; } -export interface TouchPoint { - x: Dimension; - y: Dimension; -} export interface DirectionalEdgesT { start: number; end: number; diff --git a/arkoala/arkui/src/generated/ArkUrlStyleMaterialized.ts b/arkoala/arkui/src/generated/ArkUrlStyleMaterialized.ts index c701fbf7a039de25ef81409ed390d4082c771ed7..8f28523afab67c8f854eb4650eff94a568e8ddec 100644 --- a/arkoala/arkui/src/generated/ArkUrlStyleMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkUrlStyleMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class UrlStyleInternal { public static fromPtr(ptr: KPointer): UrlStyle { const obj: UrlStyle = new UrlStyle(undefined) diff --git a/arkoala/arkui/src/generated/ArkVideoControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkVideoControllerMaterialized.ts index 5b0d7574cf5a695066cae9d73146a2053783240e..44468f99e01ccfd6c87a88e467d5b06a93c9c8d8 100644 --- a/arkoala/arkui/src/generated/ArkVideoControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkVideoControllerMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class VideoControllerInternal { public static fromPtr(ptr: KPointer): VideoController { const obj: VideoController = new VideoController() diff --git a/arkoala/arkui/src/generated/ArkViewMaterialized.ts b/arkoala/arkui/src/generated/ArkViewMaterialized.ts index 0f1ec49ed9bec6c7f27113492d6238bd4521b8f4..5194dea2d54c480295c5337f6f00af745daf126a 100644 --- a/arkoala/arkui/src/generated/ArkViewMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkViewMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ViewInternal { public static fromPtr(ptr: KPointer): View { const obj: View = new View() diff --git a/arkoala/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts b/arkoala/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts index 52fc62ccb2062565740418d445233d65655dd7f7..788960fe50811eaf08f2dc45b5ac92fae48b703e 100644 --- a/arkoala/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WaterFlowSectionsInternal { public static fromPtr(ptr: KPointer): WaterFlowSections { const obj: WaterFlowSections = new WaterFlowSections() diff --git a/arkoala/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts b/arkoala/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts index 48cd77a2cc25f0d02349e77a74b63ba4ec299bf7..3c29be00f4534dbf3485fc9ee7ee8d60483c82fc 100644 --- a/arkoala/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebContextMenuParamInternal { public static fromPtr(ptr: KPointer): WebContextMenuParam { const obj: WebContextMenuParam = new WebContextMenuParam() diff --git a/arkoala/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts b/arkoala/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts index e04563e0819a215adcde65d6ab3af22080045ede..d3d4b267a294c07ccf02b0d2de8d078c8de5249d 100644 --- a/arkoala/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebContextMenuResultInternal { public static fromPtr(ptr: KPointer): WebContextMenuResult { const obj: WebContextMenuResult = new WebContextMenuResult() diff --git a/arkoala/arkui/src/generated/ArkWebControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkWebControllerMaterialized.ts index fd8d4fda6cde9b95336fb59e4d3736a6e4477f6a..7436fd1f1d32433140f3947b07b191aba2c99fdd 100644 --- a/arkoala/arkui/src/generated/ArkWebControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWebControllerMaterialized.ts @@ -23,10 +23,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebControllerInternal { public static fromPtr(ptr: KPointer): WebController { const obj: WebController = new WebController() diff --git a/arkoala/arkui/src/generated/ArkWebCookieMaterialized.ts b/arkoala/arkui/src/generated/ArkWebCookieMaterialized.ts index c1b94bce48a3910699d960fe7789565b2e7ee903..0cee8619107defe641c18b1894161607b9ff2653 100644 --- a/arkoala/arkui/src/generated/ArkWebCookieMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWebCookieMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebCookieInternal { public static fromPtr(ptr: KPointer): WebCookie { const obj: WebCookie = new WebCookie() diff --git a/arkoala/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts index 57d18dbc1f713cde3e929828fccaef56b68490f1..66086569b1f8a3e9a6e7ce540da4a7d8e95972fa 100644 --- a/arkoala/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebKeyboardControllerInternal { public static fromPtr(ptr: KPointer): WebKeyboardController { const obj: WebKeyboardController = new WebKeyboardController() diff --git a/arkoala/arkui/src/generated/ArkWebResourceErrorMaterialized.ts b/arkoala/arkui/src/generated/ArkWebResourceErrorMaterialized.ts index 13732b3cd07b50c0e5fe94e5d60bdd18cef73770..81a2b2b3700ec18b18a7cbe6bdab580eb165b5f2 100644 --- a/arkoala/arkui/src/generated/ArkWebResourceErrorMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWebResourceErrorMaterialized.ts @@ -20,10 +20,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebResourceErrorInternal { public static fromPtr(ptr: KPointer): WebResourceError { const obj: WebResourceError = new WebResourceError() diff --git a/arkoala/arkui/src/generated/ArkWebResourceRequestMaterialized.ts b/arkoala/arkui/src/generated/ArkWebResourceRequestMaterialized.ts index a6654c4a5a69bb16e321b3b35f215ce11492c53e..a4e0e167167f79cd39944e40c9f31343a31db4f4 100644 --- a/arkoala/arkui/src/generated/ArkWebResourceRequestMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWebResourceRequestMaterialized.ts @@ -21,10 +21,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebResourceRequestInternal { public static fromPtr(ptr: KPointer): WebResourceRequest { const obj: WebResourceRequest = new WebResourceRequest() diff --git a/arkoala/arkui/src/generated/ArkWebResourceResponseMaterialized.ts b/arkoala/arkui/src/generated/ArkWebResourceResponseMaterialized.ts index 49909347daf36cec8adf0537ded8de1c2f366bb0..a68637238b49dda600436c0e3f54394ad9721b70 100644 --- a/arkoala/arkui/src/generated/ArkWebResourceResponseMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWebResourceResponseMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebResourceResponseInternal { public static fromPtr(ptr: KPointer): WebResourceResponse { const obj: WebResourceResponse = new WebResourceResponse() diff --git a/arkoala/arkui/src/generated/ArkWebviewControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkWebviewControllerMaterialized.ts index 83bb01f53938c9f80cc89fe0b440531d9cc27060..d78bcef8425735fe517168817d60104ee3e3b9bb 100644 --- a/arkoala/arkui/src/generated/ArkWebviewControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkWebviewControllerMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebviewControllerInternal { public static fromPtr(ptr: KPointer): WebviewController { const obj: WebviewController = new WebviewController() diff --git a/arkoala/arkui/src/generated/ArkXComponentControllerMaterialized.ts b/arkoala/arkui/src/generated/ArkXComponentControllerMaterialized.ts index 48a4c823db420680894b48fc5f16b4c4e336c779..b3b9ebed47a765e0613b69632c4e05e2f5f7fdce 100644 --- a/arkoala/arkui/src/generated/ArkXComponentControllerMaterialized.ts +++ b/arkoala/arkui/src/generated/ArkXComponentControllerMaterialized.ts @@ -22,10 +22,9 @@ import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback import { unsafeCast, int32, float32 } from "@koalaui/common" import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" -import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { Deserializer } from "./peers/Deserializer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./peers/CallbackTransformer" -import { isResource, isPadding } from "./../utils" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class XComponentControllerInternal { public static fromPtr(ptr: KPointer): XComponentController { const obj: XComponentController = new XComponentController() diff --git a/arkoala/arkui/src/generated/GlobalScope.ts b/arkoala/arkui/src/generated/GlobalScope.ts index 202aac0cefeedd9020f5772d87023120e565e620..476f439b25986803c5d72f9aebdced26a1ce6ab1 100644 --- a/arkoala/arkui/src/generated/GlobalScope.ts +++ b/arkoala/arkui/src/generated/GlobalScope.ts @@ -17,10 +17,18 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { Context, AnimateParam, FinishCallbackType, ExpectedFrameRateRange } from "./ArkCommonInterfaces" -import { GlobalScope } from "./peers/GlobalScope" import { Resource } from "./ArkResourceInterfaces" import { Curve, PlayMode } from "./ArkEnumsInterfaces" import { ICurve, ICurveInternal } from "./ArkICurveMaterialized" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" +import { PointerStyle } from "./ArkArkuiCustomInterfaces" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, toPeerPtr, MaterializedBase, isInstanceOf } from "@koalaui/interop" +import { unsafeCast, int32, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { isResource, isPadding } from "./../utils" +import { Deserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" export function getContext(component?: Object | undefined): Context { return GlobalScope.getContext(component) } @@ -66,3 +74,203 @@ export function getInspectorNodeById(id: number): Object { export function setAppBgColor(value: string): void { GlobalScope.setAppBgColor(value) } +export class GlobalScope { + public static getContext(component?: Object): Context { + const component_casted = component as (Object | undefined) + return GlobalScope.getContext_serialize(component_casted) + } + static getContext_serialize(component?: Object): Context { + const thisSerializer: Serializer = Serializer.hold() + let component_type: int32 = RuntimeType.UNDEFINED + component_type = runtimeType(component) + thisSerializer.writeInt8(component_type) + if ((RuntimeType.UNDEFINED) != (component_type)) { + const component_value = component! + thisSerializer.writeCustomObject("Object", component_value) + } + const retval = ArkUIGeneratedNativeModule._GlobalScope_getContext(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: Context = retvalDeserializer.readContext() + return returnResult + } + public static postCardAction(component: Object, action: Object): void { + const component_casted = component as (Object) + const action_casted = action as (Object) + GlobalScope.postCardAction_serialize(component_casted, action_casted) + return + } + static postCardAction_serialize(component: Object, action: Object): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeCustomObject("Object", component) + thisSerializer.writeCustomObject("Object", action) + ArkUIGeneratedNativeModule._GlobalScope_postCardAction(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static dollar_r(value: string, params: Array): Resource { + const value_casted = value as (string) + const params_casted = params as (Array) + return GlobalScope.dollar_r_serialize(value_casted, params_casted) + } + static dollar_r_serialize(value: string, params: Array): Resource { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(params.length) + for (let i = 0; i < params.length; i++) { + const params_element: any = params[i] + thisSerializer.writeCustomObject("Any", params_element) + } + const retval = ArkUIGeneratedNativeModule._GlobalScope_dollar_r(value, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: Resource = retvalDeserializer.readResource() + return returnResult + } + public static dollar_rawfile(value: string): Resource { + const value_casted = value as (string) + return GlobalScope.dollar_rawfile_serialize(value_casted) + } + static dollar_rawfile_serialize(value: string): Resource { + const retval = ArkUIGeneratedNativeModule._GlobalScope_dollar_rawfile(value) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: Resource = retvalDeserializer.readResource() + return returnResult + } + public static animateTo(value: AnimateParam, event: (() => void)): void { + const value_casted = value as (AnimateParam) + const event_casted = event as ((() => void)) + GlobalScope.animateTo_serialize(value_casted, event_casted) + return + } + static animateTo_serialize(value: AnimateParam, event: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeAnimateParam(value) + thisSerializer.holdAndWriteCallback(event) + ArkUIGeneratedNativeModule._GlobalScope_animateTo(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static animateToImmediately(value: AnimateParam, event: (() => void)): void { + const value_casted = value as (AnimateParam) + const event_casted = event as ((() => void)) + GlobalScope.animateToImmediately_serialize(value_casted, event_casted) + return + } + static animateToImmediately_serialize(value: AnimateParam, event: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeAnimateParam(value) + thisSerializer.holdAndWriteCallback(event) + ArkUIGeneratedNativeModule._GlobalScope_animateToImmediately(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static vp2px(value: number): number { + const value_casted = value as (number) + return GlobalScope.vp2px_serialize(value_casted) + } + static vp2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_vp2px(value) + return retval + } + public static px2vp(value: number): number { + const value_casted = value as (number) + return GlobalScope.px2vp_serialize(value_casted) + } + static px2vp_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_px2vp(value) + return retval + } + public static fp2px(value: number): number { + const value_casted = value as (number) + return GlobalScope.fp2px_serialize(value_casted) + } + static fp2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_fp2px(value) + return retval + } + public static px2fp(value: number): number { + const value_casted = value as (number) + return GlobalScope.px2fp_serialize(value_casted) + } + static px2fp_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_px2fp(value) + return retval + } + public static lpx2px(value: number): number { + const value_casted = value as (number) + return GlobalScope.lpx2px_serialize(value_casted) + } + static lpx2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_lpx2px(value) + return retval + } + public static px2lpx(value: number): number { + const value_casted = value as (number) + return GlobalScope.px2lpx_serialize(value_casted) + } + static px2lpx_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_px2lpx(value) + return retval + } + public static getInspectorNodes(): Object { + return GlobalScope.getInspectorNodes_serialize() + } + static getInspectorNodes_serialize(): Object { + const retval = ArkUIGeneratedNativeModule._GlobalScope_getInspectorNodes() + throw new Error("Object deserialization is not implemented.") + } + public static getInspectorNodeById(id: number): Object { + const id_casted = id as (number) + return GlobalScope.getInspectorNodeById_serialize(id_casted) + } + static getInspectorNodeById_serialize(id: number): Object { + const retval = ArkUIGeneratedNativeModule._GlobalScope_getInspectorNodeById(id) + throw new Error("Object deserialization is not implemented.") + } + public static setAppBgColor(value: string): void { + const value_casted = value as (string) + GlobalScope.setAppBgColor_serialize(value_casted) + return + } + static setAppBgColor_serialize(value: string): void { + ArkUIGeneratedNativeModule._GlobalScope_setAppBgColor(value) + } + public static Profiler_registerVsyncCallback(callback_: ((info: string) => void)): void { + const callback__casted = callback_ as (((info: string) => void)) + GlobalScope.Profiler_registerVsyncCallback_serialize(callback__casted) + return + } + static Profiler_registerVsyncCallback_serialize(callback_: ((info: string) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback_) + ArkUIGeneratedNativeModule._GlobalScope_Profiler_registerVsyncCallback(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static Profiler_unregisterVsyncCallback(): void { + GlobalScope.Profiler_unregisterVsyncCallback_serialize() + return + } + static Profiler_unregisterVsyncCallback_serialize(): void { + ArkUIGeneratedNativeModule._GlobalScope_Profiler_unregisterVsyncCallback() + } + public static cursorControl_setCursor(value: PointerStyle): void { + const value_casted = value as (PointerStyle) + GlobalScope.cursorControl_setCursor_serialize(value_casted) + return + } + static cursorControl_setCursor_serialize(value: PointerStyle): void { + ArkUIGeneratedNativeModule._GlobalScope_cursorControl_setCursor(value.valueOf()) + } + public static cursorControl_restoreDefault(): void { + GlobalScope.cursorControl_restoreDefault_serialize() + return + } + static cursorControl_restoreDefault_serialize(): void { + ArkUIGeneratedNativeModule._GlobalScope_cursorControl_restoreDefault() + } + public static focusControl_requestFocus(value: string): boolean { + const value_casted = value as (string) + return GlobalScope.focusControl_requestFocus_serialize(value_casted) + } + static focusControl_requestFocus_serialize(value: string): boolean { + const retval = ArkUIGeneratedNativeModule._GlobalScope_focusControl_requestFocus(value) + return retval + } +} diff --git a/arkoala/arkui/src/generated/peers/ArkAbilityComponentPeer.ts b/arkoala/arkui/src/generated/peers/ArkAbilityComponentPeer.ts index c0121bf9041db0ffc33d691c3cfae573470ea208..9681f8b29d55bce01afb6a88951840e31858cea3 100644 --- a/arkoala/arkui/src/generated/peers/ArkAbilityComponentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkAbilityComponentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { AbilityComponentAttribute } from "./../ArkAbilityComponentInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts b/arkoala/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts index a850cf359cada26587bd53f5aa2b5268b8c93557..eb3bee3abc3e84d501e5b5619d8987e80b26f24c 100644 --- a/arkoala/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Font, PX, VP, FP, LPX, Percentage, Area, Bias } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkAnimatorPeer.ts b/arkoala/arkui/src/generated/peers/ArkAnimatorPeer.ts index 7f39b5f710a4fc22b6f6d38f4fc221a3536d79a1..dc144e7e14744921af847690a3c77fb5843c112b 100644 --- a/arkoala/arkui/src/generated/peers/ArkAnimatorPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkAnimatorPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { AnimatorAttribute } from "./../ArkAnimatorInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkBadgePeer.ts b/arkoala/arkui/src/generated/peers/ArkBadgePeer.ts index 8403d4d49aacc5ed8ffb060b7655e15399957060..57075e59bb40a824ed192e37bff9f6d401fc9ed7 100644 --- a/arkoala/arkui/src/generated/peers/ArkBadgePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkBadgePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { BadgeParamWithNumber, BadgeAttribute, BadgeParamWithString, BadgeParam, BadgePosition, BadgeStyle } from "./../ArkBadgeInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkBlankPeer.ts b/arkoala/arkui/src/generated/peers/ArkBlankPeer.ts index 4d528fa7928080ff387fee36cf066db1cd618449..7aca76236fc6ad0418721a916022af267f6cbc59 100644 --- a/arkoala/arkui/src/generated/peers/ArkBlankPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkBlankPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { BlankAttribute } from "./../ArkBlankInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkButtonPeer.ts b/arkoala/arkui/src/generated/peers/ArkButtonPeer.ts index d42cdcd16f4411379d7d784b79d479908245129e..ba3ffbca1b85ceabd9c31f400d7f956bdd069ccb 100644 --- a/arkoala/arkui/src/generated/peers/ArkButtonPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkButtonPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, ContentModifier, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, CommonConfiguration, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkCalendarPeer.ts b/arkoala/arkui/src/generated/peers/ArkCalendarPeer.ts index 009853e33f52976e9cc097311d964c7e87589f9e..ae544b3664be10cf64f070aa2d8781447eeb4e43 100644 --- a/arkoala/arkui/src/generated/peers/ArkCalendarPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkCalendarPeer.ts @@ -16,25 +16,21 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { Axis } from "./../ArkEnumsInterfaces" import { CurrentDayStyle, NonCurrentDayStyle, TodayStyle, WeekStyle, WorkStateStyle, CalendarSelectedDate, CalendarRequestedData, MonthData, CalendarAttribute, CalendarDay } from "./../ArkCalendarInterfaces" import { ResourceColor } from "./../ArkUnitsInterfaces" import { CalendarController } from "./../ArkCalendarControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkCalendarPickerPeer.ts b/arkoala/arkui/src/generated/peers/ArkCalendarPickerPeer.ts index 53fcc4491b4ebebf1a1d822c646a74e007727660..5bfcd747ca21741f02129750e22dfba3cad4655d 100644 --- a/arkoala/arkui/src/generated/peers/ArkCalendarPickerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkCalendarPickerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, PickerTextStyle, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Offset, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkCanvasPeer.ts b/arkoala/arkui/src/generated/peers/ArkCanvasPeer.ts index 4112937cc5c556ebaa402eecf4544b0abef05d2a..2bf515a6751af8570fc373a4645ff60d17984b4e 100644 --- a/arkoala/arkui/src/generated/peers/ArkCanvasPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkCanvasPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, VoidCallback, PX, VP, FP, LPX, Percentage, Area, Bias, Font, LengthMetricsUnit } from "./../ArkUnitsInterfaces" @@ -83,11 +79,11 @@ import { RenderingContextSettings } from "./../ArkRenderingContextSettingsMateri import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" import { ImageAnalyzerController } from "./../ArkImageAnalyzerControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkCheckboxPeer.ts b/arkoala/arkui/src/generated/peers/ArkCheckboxPeer.ts index 7cf836f5855cb74e2189de4d6865b3a7337bab53..45617fa6b0fad1a427f8245fc043810e134d49f2 100644 --- a/arkoala/arkui/src/generated/peers/ArkCheckboxPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkCheckboxPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, ContentModifier, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, CommonConfiguration, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, MarkStyle, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts b/arkoala/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts index b1c783e9ba9e3185c1398e57ca26116ab8982d8c..aaaa780a29677f350b5a5cf906391554f8d6129f 100644 --- a/arkoala/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, MarkStyle, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkCirclePeer.ts b/arkoala/arkui/src/generated/peers/ArkCirclePeer.ts index 62beee04d8b77445c7eab1990a86936ea23ab957..610c9a6b9b46a1b38b1e3e5812f635471a96e678 100644 --- a/arkoala/arkui/src/generated/peers/ArkCirclePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkCirclePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { CircleOptions, CircleAttribute } from "./../ArkCircleInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkColumnPeer.ts b/arkoala/arkui/src/generated/peers/ArkColumnPeer.ts index 6dbbf84dffac50f905cd0267df4b94cc0497136c..b9d6bacbb1cbddbd2cbcee7a530865d9cef89c8d 100644 --- a/arkoala/arkui/src/generated/peers/ArkColumnPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkColumnPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, PointLightStyle, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, LightSource, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ColumnOptions, ColumnAttribute } from "./../ArkColumnInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkColumnSplitPeer.ts b/arkoala/arkui/src/generated/peers/ArkColumnSplitPeer.ts index 8b67a2d1440a624e778d0114f86b1d7f8fa4af17..e40cfda7913725192a4bf44e5b46a04294487658 100644 --- a/arkoala/arkui/src/generated/peers/ArkColumnSplitPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkColumnSplitPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkCommonPeer.ts b/arkoala/arkui/src/generated/peers/ArkCommonPeer.ts index 6e152a434ddab18d32a07c7781ed1423bc9eeb0c..726bf537c64d5fc3f5741fc2c691c41ea64f4f16 100644 --- a/arkoala/arkui/src/generated/peers/ArkCommonPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkCommonPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" import { DrawModifier } from "./../ArkDrawModifierMaterialized" import { Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, CommonMethod, CommonAttribute, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions } from "./../ArkCommonInterfaces" @@ -66,11 +62,11 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkComponent3dPeer.ts b/arkoala/arkui/src/generated/peers/ArkComponent3dPeer.ts index 2dc9dca39fe88db8a96ea2e5eb6640d36086ade0..ff4d901fe827fcbb252ac0601add09e12c11c8bb 100644 --- a/arkoala/arkui/src/generated/peers/ArkComponent3dPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkComponent3dPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { Component3DAttribute, SceneOptions, Scene, ModelType } from "./../ArkComponent3dInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkContainerSpanPeer.ts b/arkoala/arkui/src/generated/peers/ArkContainerSpanPeer.ts index 8e597501e5a85ff42fc689ca3ff77255b8952255..a1d36a10cb07c35ddb2265eda2e47add7469535c 100644 --- a/arkoala/arkui/src/generated/peers/ArkContainerSpanPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkContainerSpanPeer.ts @@ -16,25 +16,21 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { TextBackgroundStyle } from "./../ArkSpanInterfaces" import { AttributeModifier } from "./../../handwritten" import { ContainerSpanAttribute } from "./../ArkContainerSpanInterfaces" import { ResourceColor, Dimension, BorderRadiuses, Length } from "./../ArkUnitsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkCounterPeer.ts b/arkoala/arkui/src/generated/peers/ArkCounterPeer.ts index a3604db5d86815d6ad0a3630aa235cd2b37d2320..b29bc671e12656b18e0dfddd88b217f41afd655b 100644 --- a/arkoala/arkui/src/generated/peers/ArkCounterPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkCounterPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, VoidCallback } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { CounterAttribute } from "./../ArkCounterInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkDataPanelPeer.ts b/arkoala/arkui/src/generated/peers/ArkDataPanelPeer.ts index 8d5e53d3fd392d3465d31d7a346fd0158c2a31f3..a0f9a0aeac1d613083baa2ba9c811acd2457194f 100644 --- a/arkoala/arkui/src/generated/peers/ArkDataPanelPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkDataPanelPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, MultiShadowOptions, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { LinearGradient } from "./../ArkLinearGradientMaterialized" import { DataPanelShadowOptions, DataPanelConfiguration, ColorStop, DataPanelOptions, DataPanelAttribute, DataPanelType } from "./../ArkDataPanelInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkDatePickerPeer.ts b/arkoala/arkui/src/generated/peers/ArkDatePickerPeer.ts index 2ef4d5b1b85897b05ceb2b20502f14f2a6634bb3..7087574070d9b6903b48ce4593010cf92087adf7 100644 --- a/arkoala/arkui/src/generated/peers/ArkDatePickerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkDatePickerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PickerTextStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { DatePickerResult, DatePickerOptions, DatePickerAttribute } from "./../ArkDatePickerInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkDividerPeer.ts b/arkoala/arkui/src/generated/peers/ArkDividerPeer.ts index 05a5a2fd2b7b69d8c86d451621787d49be9f874e..3eeefb99314ad49da784441c569718b6da962aa0 100644 --- a/arkoala/arkui/src/generated/peers/ArkDividerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkDividerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { DividerAttribute } from "./../ArkDividerInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkEffectComponentPeer.ts b/arkoala/arkui/src/generated/peers/ArkEffectComponentPeer.ts index e1ebb242a44e9088e9188f9fc02c070c5339b337..d45ceb42a8e9f13e02cf56766dac063be1aff9bc 100644 --- a/arkoala/arkui/src/generated/peers/ArkEffectComponentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkEffectComponentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { EffectComponentAttribute } from "./../ArkEffectComponentInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkEllipsePeer.ts b/arkoala/arkui/src/generated/peers/ArkEllipsePeer.ts index 2d888b9221e998bca5454a2c6ad03d0d5c3db44e..6681c61ea6b20de07f8b18de39d5699f03d0bfa6 100644 --- a/arkoala/arkui/src/generated/peers/ArkEllipsePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkEllipsePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { EllipseOptions, EllipseAttribute } from "./../ArkEllipseInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts b/arkoala/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts index 6c764792b8b90f4413092fab116fdcb05fb1be44..b667659e84fea1be18500fb2708e4bfa3aabeee1 100644 --- a/arkoala/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { TerminationInfo, EmbeddedComponentAttribute } from "./../ArkEmbeddedComponentInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkFlexPeer.ts b/arkoala/arkui/src/generated/peers/ArkFlexPeer.ts index 5eb817c240c832aea5d23cb07bdc0f17fca38ad7..ca7c9a45ac9461aaa78c62c42300da8e3de7e379 100644 --- a/arkoala/arkui/src/generated/peers/ArkFlexPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkFlexPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PointLightStyle, LightSource } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { FlexOptions, FlexAttribute, FlexSpaceOptions } from "./../ArkFlexInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkFlowItemPeer.ts b/arkoala/arkui/src/generated/peers/ArkFlowItemPeer.ts index b6e5d2732f2fd5f73c8770d6622f304d80ba0ba7..cb4120b6aec4fbd4a00129a27698a5cea69fda25 100644 --- a/arkoala/arkui/src/generated/peers/ArkFlowItemPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkFlowItemPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { FlowItemAttribute } from "./../ArkFlowItemInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkFolderStackPeer.ts b/arkoala/arkui/src/generated/peers/ArkFolderStackPeer.ts index 0412ca32b99dc32d7d806d7508e3d096eef93179..817e0eddb83567d7d0cd4a113ddf3746d3cd0fed 100644 --- a/arkoala/arkui/src/generated/peers/ArkFolderStackPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkFolderStackPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { OnFoldStatusChangeCallback, OnHoverStatusChangeCallback, FolderStackOptions, FolderStackAttribute } from "./../ArkFolderStackInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkFormComponentPeer.ts b/arkoala/arkui/src/generated/peers/ArkFormComponentPeer.ts index 5cb10e67c34449131549c45c7166911a354cd093..38246e384a8c36f04652e226effef5a079e0c4af 100644 --- a/arkoala/arkui/src/generated/peers/ArkFormComponentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkFormComponentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { FormDimension, FormCallbackInfo, FormInfo, FormComponentAttribute, FormRenderingMode, FormShape } from "./../ArkFormComponentInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkFormLinkPeer.ts b/arkoala/arkui/src/generated/peers/ArkFormLinkPeer.ts index e4bbbab0a2dbb59cc754137517413b4000a84257..73d093a70369de8990413187a7d9fa93511ff072 100644 --- a/arkoala/arkui/src/generated/peers/ArkFormLinkPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkFormLinkPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { FormLinkOptions, FormLinkAttribute } from "./../ArkFormLinkInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkGaugePeer.ts b/arkoala/arkui/src/generated/peers/ArkGaugePeer.ts index 9dea91aec68935af43dd4a3188b3646e6c93a12a..ab0322a413e9a6bfab8f24502f557f76e2730854 100644 --- a/arkoala/arkui/src/generated/peers/ArkGaugePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkGaugePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, MultiShadowOptions, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { LinearGradient } from "./../ArkLinearGradientMaterialized" import { GaugeShadowOptions, GaugeIndicatorOptions, GaugeConfiguration, GaugeOptions, GaugeAttribute } from "./../ArkGaugeInterfaces" import { ColorStop } from "./../ArkDataPanelInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkGridColPeer.ts b/arkoala/arkui/src/generated/peers/ArkGridColPeer.ts index eea96cdb7c348e2d963f63eb510c6d83905896d7..259a7e0cdbffc95bb8cdf7a6f8a41a3a867a6481 100644 --- a/arkoala/arkui/src/generated/peers/ArkGridColPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkGridColPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GridColColumnOption, GridColOptions, GridColAttribute } from "./../ArkGridColInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkGridContainerPeer.ts b/arkoala/arkui/src/generated/peers/ArkGridContainerPeer.ts index cab0ba930e68ed87da11a62a74e12349087883f7..3353d9d654e341d560e0d455c2415c37c1cd2cf0 100644 --- a/arkoala/arkui/src/generated/peers/ArkGridContainerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkGridContainerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkColumnPeer, ArkColumnAttributes } from "./ArkColumnPeer" import { ColumnAttribute } from "./../ArkColumnInterfaces" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, PointLightStyle, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, LightSource, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" @@ -69,11 +65,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GridContainerOptions, GridContainerAttribute, SizeType } from "./../ArkGridContainerInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkGridItemPeer.ts b/arkoala/arkui/src/generated/peers/ArkGridItemPeer.ts index 682ad88750f9b148501d3f19df5ab964dab8946c..96b4cf84aa5957d6ab4ed8fc7d84640a8fd6ab8d 100644 --- a/arkoala/arkui/src/generated/peers/ArkGridItemPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkGridItemPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GridItemOptions, GridItemAttribute, GridItemStyle } from "./../ArkGridItemInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkGridPeer.ts b/arkoala/arkui/src/generated/peers/ArkGridPeer.ts index 0dabc2084c78aeb6e5782072267dec000de856bc..3dc093124f30fa995c2e8993bae6fc198fe30483 100644 --- a/arkoala/arkui/src/generated/peers/ArkGridPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkGridPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { ScrollableCommonMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, ItemDragInfo } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -71,11 +67,11 @@ import { ScrollState } from "./../ArkListInterfaces" import { Scroller } from "./../ArkScrollerMaterialized" import { ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, OffsetResult, ScrollAlign, ScrollToIndexOptions, ScrollAnimationOptions } from "./../ArkScrollInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkGridRowPeer.ts b/arkoala/arkui/src/generated/peers/ArkGridRowPeer.ts index 8ead5be1885a88f65c7e221c4c653fa28cdb3f14..70d094eb328b7740c6e9b5e9ad6d3564637ae71c 100644 --- a/arkoala/arkui/src/generated/peers/ArkGridRowPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkGridRowPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GridRowOptions, GridRowAttribute, GutterOption, GridRowColumnOption, BreakPoints, GridRowDirection, GridRowSizeOption, BreakpointsReference } from "./../ArkGridRowInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkHyperlinkPeer.ts b/arkoala/arkui/src/generated/peers/ArkHyperlinkPeer.ts index 0cca37d1082af97684a8b890a9d114de7f4c41b8..323d9556abe479f7a72850b34d759c8f37872991 100644 --- a/arkoala/arkui/src/generated/peers/ArkHyperlinkPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkHyperlinkPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { HyperlinkAttribute } from "./../ArkHyperlinkInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkImageAnimatorPeer.ts b/arkoala/arkui/src/generated/peers/ArkImageAnimatorPeer.ts index 4cd6013a1033617ae10df18a8a33bfcf73f9207d..3c8b5b219742512b0cce0b5d1388d669827b4f3c 100644 --- a/arkoala/arkui/src/generated/peers/ArkImageAnimatorPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkImageAnimatorPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ImageFrameInfo, ImageAnimatorAttribute } from "./../ArkImageAnimatorInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkImagePeer.ts b/arkoala/arkui/src/generated/peers/ArkImagePeer.ts index 58971d8d8451c021df469ea048616421cb8a059f..c85675e9d612b97b05cc9e5e336e0fd4fcaa4deb 100644 --- a/arkoala/arkui/src/generated/peers/ArkImagePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkImagePeer.ts @@ -16,22 +16,18 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PointLightStyle, LightSource } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" import { DrawModifier } from "./../ArkDrawModifierMaterialized" import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, PixelRoundCalcPolicy, Curve, PlayMode, TransitionType, HorizontalAlign, VerticalAlign, ClickEffectLevel, SharedTransitionEffectType, Placement, ArrowPointPosition, MouseButton, MouseAction, TouchType, KeyType, KeySource, FontWeight, FontStyle, ImageFit, CopyOptions, IlluminatedType } from "./../ArkEnumsInterfaces" import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" -import { ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, DrawableDescriptor, ImageAttribute, ImageContent } from "./../ArkImageInterfaces" +import { ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, ImageAttribute, ImageContent } from "./../ArkImageInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { FocusBoxStyle, FocusPriority } from "./../ArkFocusInterfaces" import { TransitionEffect } from "./../ArkTransitionEffectMaterialized" @@ -68,13 +64,14 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ColorFilter } from "./../ArkColorFilterMaterialized" import { ImageAnalyzerConfig, ImageAnalyzerType, ImageAIOptions } from "./../ArkImageCommonInterfaces" +import { DrawableDescriptor } from "./../ArkDrawableDescriptorMaterialized" import { ImageAnalyzerController } from "./../ArkImageAnalyzerControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" @@ -115,7 +112,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { thisSerializer.writeResource(src_1_1) } } - else if (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("_DrawableDescriptorStub")))) { + else if (((RuntimeType.OBJECT) == (src_type)) && (src instanceof DrawableDescriptor)) { thisSerializer.writeInt8(2) const src_2 = unsafeCast(src) thisSerializer.writeDrawableDescriptor(src_2) @@ -148,7 +145,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { thisSerializer.writeResource(src_1_1) } } - else if (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("_DrawableDescriptorStub")))) { + else if (((RuntimeType.OBJECT) == (src_type)) && (src instanceof DrawableDescriptor)) { thisSerializer.writeInt8(2) const src_2 = unsafeCast(src) thisSerializer.writeDrawableDescriptor(src_2) @@ -186,7 +183,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { thisSerializer.writeResource(src_1_1) } } - else if (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("_DrawableDescriptorStub")))) { + else if (((RuntimeType.OBJECT) == (src_type)) && (src instanceof DrawableDescriptor)) { thisSerializer.writeInt8(2) const src_2 = unsafeCast(src) thisSerializer.writeDrawableDescriptor(src_2) diff --git a/arkoala/arkui/src/generated/peers/ArkImageSpanPeer.ts b/arkoala/arkui/src/generated/peers/ArkImageSpanPeer.ts index e269cbbc3e5514b38bdc1ecdb90f43f60758be0b..1962c1a7314bc589120215158c943f5f57e7bc73 100644 --- a/arkoala/arkui/src/generated/peers/ArkImageSpanPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkImageSpanPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkBaseSpanPeer, ArkBaseSpanAttributes } from "./ArkSpanPeer" import { BaseSpan, TextBackgroundStyle } from "./../ArkSpanInterfaces" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" @@ -70,11 +66,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ColorFilter } from "./../ArkColorFilterMaterialized" import { ImageCompleteCallback, ImageSpanAttribute } from "./../ArkImageSpanInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts b/arkoala/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts index f63d4c3404b3ec34eb3efd1f3ec9a5736d2d3d48..878b4df9659d193b40a43af66eccdc6c49cf4d3a 100644 --- a/arkoala/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -72,11 +68,11 @@ import { Indicator } from "./../ArkIndicatorBuilder" import { IndicatorComponentController } from "./../ArkIndicatorComponentControllerMaterialized" import { IndicatorComponentAttribute } from "./../ArkIndicatorcomponentInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" export class ArkIndicatorComponentPeer extends ArkCommonMethodPeer { diff --git a/arkoala/arkui/src/generated/peers/ArkLinePeer.ts b/arkoala/arkui/src/generated/peers/ArkLinePeer.ts index 72fd9184e697ff732b9a79d72cf0d822b21a77b2..679f375ebb831a07c528dc3d72aefa6446af6721 100644 --- a/arkoala/arkui/src/generated/peers/ArkLinePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkLinePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { LineOptions, LineAttribute } from "./../ArkLineInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkLinearindicatorPeer.ts b/arkoala/arkui/src/generated/peers/ArkLinearindicatorPeer.ts index f84c4780d68277cd34fa12bb0f2739b31036f4c7..331bd80fc5adc196e64902dbe49ccf90338b5f9d 100644 --- a/arkoala/arkui/src/generated/peers/ArkLinearindicatorPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkLinearindicatorPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { LinearIndicatorStyle, OnLinearIndicatorChangeCallback, LinearIndicatorAttribute, LinearIndicatorStartOptions } from "./../ArkLinearindicatorInterfaces" import { LinearIndicatorController } from "./../ArkLinearIndicatorControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkListItemGroupPeer.ts b/arkoala/arkui/src/generated/peers/ArkListItemGroupPeer.ts index b425169b38e1107497c5bd16f5f05fe46325019e..86528f0dacb6026d3262376be1062fd17d5f59b5 100644 --- a/arkoala/arkui/src/generated/peers/ArkListItemGroupPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkListItemGroupPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { ListDividerOptions } from "./../ArkListInterfaces" import { ChildrenMainSize } from "./../ArkChildrenMainSizeMaterialized" import { ListItemGroupOptions, ListItemGroupAttribute, ListItemGroupStyle } from "./../ArkListItemGroupInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkListItemPeer.ts b/arkoala/arkui/src/generated/peers/ArkListItemPeer.ts index 218c51f891439b3189114ac7132865289c714399..3869881f6fdefc2822abb4dd03a58440b7488cc0 100644 --- a/arkoala/arkui/src/generated/peers/ArkListItemPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkListItemPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { Sticky, EditMode, SwipeActionOptions, SwipeActionItem, SwipeEdgeEffect, SwipeActionState, ListItemOptions, ListItemAttribute, ListItemStyle } from "./../ArkListItemInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkListPeer.ts b/arkoala/arkui/src/generated/peers/ArkListPeer.ts index 88b7dfad25f6760ced40ed8bffbe24fb3a54b31c..c510f3fc78a01293a12ab8dec65c99cdf0de1568 100644 --- a/arkoala/arkui/src/generated/peers/ArkListPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkListPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { ScrollableCommonMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, ItemDragInfo } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, LengthConstrain } from "./../ArkUnitsInterfaces" @@ -71,11 +67,11 @@ import { ChildrenMainSize } from "./../ArkChildrenMainSizeMaterialized" import { Scroller } from "./../ArkScrollerMaterialized" import { ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, OffsetResult, ScrollAlign, ScrollToIndexOptions, ScrollAnimationOptions } from "./../ArkScrollInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkLoadingProgressPeer.ts b/arkoala/arkui/src/generated/peers/ArkLoadingProgressPeer.ts index 497ee78c9d393a7dea8044294bac49fc321658f0..6ffe0a1121e22afa92c2ac7e52921abc30311ff4 100644 --- a/arkoala/arkui/src/generated/peers/ArkLoadingProgressPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkLoadingProgressPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { LoadingProgressConfiguration, LoadingProgressAttribute } from "./../ArkLoadingProgressInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkLocationButtonPeer.ts b/arkoala/arkui/src/generated/peers/ArkLocationButtonPeer.ts index 4506ffd6ef3e3d5165f97553ce58f697275e4dc2..bf6b3f645d6eed9d3599b8cdd437e1e8a28b9dd7 100644 --- a/arkoala/arkui/src/generated/peers/ArkLocationButtonPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkLocationButtonPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkSecurityComponentMethodPeer, ArkSecurityComponentMethodAttributes } from "./ArkSecurityComponentPeer" import { SecurityComponentMethod, SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions, PX, VP, FP, LPX, Percentage, Area } from "./../ArkUnitsInterfaces" @@ -38,11 +34,11 @@ import { BaseEvent } from "./../ArkBaseEventMaterialized" import { EventTarget, SourceType, SourceTool } from "./../ArkCommonInterfaces" import { ButtonType } from "./../ArkButtonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkMarqueePeer.ts b/arkoala/arkui/src/generated/peers/ArkMarqueePeer.ts index c989327a05acb399cbbb2513e120a8687077482e..e1c17ac93e060864ca3662baf6c00c76e4ae3075 100644 --- a/arkoala/arkui/src/generated/peers/ArkMarqueePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkMarqueePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { MarqueeOptions, MarqueeAttribute } from "./../ArkMarqueeInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts b/arkoala/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts index 59201afd4a0400e02ea8a091f319c51a4f869048..0e759399f0dfd95011879f80a68fb5d520923949 100644 --- a/arkoala/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts @@ -16,17 +16,13 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkImagePeer, ArkImageAttributes } from "./ArkImagePeer" -import { ImageAttribute, ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality, DrawableDescriptor } from "./../ArkImageInterfaces" +import { ImageAttribute, ResizableOptions, DrawingLattice, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, DrawingColorFilter, ImageErrorCallback, ResolutionQuality } from "./../ArkImageInterfaces" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PointLightStyle, LightSource } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" import { DrawModifier } from "./../ArkDrawModifierMaterialized" @@ -68,13 +64,14 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ColorFilter } from "./../ArkColorFilterMaterialized" import { ImageAnalyzerConfig, ImageAnalyzerType } from "./../ArkImageCommonInterfaces" +import { DrawableDescriptor } from "./../ArkDrawableDescriptorMaterialized" import { ASTCResource, MediaCachedImageAttribute } from "./../ArkMediaCachedImageInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" @@ -115,7 +112,7 @@ export class ArkMediaCachedImagePeer extends ArkImagePeer { thisSerializer.writeResource(src_1_1) } } - else if (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("_DrawableDescriptorStub")))) { + else if (((RuntimeType.OBJECT) == (src_type)) && (src instanceof DrawableDescriptor)) { thisSerializer.writeInt8(2) const src_2 = unsafeCast(src) thisSerializer.writeDrawableDescriptor(src_2) diff --git a/arkoala/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts b/arkoala/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts index 5f22676fd5bef6e118642abe9feccc334282d458..156bc378cd0b434b184dc6f7c59f1a998c970cc3 100644 --- a/arkoala/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { MenuItemGroupOptions, MenuItemGroupAttribute } from "./../ArkMenuItemGroupInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkMenuItemPeer.ts b/arkoala/arkui/src/generated/peers/ArkMenuItemPeer.ts index c78709916fd9b13847e324f64d3c6ea1e0a48afc..a22030958a71577e28deee4c215c0f396ca0a6e2 100644 --- a/arkoala/arkui/src/generated/peers/ArkMenuItemPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkMenuItemPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { MenuItemOptions, MenuItemAttribute } from "./../ArkMenuItemInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkMenuPeer.ts b/arkoala/arkui/src/generated/peers/ArkMenuPeer.ts index eb429760707333d7c7e444fe8555a3a341b6738b..349c9e76bc4954a1ce0307c0da207445bb475e43 100644 --- a/arkoala/arkui/src/generated/peers/ArkMenuPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkMenuPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, DividerStyleOptions } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { SubMenuExpandingMode, MenuAttribute } from "./../ArkMenuInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkNavDestinationPeer.ts b/arkoala/arkui/src/generated/peers/ArkNavDestinationPeer.ts index 1bb0fddf1f3848bf3010165848e8b5991827d6ec..29f01fdc1cea6f2250e3bad616659e5a4159039f 100644 --- a/arkoala/arkui/src/generated/peers/ArkNavDestinationPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkNavDestinationPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, LayoutSafeAreaType, LayoutSafeAreaEdge } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -72,11 +68,11 @@ import { NavDestinationContext } from "./../ArkNavDestinationContextMaterialized import { NavPathInfo } from "./../ArkNavPathInfoMaterialized" import { NavPathStack } from "./../ArkNavPathStackMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkNavRouterPeer.ts b/arkoala/arkui/src/generated/peers/ArkNavRouterPeer.ts index a87f82cc3ca020d700a904a6345e7d809146ba6d..d97f8c1ab78c7c33087285afa99b512039fc8405 100644 --- a/arkoala/arkui/src/generated/peers/ArkNavRouterPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkNavRouterPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { NavRouteMode, NavRouterAttribute, RouteInfo } from "./../ArkNavRouterInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkNavigatorPeer.ts b/arkoala/arkui/src/generated/peers/ArkNavigatorPeer.ts index 091cef772492b05cbf6c35fc6f0d060ffc9c410a..68ca157fbb0761732f562ab6ce9d500b4d200d30 100644 --- a/arkoala/arkui/src/generated/peers/ArkNavigatorPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkNavigatorPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { NavigationType, NavigatorAttribute } from "./../ArkNavigatorInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkNodeContainerPeer.ts b/arkoala/arkui/src/generated/peers/ArkNodeContainerPeer.ts index cc7e105e894ec2e7e5d97ea830ef74ee5123312b..e88b1adb7eeced5ec2166a33933a8b617888e624 100644 --- a/arkoala/arkui/src/generated/peers/ArkNodeContainerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkNodeContainerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { NodeContainerAttribute } from "./../ArkNodeContainerInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkPanelPeer.ts b/arkoala/arkui/src/generated/peers/ArkPanelPeer.ts index 944b8e19e78cc77e23a2750fe0bcebb401ca43ef..8d4448b831ff98ad95e42d0b9c1ab0e9b5565996 100644 --- a/arkoala/arkui/src/generated/peers/ArkPanelPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkPanelPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { PanelMode, PanelType, PanelHeight, PanelAttribute } from "./../ArkPanelInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkPasteButtonPeer.ts b/arkoala/arkui/src/generated/peers/ArkPasteButtonPeer.ts index 293e9efefddb528fa11dd1f32e01bf19e1c63130..2ebf3c776c2423188829c9857e6990eeada96896 100644 --- a/arkoala/arkui/src/generated/peers/ArkPasteButtonPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkPasteButtonPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkSecurityComponentMethodPeer, ArkSecurityComponentMethodAttributes } from "./ArkSecurityComponentPeer" import { SecurityComponentMethod, SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions, PX, VP, FP, LPX, Percentage, Area } from "./../ArkUnitsInterfaces" @@ -38,11 +34,11 @@ import { BaseEvent } from "./../ArkBaseEventMaterialized" import { EventTarget, SourceType, SourceTool } from "./../ArkCommonInterfaces" import { ButtonType } from "./../ArkButtonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkPathPeer.ts b/arkoala/arkui/src/generated/peers/ArkPathPeer.ts index f1682f41b4e2860e340a891dc850e33a988d13be..076245983eeeda3ebe7c0f17107d3be6a451eedf 100644 --- a/arkoala/arkui/src/generated/peers/ArkPathPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkPathPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { PathOptions, PathAttribute } from "./../ArkPathInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkPatternLockPeer.ts b/arkoala/arkui/src/generated/peers/ArkPatternLockPeer.ts index a92693d13bb33a15eddb53158f6a20432b51a048..49c0057dc56186d513d941866b090e6ef67b290e 100644 --- a/arkoala/arkui/src/generated/peers/ArkPatternLockPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkPatternLockPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { CircleStyleOptions, PatternLockAttribute, PatternLockChallengeResult } from "./../ArkPatternLockInterfaces" import { PatternLockController } from "./../ArkPatternLockControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkPluginComponentPeer.ts b/arkoala/arkui/src/generated/peers/ArkPluginComponentPeer.ts index 5789a1aa3541346c609812efd7ffb3f30e744fb6..1317cb6dae75a157b17e21acd780bcbf3a705454 100644 --- a/arkoala/arkui/src/generated/peers/ArkPluginComponentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkPluginComponentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, VoidCallback } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { PluginErrorCallback, PluginComponentOptions, PluginComponentAttribute, PluginComponentTemplate } from "./../ArkPluginComponentInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkPolygonPeer.ts b/arkoala/arkui/src/generated/peers/ArkPolygonPeer.ts index 4d8cf15b76e22c0452daa0be4bc1a00348a359fa..5b8d727c362fb0ad9e7f06f6e5fdb7d5ab67729c 100644 --- a/arkoala/arkui/src/generated/peers/ArkPolygonPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkPolygonPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { Point } from "./../ArkPointInterfaces" import { PolygonOptions, PolygonAttribute } from "./../ArkPolygonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkPolylinePeer.ts b/arkoala/arkui/src/generated/peers/ArkPolylinePeer.ts index 82b9cd8eea6096c8f62fef69b1399a8a1c20a229..94670f1e5eacb6a7992c346c39d719109567aa8a 100644 --- a/arkoala/arkui/src/generated/peers/ArkPolylinePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkPolylinePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { Point } from "./../ArkPointInterfaces" import { PolylineOptions, PolylineAttribute } from "./../ArkPolylineInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkProgressPeer.ts b/arkoala/arkui/src/generated/peers/ArkProgressPeer.ts index 70c43c1eedc6c5d96a07fc0c051f2d09eb9a6e06..2e530a07a37c66b1bc423c1f0ccec9ed0b1d2460 100644 --- a/arkoala/arkui/src/generated/peers/ArkProgressPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkProgressPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { LinearGradient } from "./../ArkLinearGradientMaterialized" import { LinearStyleOptions, RingStyleOptions, CapsuleStyleOptions, ProgressStyleOptions, ProgressConfiguration, ScanEffectOptions, CommonProgressStyleOptions, ProgressStatus, ProgressOptions, ProgressAttribute, ProgressStyle, ProgressType } from "./../ArkProgressInterfaces" import { ColorStop } from "./../ArkDataPanelInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkQrcodePeer.ts b/arkoala/arkui/src/generated/peers/ArkQrcodePeer.ts index 163fab14992e91ee0bee9b17397ffeadafaa133a..f09b76bc1465be74af1512e3797ad82cfb5558cc 100644 --- a/arkoala/arkui/src/generated/peers/ArkQrcodePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkQrcodePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { QRCodeAttribute } from "./../ArkQrcodeInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRadioPeer.ts b/arkoala/arkui/src/generated/peers/ArkRadioPeer.ts index 60c0ed4730d1833eeff637a62b8fafdac016a96a..1e2610441f9f1532654608a108d3415924b847ef 100644 --- a/arkoala/arkui/src/generated/peers/ArkRadioPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRadioPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { RadioStyle, RadioConfiguration, RadioOptions, RadioAttribute, RadioIndicatorType } from "./../ArkRadioInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRatingPeer.ts b/arkoala/arkui/src/generated/peers/ArkRatingPeer.ts index d3ef84dfa5658725edb422302c7463366fe33d01..ee47b2a8e03934064cfbb8f3b195e8d1f7d3f265 100644 --- a/arkoala/arkui/src/generated/peers/ArkRatingPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRatingPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { StarStyleOptions, RatingConfiguration, RatingOptions, RatingAttribute } from "./../ArkRatingInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRectPeer.ts b/arkoala/arkui/src/generated/peers/ArkRectPeer.ts index db76f4ecaeabe6313801655b2a3e6cf0823d72d8..f3bccdc48305b8f60c448c79e0ba38b9ddacb5fb 100644 --- a/arkoala/arkui/src/generated/peers/ArkRectPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRectPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { RectOptions, RoundedRectOptions, RectAttribute } from "./../ArkRectInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRefreshPeer.ts b/arkoala/arkui/src/generated/peers/ArkRefreshPeer.ts index 619e2d370189b28b8fcd4e395ebeb0d17f6414ed..1ed1c9c845d1cf1a224b9fab326e4de30aec41d2 100644 --- a/arkoala/arkui/src/generated/peers/ArkRefreshPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRefreshPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { RefreshStatus, RefreshOptions, RefreshAttribute } from "./../ArkRefreshInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRelativeContainerPeer.ts b/arkoala/arkui/src/generated/peers/ArkRelativeContainerPeer.ts index 613882106e3f6ea09c4ff24c5e823a2c36a905a7..01c4a95298a9149feedb3c22120dd4521245e612 100644 --- a/arkoala/arkui/src/generated/peers/ArkRelativeContainerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRelativeContainerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { GuideLineStyle, BarrierStyle, LocalizedBarrierStyle, GuideLinePosition, BarrierDirection, LocalizedBarrierDirection, RelativeContainerAttribute } from "./../ArkRelativeContainerInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRemoteWindowPeer.ts b/arkoala/arkui/src/generated/peers/ArkRemoteWindowPeer.ts index f0fa76c5135b8191e4813bf5651aa1d27473598b..3b6c9c7b0b491de007220dd6c77450a6ad601d81 100644 --- a/arkoala/arkui/src/generated/peers/ArkRemoteWindowPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRemoteWindowPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { WindowAnimationTarget, RemoteWindowAttribute, RRect } from "./../ArkRemoteWindowInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRichEditorPeer.ts b/arkoala/arkui/src/generated/peers/ArkRichEditorPeer.ts index 8c2f122fa9595a5fca74e6267c3dda0a392ef60f..e9dfbe870ee6df28db13d6b6d3feb1e2005942a4 100644 --- a/arkoala/arkui/src/generated/peers/ArkRichEditorPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRichEditorPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, SelectionOptions, MenuPolicy } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -85,11 +81,11 @@ import { MutableStyledString } from "./../ArkMutableStyledStringMaterialized" import { ImageAttachment } from "./../ArkImageAttachmentMaterialized" import { CustomSpan } from "./../ArkCustomSpanMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRichTextPeer.ts b/arkoala/arkui/src/generated/peers/ArkRichTextPeer.ts index 5cc51c29d04f001525a33d851213c68fa930b63a..b31d910a4b26cad4378169c39346b161a10d1ab5 100644 --- a/arkoala/arkui/src/generated/peers/ArkRichTextPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRichTextPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { RichTextAttribute } from "./../ArkRichTextInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRootScenePeer.ts b/arkoala/arkui/src/generated/peers/ArkRootScenePeer.ts index 846b4f8448eb6c7504b5a0d5190e5efc2ef913ae..65333e42d57dbcf122063090b0272ba56d35fe87 100644 --- a/arkoala/arkui/src/generated/peers/ArkRootScenePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRootScenePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { RootSceneSession, RootSceneAttribute } from "./../ArkRootSceneInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRowPeer.ts b/arkoala/arkui/src/generated/peers/ArkRowPeer.ts index 3950a418c48c242db5fb0cb8ff9c9e72af5759de..e715601e3324fa820b0ab349b72656ccdf516928 100644 --- a/arkoala/arkui/src/generated/peers/ArkRowPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRowPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PointLightStyle, LightSource } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { RowOptions, RowAttribute } from "./../ArkRowInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkRowSplitPeer.ts b/arkoala/arkui/src/generated/peers/ArkRowSplitPeer.ts index decb25df5a91e4481a49eb917cba53d1e04b7c0d..3ab25c29f686ca229a0f890ba0363bf8e00f118a 100644 --- a/arkoala/arkui/src/generated/peers/ArkRowSplitPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkRowSplitPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { RowSplitAttribute } from "./../ArkRowSplitInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkSaveButtonPeer.ts b/arkoala/arkui/src/generated/peers/ArkSaveButtonPeer.ts index 271221c04f605b8a5a7cf0567411882401cc8b91..8801df8684afa0354c820c5b5dbd3f4702767c7f 100644 --- a/arkoala/arkui/src/generated/peers/ArkSaveButtonPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSaveButtonPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkSecurityComponentMethodPeer, ArkSecurityComponentMethodAttributes } from "./ArkSecurityComponentPeer" import { SecurityComponentMethod, SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions, PX, VP, FP, LPX, Percentage, Area } from "./../ArkUnitsInterfaces" @@ -38,11 +34,11 @@ import { BaseEvent } from "./../ArkBaseEventMaterialized" import { EventTarget, SourceType, SourceTool } from "./../ArkCommonInterfaces" import { ButtonType } from "./../ArkButtonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkScreenPeer.ts b/arkoala/arkui/src/generated/peers/ArkScreenPeer.ts index 9d19b9fa45a99cd381c880a867572b854cbb6363..65c522c264b7a90ead535d49676349b581062bba 100644 --- a/arkoala/arkui/src/generated/peers/ArkScreenPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkScreenPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ScreenAttribute } from "./../ArkScreenInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkScrollBarPeer.ts b/arkoala/arkui/src/generated/peers/ArkScrollBarPeer.ts index dad2a8b65a8d796a0aed14ad4e1558f8353558cd..3030c58199b6031f4cf88f95aabb4a65ae30d05a 100644 --- a/arkoala/arkui/src/generated/peers/ArkScrollBarPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkScrollBarPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { ScrollBarOptions, ScrollBarAttribute, ScrollBarDirection } from "./../A import { Scroller } from "./../ArkScrollerMaterialized" import { ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, OffsetResult, ScrollAlign, ScrollToIndexOptions, ScrollAnimationOptions } from "./../ArkScrollInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkScrollPeer.ts b/arkoala/arkui/src/generated/peers/ArkScrollPeer.ts index f7d9759c41852de1ec26c0ebc9636e32922900d1..e8f729184e2f5f3326758bcaeca760af7d8ea952 100644 --- a/arkoala/arkui/src/generated/peers/ArkScrollPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkScrollPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { ScrollableCommonMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, VoidCallback } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { ScrollDirection, ScrollOnWillScrollCallback, ScrollOnScrollCallback, On import { ScrollSnapAlign } from "./../ArkListInterfaces" import { Scroller } from "./../ArkScrollerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkSearchPeer.ts b/arkoala/arkui/src/generated/peers/ArkSearchPeer.ts index fcaba957629105fd61b2c24d1e9b4cf274675595..cf96226b43af647833bcc476710b72dfa7d9de45 100644 --- a/arkoala/arkui/src/generated/peers/ArkSearchPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSearchPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, TextDecorationOptions, CaretOffset, SelectionOptions, MenuPolicy } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -75,11 +71,11 @@ import { TextMenuItemId } from "./../ArkTextMenuItemIdMaterialized" import { SearchController } from "./../ArkSearchControllerMaterialized" import { TextContentControllerBase } from "./../ArkTextContentControllerBaseMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkSecurityComponentPeer.ts b/arkoala/arkui/src/generated/peers/ArkSecurityComponentPeer.ts index a729f4f5482f42f304fe416ad9593301b18b061e..2847130a865c283b3d7e91e596350b237207db36 100644 --- a/arkoala/arkui/src/generated/peers/ArkSecurityComponentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSecurityComponentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { Dimension, Position, Edges, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" import { SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" import { FontStyle, FontWeight, BorderStyle, Color } from "./../ArkEnumsInterfaces" @@ -32,11 +28,11 @@ import { Resource } from "./../ArkResourceInterfaces" import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" import { LengthUnit } from "./../ArkArkuiExternalInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkSelectPeer.ts b/arkoala/arkui/src/generated/peers/ArkSelectPeer.ts index 78103653f700cf40a493a72ba0f59057c9bf939f..fb38df24de5a7cf09f4982b84c0ef3745830744b 100644 --- a/arkoala/arkui/src/generated/peers/ArkSelectPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSelectPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, Offset } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { ArrowPosition, MenuItemConfiguration, MenuAlignType, SelectAttribute, S import { ControlSize } from "./../ArkButtonInterfaces" import { DividerOptions } from "./../ArkTextPickerInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkShapePeer.ts b/arkoala/arkui/src/generated/peers/ArkShapePeer.ts index 998e3577d73b40d4561c64b77653c44e4f7d4763..6579541a636cd22e30103e0d841dc23adca696eb 100644 --- a/arkoala/arkui/src/generated/peers/ArkShapePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkShapePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ViewportRect, ShapeAttribute } from "./../ArkShapeInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkSidebarPeer.ts b/arkoala/arkui/src/generated/peers/ArkSidebarPeer.ts index d8780b50f07034a9b197619d6f80061ffc16ca17..7e1462205f262effec99dd52b93256194019a827 100644 --- a/arkoala/arkui/src/generated/peers/ArkSidebarPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSidebarPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ButtonStyle, SideBarPosition, ButtonIconOptions, SideBarContainerType, SideBarContainerAttribute } from "./../ArkSidebarInterfaces" import { DividerStyle } from "./../ArkTabsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkSliderPeer.ts b/arkoala/arkui/src/generated/peers/ArkSliderPeer.ts index 6b8795b20d1f0a712fcc7b4762edc0d054901731..fce1f3ea95a2969b9e03ca7b9ab17045f91e30a3 100644 --- a/arkoala/arkui/src/generated/peers/ArkSliderPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSliderPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { LinearGradient } from "./../ArkLinearGradientMaterialized" import { SliderBlockStyle, SliderInteraction, SliderConfiguration, SlideRange, SliderAttribute, SliderChangeMode, SliderBlockType, SliderTriggerChangeCallback, SliderOptions, SliderStyle } from "./../ArkSliderInterfaces" import { ColorStop } from "./../ArkDataPanelInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkSpanPeer.ts b/arkoala/arkui/src/generated/peers/ArkSpanPeer.ts index 61e8a2b71cb4f401f468ea00c48d9c1d2509911e..245c2504e9596bd4ba1874d530f6370933cda5df 100644 --- a/arkoala/arkui/src/generated/peers/ArkSpanPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSpanPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { TextBackgroundStyle, BaseSpan, SpanAttribute } from "./../ArkSpanInterfaces" import { DecorationStyleInterface } from "./../ArkStyledStringInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkStackPeer.ts b/arkoala/arkui/src/generated/peers/ArkStackPeer.ts index 3635fd9c0060094d66f85d706dceb2f1bd171b54..7b6e2bcb160b861a079256d8c0c2916c4d967a0b 100644 --- a/arkoala/arkui/src/generated/peers/ArkStackPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkStackPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PointLightStyle, LightSource } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { StackOptions, StackAttribute } from "./../ArkStackInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkStaticComponentsPeer.ts b/arkoala/arkui/src/generated/peers/ArkStaticComponentsPeer.ts index 5388e6288b25ee9e4e4dc642644f8788b54441e9..59d8fa85923685de6f220973075e0788d07498c2 100644 --- a/arkoala/arkui/src/generated/peers/ArkStaticComponentsPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkStaticComponentsPeer.ts @@ -16,21 +16,17 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkStepperItemPeer.ts b/arkoala/arkui/src/generated/peers/ArkStepperItemPeer.ts index 68ac8c8fde65c2f8d5fe6147a497431dfd7fe23c..240e56ba45e37f63b2ab0c077ad2937fe9745bbf 100644 --- a/arkoala/arkui/src/generated/peers/ArkStepperItemPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkStepperItemPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ItemState, StepperItemAttribute } from "./../ArkStepperItemInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkStepperPeer.ts b/arkoala/arkui/src/generated/peers/ArkStepperPeer.ts index 3501b1ba85c684eac204dcb085cabee6d0d16405..ad3f8ef45c3c668b52dc20e76b421cf0bda6ea4f 100644 --- a/arkoala/arkui/src/generated/peers/ArkStepperPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkStepperPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { StepperAttribute } from "./../ArkStepperInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkSwiperPeer.ts b/arkoala/arkui/src/generated/peers/ArkSwiperPeer.ts index 975a3d0672529af341feca279e219b6f0dba0836..d9171c818ce2601a713e29349969fd8e7636f820 100644 --- a/arkoala/arkui/src/generated/peers/ArkSwiperPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSwiperPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, VoidCallback } from "./../ArkUnitsInterfaces" @@ -74,11 +70,11 @@ import { Indicator } from "./../ArkIndicatorBuilder" import { SwiperContentTransitionProxy } from "./../ArkSwiperContentTransitionProxyMaterialized" import { SwiperController } from "./../ArkSwiperControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" export class ArkSwiperPeer extends ArkCommonMethodPeer { diff --git a/arkoala/arkui/src/generated/peers/ArkSymbolSpanPeer.ts b/arkoala/arkui/src/generated/peers/ArkSymbolSpanPeer.ts index e715cd77923fb77817b7d0b019180dd874a97757..8336569350f5ab6b3053c069d4eb571e832b8c55 100644 --- a/arkoala/arkui/src/generated/peers/ArkSymbolSpanPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSymbolSpanPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { SymbolEffectStrategy, SymbolRenderingStrategy } from "./../ArkSymbolglyphInterfaces" import { SymbolSpanAttribute } from "./../ArkSymbolSpanInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkSymbolglyphPeer.ts b/arkoala/arkui/src/generated/peers/ArkSymbolglyphPeer.ts index b198f09d3d3fc0e8cfc173d687407d6b4a94085f..20aef9549799baf78c4d6ff8fe8314ead16bd59d 100644 --- a/arkoala/arkui/src/generated/peers/ArkSymbolglyphPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkSymbolglyphPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -51,7 +47,7 @@ import { PinchGestureInterface } from "./../ArkPinchGestureInterfaceMaterialized import { SwipeGestureInterface } from "./../ArkSwipeGestureInterfaceMaterialized" import { RotationGestureInterface } from "./../ArkRotationGestureInterfaceMaterialized" import { GestureGroupInterface } from "./../ArkGestureGroupInterfaceMaterialized" -import { LengthUnit, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, SymbolEffect } from "./../ArkArkuiExternalInterfaces" +import { LengthUnit, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions } from "./../ArkArkuiExternalInterfaces" import { ClickEvent } from "./../ArkClickEventMaterialized" import { HoverEvent } from "./../ArkHoverEventMaterialized" import { MouseEvent } from "./../ArkMouseEventMaterialized" @@ -67,12 +63,13 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphAttribute } from "./../ArkSymbolglyphInterfaces" +import { SymbolEffect } from "./../ArkSymbolEffectMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" @@ -183,7 +180,6 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { } symbolEffect0Attribute(symbolEffect: SymbolEffect, isActive?: boolean): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeSymbolEffect(symbolEffect) let isActive_type: int32 = RuntimeType.UNDEFINED isActive_type = runtimeType(isActive) thisSerializer.writeInt8(isActive_type) @@ -191,12 +187,11 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { const isActive_value = isActive! thisSerializer.writeBoolean(isActive_value) } - ArkUIGeneratedNativeModule._SymbolGlyphAttribute_symbolEffect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SymbolGlyphAttribute_symbolEffect0(this.peer.ptr, toPeerPtr(symbolEffect), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } symbolEffect1Attribute(symbolEffect: SymbolEffect, triggerValue?: number): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeSymbolEffect(symbolEffect) let triggerValue_type: int32 = RuntimeType.UNDEFINED triggerValue_type = runtimeType(triggerValue) thisSerializer.writeInt8(triggerValue_type) @@ -204,7 +199,7 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { const triggerValue_value = triggerValue! thisSerializer.writeNumber(triggerValue_value) } - ArkUIGeneratedNativeModule._SymbolGlyphAttribute_symbolEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SymbolGlyphAttribute_symbolEffect1(this.peer.ptr, toPeerPtr(symbolEffect), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } } diff --git a/arkoala/arkui/src/generated/peers/ArkTabContentPeer.ts b/arkoala/arkui/src/generated/peers/ArkTabContentPeer.ts index e516ddb30172eba7ce0053dc6236d3faa5035319..79882675d761021c498e5ea9a3f97113a3505524 100644 --- a/arkoala/arkui/src/generated/peers/ArkTabContentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTabContentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, VoidCallback } from "./../ArkUnitsInterfaces" @@ -72,11 +68,11 @@ import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" import { IndicatorStyle } from "./../ArkSwiperInterfaces" import { LabelStyle } from "./../ArkButtonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" export class ArkTabContentPeer extends ArkCommonMethodPeer { diff --git a/arkoala/arkui/src/generated/peers/ArkTabsPeer.ts b/arkoala/arkui/src/generated/peers/ArkTabsPeer.ts index d879f03323ffa5b09c7673e5021b393a0d45ad93..58edb600f0265eebe90a22f7503425b2b07c0f50 100644 --- a/arkoala/arkui/src/generated/peers/ArkTabsPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTabsPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { BarPosition, BarMode, AnimationMode, OnTabsAnimationStartCallback, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, DividerStyle, BarGridColumnOptions, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, ScrollableBarModeOptions, TabsAttribute, LayoutStyle, TabsOptions } from "./../ArkTabsInterfaces" import { TabsController } from "./../ArkTabsControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkTextAreaPeer.ts b/arkoala/arkui/src/generated/peers/ArkTextAreaPeer.ts index 81eb3a25d582cbb7d99a44a7ab31b323c8dcb301..967dece21f3fb2ce71fc59d0cb3d8dc8df68d10f 100644 --- a/arkoala/arkui/src/generated/peers/ArkTextAreaPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTextAreaPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, MenuPolicy } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -75,11 +71,11 @@ import { TextMenuItemId } from "./../ArkTextMenuItemIdMaterialized" import { TextAreaController } from "./../ArkTextAreaControllerMaterialized" import { TextContentControllerBase } from "./../ArkTextContentControllerBaseMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkTextClockPeer.ts b/arkoala/arkui/src/generated/peers/ArkTextClockPeer.ts index 324b1aaf52c5fd49bc85c6fad935e835eba179a2..a8fa638be77eb2c0f79e95f20af03d62a10bf3f9 100644 --- a/arkoala/arkui/src/generated/peers/ArkTextClockPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTextClockPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { TextClockConfiguration, TextClockOptions, TextClockAttribute } from "./ import { DateTimeOptions } from "./../ArkTimePickerInterfaces" import { TextClockController } from "./../ArkTextClockControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkTextInputPeer.ts b/arkoala/arkui/src/generated/peers/ArkTextInputPeer.ts index ede91f03ce3739e23e8865065eb3683262e5eb02..d9cbd2533dfed1b9e068f82ee75686bda7e35d05 100644 --- a/arkoala/arkui/src/generated/peers/ArkTextInputPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTextInputPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, MenuPolicy } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -76,11 +72,11 @@ import { TextMenuItemId } from "./../ArkTextMenuItemIdMaterialized" import { TextInputController } from "./../ArkTextInputControllerMaterialized" import { TextContentControllerBase } from "./../ArkTextContentControllerBaseMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkTextPeer.ts b/arkoala/arkui/src/generated/peers/ArkTextPeer.ts index 9092ad401e0ab21de589c8de383f988b3ceba40a..fc6b589a066f114677f17b61d765b2094e8881c3 100644 --- a/arkoala/arkui/src/generated/peers/ArkTextPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTextPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -78,11 +74,11 @@ import { LayoutManager } from "./../ArkLayoutManagerMaterialized" import { ImageAttachment } from "./../ArkImageAttachmentMaterialized" import { CustomSpan } from "./../ArkCustomSpanMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkTextPickerPeer.ts b/arkoala/arkui/src/generated/peers/ArkTextPickerPeer.ts index f7e62640845b01f08ce7a21ad45cabe32abe3e58..183a5e47ba218f018c205e6d295bc442bd91cdd0 100644 --- a/arkoala/arkui/src/generated/peers/ArkTextPickerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTextPickerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PickerTextStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { DividerOptions, TextPickerOptions, TextPickerAttribute, TextPickerRangeContent, TextCascadePickerRangeContent } from "./../ArkTextPickerInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkTextTimerPeer.ts b/arkoala/arkui/src/generated/peers/ArkTextTimerPeer.ts index 76cb7dd855ea7e8f3b4c77beeda761e882f7bdbf..a34054ad7d49b5213afa1e7bbcfd083c03cdf57a 100644 --- a/arkoala/arkui/src/generated/peers/ArkTextTimerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTextTimerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -69,11 +65,11 @@ import { GestureEvent } from "./../ArkGestureEventMaterialized" import { TextTimerConfiguration, TextTimerOptions, TextTimerAttribute } from "./../ArkTextTimerInterfaces" import { TextTimerController } from "./../ArkTextTimerControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkTimePickerPeer.ts b/arkoala/arkui/src/generated/peers/ArkTimePickerPeer.ts index 162a06dcab5506cc8f19d4e25f11ff61ab891605..6c2ac9ab9cd4efb156c9c4ae61286e0361464268 100644 --- a/arkoala/arkui/src/generated/peers/ArkTimePickerPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTimePickerPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, PickerTextStyle } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { DateTimeOptions, TimePickerResult, TimePickerOptions, TimePickerAttribute, TimePickerFormat } from "./../ArkTimePickerInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkTogglePeer.ts b/arkoala/arkui/src/generated/peers/ArkTogglePeer.ts index 6b89ba2c11651fe6adc7fabdac9d2ed4962e3e0b..b684f75a4b49120c870ed7d8aff1da17607ec715 100644 --- a/arkoala/arkui/src/generated/peers/ArkTogglePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkTogglePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, ContentModifier, CommonConfiguration } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { ToggleConfiguration, SwitchStyle, ToggleOptions, ToggleAttribute, ToggleType } from "./../ArkToggleInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts b/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts new file mode 100644 index 0000000000000000000000000000000000000000..535e2d09659d0e6aa89ac98266298cd5725a4e83 --- /dev/null +++ b/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts @@ -0,0 +1,19374 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, KSerializerBuffer, loadNativeModuleLibrary, NativeBuffer } from "@koalaui/interop" +import { int32, float32 } from "@koalaui/common" +import { Length } from "./../ArkUnitsInterfaces" +export class ArkUIGeneratedNativeModule { + private static _isLoaded: boolean = false + private static _LoadOnce(): boolean { + if ((this._isLoaded) == (false)) + { + this._isLoaded = true + loadNativeModuleLibrary("ArkUIGeneratedNativeModule", ArkUIGeneratedNativeModule) + return true + } + return false + } + static _Root_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Root_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ComponentRoot_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ComponentRoot_construct(id, flags) + } + throw new Error("Not implemented") + } + static _AbilityComponent_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AbilityComponent_construct(id, flags) + } + throw new Error("Not implemented") + } + static _AbilityComponentInterface_setAbilityComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AbilityComponentInterface_setAbilityComponentOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AbilityComponentAttribute_onConnect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AbilityComponentAttribute_onConnect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AbilityComponentAttribute_onDisconnect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AbilityComponentAttribute_onDisconnect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexer_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexer_construct(id, flags) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerInterface_setAlphabetIndexerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerInterface_setAlphabetIndexerOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_onSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_onSelected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_color(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_selectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupBackground(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupBackground(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupSelectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupSelectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupUnselectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupUnselectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupItemBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupItemBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_usingPopup(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_usingPopup(ptr, value) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_selectedFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_selectedFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupItemFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupItemFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_itemSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_itemSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_font(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_onSelect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_onRequestPopupData(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_onRequestPopupData(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_onPopupSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_onPopupSelect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_selected(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_selected(ptr, value) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupPosition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupPosition(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_autoCollapse(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_autoCollapse(ptr, value) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupItemBorderRadius(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupItemBorderRadius(ptr, value) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_itemBorderRadius(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_itemBorderRadius(ptr, value) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupBackgroundBlurStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupBackgroundBlurStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_popupTitleBackground(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_popupTitleBackground(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_enableHapticFeedback(ptr, value) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute_alignStyle(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute_alignStyle(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlphabetIndexerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AlphabetIndexerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Animator_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Animator_construct(id, flags) + } + throw new Error("Not implemented") + } + static _AnimatorInterface_setAnimatorOptions(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorInterface_setAnimatorOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_state(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_state(ptr, value) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_duration(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_duration(ptr, value) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_curve(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_curve(ptr, value) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_delay(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_delay(ptr, value) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_fillMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_fillMode(ptr, value) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_iterations(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_iterations(ptr, value) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_playMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_playMode(ptr, value) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_motion(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_motion(ptr, value) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_onStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_onPause(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_onPause(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_onRepeat(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_onRepeat(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_onCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_onFinish(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimatorAttribute_onFrame(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatorAttribute_onFrame(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Badge_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Badge_construct(id, flags) + } + throw new Error("Not implemented") + } + static _BadgeInterface_setBadgeOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._BadgeInterface_setBadgeOptions0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BadgeInterface_setBadgeOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._BadgeInterface_setBadgeOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Blank_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Blank_construct(id, flags) + } + throw new Error("Not implemented") + } + static _BlankInterface_setBlankOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._BlankInterface_setBlankOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BlankAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._BlankAttribute_color(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Button_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Button_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ButtonInterface_setButtonOptions0(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonInterface_setButtonOptions0(ptr) + } + throw new Error("Not implemented") + } + static _ButtonInterface_setButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonInterface_setButtonOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ButtonInterface_setButtonOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonInterface_setButtonOptions2(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_type(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_type(ptr, value) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_stateEffect(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_stateEffect(ptr, value) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_buttonStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_buttonStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_controlSize(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_controlSize(ptr, value) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_role(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_role(ptr, value) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_fontSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_fontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_fontStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_fontStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_fontFamily(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_labelStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_labelStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Calendar_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Calendar_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CalendarInterface_setCalendarOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarInterface_setCalendarOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_showLunar(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_showLunar(ptr, value) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_showHoliday(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_showHoliday(ptr, value) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_needSlide(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_needSlide(ptr, value) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_startOfWeek(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_startOfWeek(ptr, value) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_offDays(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_offDays(ptr, value) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_direction(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_direction(ptr, value) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_currentDayStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_currentDayStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_nonCurrentDayStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_nonCurrentDayStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_todayStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_todayStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_weekStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_weekStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_workStateStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_workStateStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_onSelectChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_onSelectChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarAttribute_onRequestData(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarAttribute_onRequestData(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarPicker_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarPicker_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CalendarPickerInterface_setCalendarPickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarPickerInterface_setCalendarPickerOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarPickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarPickerAttribute_textStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarPickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarPickerAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarPickerAttribute_edgeAlign(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarPickerAttribute_edgeAlign(ptr, alignType, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Canvas_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Canvas_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CanvasInterface_setCanvasOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasInterface_setCanvasOptions0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasInterface_setCanvasOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasInterface_setCanvasOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasAttribute_onReady(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasAttribute_enableAnalyzer(ptr, value) + } + throw new Error("Not implemented") + } + static _Checkbox_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Checkbox_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CheckboxInterface_setCheckboxOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxInterface_setCheckboxOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxAttribute_select(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxAttribute_select(ptr, value) + } + throw new Error("Not implemented") + } + static _CheckboxAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxAttribute_selectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxAttribute_shape(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxAttribute_shape(ptr, value) + } + throw new Error("Not implemented") + } + static _CheckboxAttribute_unselectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxAttribute_unselectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxAttribute_mark(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxAttribute_mark(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxAttribute__onChangeEvent_select(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxAttribute__onChangeEvent_select(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxGroup_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxGroup_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CheckboxGroupInterface_setCheckboxGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxGroupInterface_setCheckboxGroupOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxGroupAttribute_selectAll(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxGroupAttribute_selectAll(ptr, value) + } + throw new Error("Not implemented") + } + static _CheckboxGroupAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxGroupAttribute_selectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxGroupAttribute_unselectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxGroupAttribute_unselectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxGroupAttribute_mark(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxGroupAttribute_mark(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxGroupAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxGroupAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CheckboxGroupAttribute_checkboxShape(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxGroupAttribute_checkboxShape(ptr, value) + } + throw new Error("Not implemented") + } + static _CheckboxGroupAttribute__onChangeEvent_selectAll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CheckboxGroupAttribute__onChangeEvent_selectAll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Circle_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Circle_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CircleInterface_setCircleOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CircleInterface_setCircleOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Column_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Column_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ColumnInterface_setColumnOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ColumnInterface_setColumnOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ColumnAttribute_alignItems(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ColumnAttribute_alignItems(ptr, value) + } + throw new Error("Not implemented") + } + static _ColumnAttribute_justifyContent(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ColumnAttribute_justifyContent(ptr, value) + } + throw new Error("Not implemented") + } + static _ColumnAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ColumnAttribute_pointLight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ColumnAttribute_reverse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ColumnAttribute_reverse(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ColumnSplit_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColumnSplit_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ColumnSplitInterface_setColumnSplitOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ColumnSplitInterface_setColumnSplitOptions(ptr) + } + throw new Error("Not implemented") + } + static _ColumnSplitAttribute_resizeable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ColumnSplitAttribute_resizeable(ptr, value) + } + throw new Error("Not implemented") + } + static _ColumnSplitAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ColumnSplitAttribute_divider(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CommonMethod_width(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_width(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_height(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_height(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_drawModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_drawModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_responseRegion(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_responseRegion(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_mouseResponseRegion(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_mouseResponseRegion(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_constraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_constraintSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_touchable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_touchable(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_hitTestBehavior(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_hitTestBehavior(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_onChildTouchTest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onChildTouchTest(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_layoutWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_layoutWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_chainWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_chainWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_padding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_padding(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_safeAreaPadding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_safeAreaPadding(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_margin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_margin(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_pixelRound(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_pixelRound(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundImageSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundImageSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundImagePosition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundImagePosition(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundEffect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundImageResizable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundImageResizable(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_foregroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_foregroundEffect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_visualEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_visualEffect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundFilter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_foregroundFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_foregroundFilter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_compositingFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_compositingFilter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_opacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_opacity(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_border(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_border(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_borderStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_borderStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_borderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_borderWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_borderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_borderColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_borderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_borderRadius(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_borderImage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_borderImage(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_outline(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_outline(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_outlineStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_outlineStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_outlineWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_outlineWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_outlineColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_outlineColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_outlineRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_outlineRadius(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_foregroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_foregroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onClick0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onClick0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onClick1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, distanceThreshold: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onClick1(ptr, thisArray, thisLength, distanceThreshold) + } + throw new Error("Not implemented") + } + static _CommonMethod_onHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onHover(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onAccessibilityHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onAccessibilityHover(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_hoverEffect(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_hoverEffect(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_onMouse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onMouse(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onTouch(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onKeyEvent(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onKeyPreIme(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onKeyPreIme(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_focusable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_focusable(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_onFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onFocus(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onBlur(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_tabIndex(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_tabIndex(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_defaultFocus(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_defaultFocus(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_groupDefaultFocus(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_groupDefaultFocus(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_focusOnTouch(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_focusOnTouch(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_focusBox(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_focusBox(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_animation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_animation(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_transition0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_transition0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_transition1(ptr: KPointer, effect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_transition1(ptr, effect, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_motionBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_motionBlur(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_brightness(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_brightness(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_contrast(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_contrast(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_grayscale(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_grayscale(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_colorBlend(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_colorBlend(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_saturate(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_saturate(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_sepia(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_sepia(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_invert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_invert(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_hueRotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_hueRotate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_useShadowBatching(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_useShadowBatching(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_useEffect0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_useEffect0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_useEffect1(ptr: KPointer, useEffect: KInt, effectType: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_useEffect1(ptr, useEffect, effectType) + } + throw new Error("Not implemented") + } + static _CommonMethod_renderGroup(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_renderGroup(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_freeze(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_freeze(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_translate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_translate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_scale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_scale(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_gridSpan(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_gridSpan(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_gridOffset(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_gridOffset(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_rotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_rotate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_transform(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_transform(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onAppear(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onDisAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onDisAppear(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onAttach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onAttach(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onDetach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onDetach(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onAreaChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onAreaChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_visibility(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_visibility(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_flexGrow(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_flexGrow(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_flexShrink(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_flexShrink(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_flexBasis(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_flexBasis(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_alignSelf(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_alignSelf(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_displayPriority(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_displayPriority(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_zIndex(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_zIndex(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_direction(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_direction(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_align(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_align(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_markAnchor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_markAnchor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_enabled(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_enabled(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_useSizeType(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_useSizeType(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_alignRules0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_alignRules0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_alignRules1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_alignRules1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_aspectRatio(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_aspectRatio(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_clickEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_clickEffect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onDragStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onDragStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onDragEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onDragEnter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onDragMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onDragMove(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onDragLeave(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onDragLeave(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onDrop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onDragEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onDragEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_allowDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_allowDrop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_draggable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_draggable(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_dragPreview(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_dragPreview(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onPreDrag(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onPreDrag(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_linearGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_linearGradient(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_sweepGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_sweepGradient(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_radialGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_radialGradient(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_motionPath(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_motionPath(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_shadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_shadow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_clip0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_clip0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_clip1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_clip1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_clipShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_clipShape(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_mask0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_mask0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_mask1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_mask1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_maskShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_maskShape(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_key(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_key(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_id(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_id(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_geometryTransition0(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_geometryTransition0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_geometryTransition1(ptr: KPointer, id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_geometryTransition1(ptr, id, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_stateStyles(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_stateStyles(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_restoreId(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_restoreId(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_sphericalEffect(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_sphericalEffect(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_lightUpEffect(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_lightUpEffect(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_pixelStretchEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_pixelStretchEffect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityGroup0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityGroup0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityGroup1(ptr: KPointer, isGroup: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityGroup1(ptr, isGroup, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityText0(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityText0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityText1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityText1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityTextHint(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityTextHint(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityDescription0(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityDescription0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityDescription1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityDescription1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityLevel(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityLevel(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityVirtualNode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityVirtualNode(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityChecked(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityChecked(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilitySelected(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilitySelected(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_obscured(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_obscured(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_reuseId(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_reuseId(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_renderFit(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_renderFit(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_gestureModifier(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_gestureModifier(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundBrightness(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundBrightness(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onGestureJudgeBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onGestureJudgeBegin(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onGestureRecognizerJudgeBegin0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onGestureRecognizerJudgeBegin0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onGestureRecognizerJudgeBegin1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, exposeInnerGesture: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onGestureRecognizerJudgeBegin1(ptr, thisArray, thisLength, exposeInnerGesture) + } + throw new Error("Not implemented") + } + static _CommonMethod_shouldBuiltInRecognizerParallelWith(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_shouldBuiltInRecognizerParallelWith(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_monopolizeEvents(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_monopolizeEvents(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_onTouchIntercept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onTouchIntercept(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onSizeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onSizeChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_customProperty(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_customProperty(ptr, name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_expandSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_expandSafeArea(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_background(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_background(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundImage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundImage(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundBlurStyle(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundBlurStyle(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_foregroundBlurStyle(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_foregroundBlurStyle(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_focusScopeId0(ptr: KPointer, id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_focusScopeId0(ptr, id, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_focusScopeId1(ptr: KPointer, id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_focusScopeId1(ptr, id, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_focusScopePriority(ptr: KPointer, scopeId: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_focusScopePriority(ptr, scopeId, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_gesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_gesture(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_priorityGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_priorityGesture(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_parallelGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_parallelGesture(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_blur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_blur(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_linearGradientBlur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_linearGradientBlur(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_systemBarEffect(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_systemBarEffect(ptr) + } + throw new Error("Not implemented") + } + static _CommonMethod_backdropBlur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backdropBlur(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_sharedTransition(ptr: KPointer, id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_sharedTransition(ptr, id, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_chainMode(ptr: KPointer, direction: KInt, style: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_chainMode(ptr, direction, style) + } + throw new Error("Not implemented") + } + static _CommonMethod_dragPreviewOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_dragPreviewOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_overlay(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_overlay(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_blendMode(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_blendMode(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_advancedBlendMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_advancedBlendMode(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_bindPopup(ptr: KPointer, show: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_bindPopup(ptr, show, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_bindMenu0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_bindMenu0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_bindMenu1(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_bindMenu1(ptr, isShow, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_bindContextMenu0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, responseType: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_bindContextMenu0(ptr, thisArray, thisLength, responseType) + } + throw new Error("Not implemented") + } + static _CommonMethod_bindContextMenu1(ptr: KPointer, isShown: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_bindContextMenu1(ptr, isShown, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_bindContentCover0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_bindContentCover0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_bindContentCover1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_bindContentCover1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_bindSheet(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_bindSheet(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onVisibleAreaChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onVisibleAreaChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_keyboardShortcut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_keyboardShortcut(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_stroke(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_stroke(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_strokeDashOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_strokeDashOffset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_strokeLineCap(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_strokeLineCap(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_strokeLineJoin(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_strokeLineJoin(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_strokeMiterLimit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_strokeMiterLimit(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_strokeOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_strokeOpacity(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_fillOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_fillOpacity(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_strokeWidth(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_strokeWidth(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_antiAlias(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_antiAlias(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonShapeMethod_strokeDashArray(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShapeMethod_strokeDashArray(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Common_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Common_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CommonInterface_setCommonOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonInterface_setCommonOptions(ptr) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_scrollBar(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_scrollBar(ptr, value) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_scrollBarColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_scrollBarColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_scrollBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_scrollBarWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_nestedScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_enableScrollInteraction(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_enableScrollInteraction(ptr, value) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_friction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_onScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_onReachStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_onReachEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_onScrollStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_onScrollStop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_flingSpeedLimit(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_flingSpeedLimit(ptr, value) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_clipContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_clipContent(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_edgeEffect(ptr, edgeEffect, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableCommonMethod_fadingEdge(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableCommonMethod_fadingEdge(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Component3D_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Component3D_construct(id, flags) + } + throw new Error("Not implemented") + } + static _Component3DInterface_setComponent3DOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._Component3DInterface_setComponent3DOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Component3DAttribute_environment(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._Component3DAttribute_environment(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Component3DAttribute_shader(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._Component3DAttribute_shader(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Component3DAttribute_shaderImageTexture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._Component3DAttribute_shaderImageTexture(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Component3DAttribute_shaderInputBuffer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._Component3DAttribute_shaderInputBuffer(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Component3DAttribute_renderWidth(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._Component3DAttribute_renderWidth(ptr, value) + } + throw new Error("Not implemented") + } + static _Component3DAttribute_renderHeight(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._Component3DAttribute_renderHeight(ptr, value) + } + throw new Error("Not implemented") + } + static _Component3DAttribute_customRender(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, selfRenderUpdate: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._Component3DAttribute_customRender(ptr, thisArray, thisLength, selfRenderUpdate) + } + throw new Error("Not implemented") + } + static _ContainerSpan_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ContainerSpan_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ContainerSpanInterface_setContainerSpanOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ContainerSpanInterface_setContainerSpanOptions(ptr) + } + throw new Error("Not implemented") + } + static _ContainerSpanAttribute_textBackgroundStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ContainerSpanAttribute_textBackgroundStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Counter_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Counter_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CounterInterface_setCounterOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CounterInterface_setCounterOptions(ptr) + } + throw new Error("Not implemented") + } + static _CounterAttribute_onInc(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CounterAttribute_onInc(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CounterAttribute_onDec(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CounterAttribute_onDec(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CounterAttribute_enableDec(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CounterAttribute_enableDec(ptr, value) + } + throw new Error("Not implemented") + } + static _CounterAttribute_enableInc(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CounterAttribute_enableInc(ptr, value) + } + throw new Error("Not implemented") + } + static _DataPanel_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DataPanel_construct(id, flags) + } + throw new Error("Not implemented") + } + static _DataPanelInterface_setDataPanelOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DataPanelInterface_setDataPanelOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DataPanelAttribute_closeEffect(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._DataPanelAttribute_closeEffect(ptr, value) + } + throw new Error("Not implemented") + } + static _DataPanelAttribute_valueColors(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DataPanelAttribute_valueColors(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DataPanelAttribute_trackBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DataPanelAttribute_trackBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DataPanelAttribute_strokeWidth(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._DataPanelAttribute_strokeWidth(ptr, value) + } + throw new Error("Not implemented") + } + static _DataPanelAttribute_trackShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DataPanelAttribute_trackShadow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DataPanelAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DataPanelAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DatePicker_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DatePicker_construct(id, flags) + } + throw new Error("Not implemented") + } + static _DatePickerInterface_setDatePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DatePickerInterface_setDatePickerOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DatePickerAttribute_lunar(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._DatePickerAttribute_lunar(ptr, value) + } + throw new Error("Not implemented") + } + static _DatePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DatePickerAttribute_disappearTextStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DatePickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DatePickerAttribute_textStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DatePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DatePickerAttribute_selectedTextStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DatePickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DatePickerAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DatePickerAttribute_onDateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DatePickerAttribute_onDateChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DatePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DatePickerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Divider_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Divider_construct(id, flags) + } + throw new Error("Not implemented") + } + static _DividerInterface_setDividerOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._DividerInterface_setDividerOptions(ptr) + } + throw new Error("Not implemented") + } + static _DividerAttribute_vertical(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._DividerAttribute_vertical(ptr, value) + } + throw new Error("Not implemented") + } + static _DividerAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DividerAttribute_color(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DividerAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DividerAttribute_strokeWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DividerAttribute_lineCap(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._DividerAttribute_lineCap(ptr, value) + } + throw new Error("Not implemented") + } + static _EffectComponent_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EffectComponent_construct(id, flags) + } + throw new Error("Not implemented") + } + static _EffectComponentInterface_setEffectComponentOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._EffectComponentInterface_setEffectComponentOptions(ptr) + } + throw new Error("Not implemented") + } + static _Ellipse_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Ellipse_construct(id, flags) + } + throw new Error("Not implemented") + } + static _EllipseInterface_setEllipseOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseInterface_setEllipseOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EmbeddedComponent_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EmbeddedComponent_construct(id, flags) + } + throw new Error("Not implemented") + } + static _EmbeddedComponentInterface_setEmbeddedComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, type: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._EmbeddedComponentInterface_setEmbeddedComponentOptions(ptr, thisArray, thisLength, type) + } + throw new Error("Not implemented") + } + static _EmbeddedComponentAttribute_onTerminated(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._EmbeddedComponentAttribute_onTerminated(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EmbeddedComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._EmbeddedComponentAttribute_onError(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Flex_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Flex_construct(id, flags) + } + throw new Error("Not implemented") + } + static _FlexInterface_setFlexOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FlexInterface_setFlexOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FlexAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FlexAttribute_pointLight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FlowItem_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FlowItem_construct(id, flags) + } + throw new Error("Not implemented") + } + static _FlowItemInterface_setFlowItemOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FlowItemInterface_setFlowItemOptions(ptr) + } + throw new Error("Not implemented") + } + static _FolderStack_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FolderStack_construct(id, flags) + } + throw new Error("Not implemented") + } + static _FolderStackInterface_setFolderStackOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FolderStackInterface_setFolderStackOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FolderStackAttribute_alignContent(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._FolderStackAttribute_alignContent(ptr, value) + } + throw new Error("Not implemented") + } + static _FolderStackAttribute_onFolderStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FolderStackAttribute_onFolderStateChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FolderStackAttribute_onHoverStatusChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FolderStackAttribute_onHoverStatusChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FolderStackAttribute_enableAnimation(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._FolderStackAttribute_enableAnimation(ptr, value) + } + throw new Error("Not implemented") + } + static _FolderStackAttribute_autoHalfFold(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._FolderStackAttribute_autoHalfFold(ptr, value) + } + throw new Error("Not implemented") + } + static _FormComponent_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponent_construct(id, flags) + } + throw new Error("Not implemented") + } + static _FormComponentInterface_setFormComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentInterface_setFormComponentOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_moduleName(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_moduleName(ptr, value) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_dimension(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_dimension(ptr, value) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_allowUpdate(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_allowUpdate(ptr, value) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_visibility(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_visibility(ptr, value) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_onAcquired(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_onAcquired(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_onError(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_onRouter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_onRouter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_onUninstall(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_onUninstall(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FormComponentAttribute_onLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormComponentAttribute_onLoad(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FormLink_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FormLink_construct(id, flags) + } + throw new Error("Not implemented") + } + static _FormLinkInterface_setFormLinkOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FormLinkInterface_setFormLinkOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Gauge_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Gauge_construct(id, flags) + } + throw new Error("Not implemented") + } + static _GaugeInterface_setGaugeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeInterface_setGaugeOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_value(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_value(ptr, value) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_startAngle(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_startAngle(ptr, value) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_endAngle(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_endAngle(ptr, value) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_colors(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_colors(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_strokeWidth(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_strokeWidth(ptr, value) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_description(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_description(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_trackShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_trackShadow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_indicator(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_indicator(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_privacySensitive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_privacySensitive(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GaugeAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GaugeAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Grid_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Grid_construct(id, flags) + } + throw new Error("Not implemented") + } + static _GridInterface_setGridOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridInterface_setGridOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_columnsTemplate(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_rowsTemplate(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_rowsTemplate(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_columnsGap(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_columnsGap(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_rowsGap(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_rowsGap(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_scrollBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_scrollBarWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_scrollBarColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_scrollBarColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_scrollBar(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_scrollBar(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_onScrollBarUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onScrollBarUpdate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onScrollIndex(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_cachedCount0(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_cachedCount0(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_cachedCount1(ptr, count, show) + } + throw new Error("Not implemented") + } + static _GridAttribute_editMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_editMode(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_multiSelectable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_multiSelectable(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_maxCount(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_maxCount(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_minCount(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_minCount(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_cellLength(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_cellLength(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_layoutDirection(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_layoutDirection(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_supportAnimation(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_supportAnimation(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_onItemDragStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onItemDragStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onItemDragEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onItemDragEnter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onItemDragMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onItemDragMove(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onItemDragLeave(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onItemDragLeave(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onItemDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onItemDrop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_nestedScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_enableScrollInteraction(ptr, value) + } + throw new Error("Not implemented") + } + static _GridAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_friction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_alignItems(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_alignItems(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onReachStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onReachEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onScrollStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onScrollStop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridAttribute_edgeEffect(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridAttribute_edgeEffect(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridItem_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GridItem_construct(id, flags) + } + throw new Error("Not implemented") + } + static _GridItemInterface_setGridItemOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemInterface_setGridItemOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridItemAttribute_rowStart(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemAttribute_rowStart(ptr, value) + } + throw new Error("Not implemented") + } + static _GridItemAttribute_rowEnd(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemAttribute_rowEnd(ptr, value) + } + throw new Error("Not implemented") + } + static _GridItemAttribute_columnStart(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemAttribute_columnStart(ptr, value) + } + throw new Error("Not implemented") + } + static _GridItemAttribute_columnEnd(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemAttribute_columnEnd(ptr, value) + } + throw new Error("Not implemented") + } + static _GridItemAttribute_forceRebuild(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemAttribute_forceRebuild(ptr, value) + } + throw new Error("Not implemented") + } + static _GridItemAttribute_selectable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemAttribute_selectable(ptr, value) + } + throw new Error("Not implemented") + } + static _GridItemAttribute_selected(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemAttribute_selected(ptr, value) + } + throw new Error("Not implemented") + } + static _GridItemAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemAttribute_onSelect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridItemAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridItemAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridCol_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GridCol_construct(id, flags) + } + throw new Error("Not implemented") + } + static _GridColInterface_setGridColOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridColInterface_setGridColOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridColAttribute_span(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridColAttribute_span(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridColAttribute_gridColOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridColAttribute_gridColOffset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridColAttribute_order(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridColAttribute_order(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridContainer_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GridContainer_construct(id, flags) + } + throw new Error("Not implemented") + } + static _GridContainerInterface_setGridContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridContainerInterface_setGridContainerOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridRow_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GridRow_construct(id, flags) + } + throw new Error("Not implemented") + } + static _GridRowInterface_setGridRowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridRowInterface_setGridRowOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridRowAttribute_onBreakpointChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridRowAttribute_onBreakpointChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GridRowAttribute_alignItems(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GridRowAttribute_alignItems(ptr, value) + } + throw new Error("Not implemented") + } + static _Hyperlink_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Hyperlink_construct(id, flags) + } + throw new Error("Not implemented") + } + static _HyperlinkInterface_setHyperlinkOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._HyperlinkInterface_setHyperlinkOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _HyperlinkAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._HyperlinkAttribute_color(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Image_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Image_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ImageInterface_setImageOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageInterface_setImageOptions0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageInterface_setImageOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageInterface_setImageOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageInterface_setImageOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageInterface_setImageOptions2(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_alt(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_alt(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_matchTextDirection(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_matchTextDirection(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_fitOriginalSize(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_fitOriginalSize(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_fillColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_fillColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_objectFit(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_objectFit(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_objectRepeat(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_objectRepeat(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_autoResize(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_autoResize(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_renderMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_renderMode(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_dynamicRangeMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_dynamicRangeMode(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_interpolation(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_interpolation(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_sourceSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_sourceSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_syncLoad(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_syncLoad(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_colorFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_colorFilter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_copyOption(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_copyOption(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_draggable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_draggable(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_pointLight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_edgeAntialiasing(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_edgeAntialiasing(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_onComplete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_onError(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_onFinish(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_enableAnalyzer(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_analyzerConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_analyzerConfig(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_resizable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_resizable(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttribute_privacySensitive(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_privacySensitive(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAttribute_enhancedImageQuality(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttribute_enhancedImageQuality(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAnimator_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimator_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ImageAnimatorInterface_setImageAnimatorOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorInterface_setImageAnimatorOptions(ptr) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_images(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_images(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_state(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_state(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_duration(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_duration(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_reverse(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_reverse(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_fixedSize(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_fixedSize(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_preDecode(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_preDecode(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_fillMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_fillMode(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_iterations(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_iterations(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_onStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_onPause(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_onPause(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_onRepeat(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_onRepeat(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_onCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAnimatorAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnimatorAttribute_onFinish(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageSpan_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageSpan_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ImageSpanInterface_setImageSpanOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageSpanInterface_setImageSpanOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageSpanAttribute_verticalAlign(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageSpanAttribute_verticalAlign(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageSpanAttribute_colorFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageSpanAttribute_colorFilter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageSpanAttribute_objectFit(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageSpanAttribute_objectFit(ptr, value) + } + throw new Error("Not implemented") + } + static _ImageSpanAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageSpanAttribute_onComplete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageSpanAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageSpanAttribute_onError(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageSpanAttribute_alt(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageSpanAttribute_alt(ptr, value) + } + throw new Error("Not implemented") + } + static _Line_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Line_construct(id, flags) + } + throw new Error("Not implemented") + } + static _LineInterface_setLineOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LineInterface_setLineOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LineAttribute_startPoint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LineAttribute_startPoint(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LineAttribute_endPoint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LineAttribute_endPoint(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _List_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._List_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ListInterface_setListOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListInterface_setListOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_alignListItem(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_alignListItem(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_listDirection(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_listDirection(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_scrollBar(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_scrollBar(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_contentStartOffset(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_contentStartOffset(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_contentEndOffset(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_contentEndOffset(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_divider(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_editMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_editMode(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_multiSelectable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_multiSelectable(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_cachedCount0(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_cachedCount0(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_cachedCount1(ptr, count, show) + } + throw new Error("Not implemented") + } + static _ListAttribute_chainAnimation(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_chainAnimation(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_chainAnimationOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_chainAnimationOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_sticky(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_sticky(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_scrollSnapAlign(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_scrollSnapAlign(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_nestedScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_enableScrollInteraction(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_friction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_childrenMainSize(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_childrenMainSize(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_maintainVisibleContentPosition(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_maintainVisibleContentPosition(ptr, value) + } + throw new Error("Not implemented") + } + static _ListAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onScrollIndex(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onScrollVisibleContentChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onScrollVisibleContentChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onReachStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onReachEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onScrollStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onScrollStop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onItemDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onItemDelete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onItemMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onItemMove(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onItemDragStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onItemDragStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onItemDragEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onItemDragEnter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onItemDragMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onItemDragMove(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onItemDragLeave(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onItemDragLeave(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onItemDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onItemDrop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_lanes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_lanes(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListAttribute_edgeEffect(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListAttribute_edgeEffect(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListItem_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ListItem_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ListItemInterface_setListItemOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemInterface_setListItemOptions0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListItemInterface_setListItemOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemInterface_setListItemOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListItemAttribute_sticky(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemAttribute_sticky(ptr, value) + } + throw new Error("Not implemented") + } + static _ListItemAttribute_editable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemAttribute_editable(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListItemAttribute_selectable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemAttribute_selectable(ptr, value) + } + throw new Error("Not implemented") + } + static _ListItemAttribute_selected(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemAttribute_selected(ptr, value) + } + throw new Error("Not implemented") + } + static _ListItemAttribute_swipeAction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemAttribute_swipeAction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListItemAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemAttribute_onSelect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListItemAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListItemGroup_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemGroup_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ListItemGroupInterface_setListItemGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemGroupInterface_setListItemGroupOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListItemGroupAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemGroupAttribute_divider(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListItemGroupAttribute_childrenMainSize(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListItemGroupAttribute_childrenMainSize(ptr, value) + } + throw new Error("Not implemented") + } + static _LoadingProgress_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LoadingProgress_construct(id, flags) + } + throw new Error("Not implemented") + } + static _LoadingProgressInterface_setLoadingProgressOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._LoadingProgressInterface_setLoadingProgressOptions(ptr) + } + throw new Error("Not implemented") + } + static _LoadingProgressAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LoadingProgressAttribute_color(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LoadingProgressAttribute_enableLoading(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LoadingProgressAttribute_enableLoading(ptr, value) + } + throw new Error("Not implemented") + } + static _LoadingProgressAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LoadingProgressAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LocationButton_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LocationButton_construct(id, flags) + } + throw new Error("Not implemented") + } + static _LocationButtonInterface_setLocationButtonOptions0(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._LocationButtonInterface_setLocationButtonOptions0(ptr) + } + throw new Error("Not implemented") + } + static _LocationButtonInterface_setLocationButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LocationButtonInterface_setLocationButtonOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LocationButtonAttribute_onClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LocationButtonAttribute_onClick(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Marquee_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Marquee_construct(id, flags) + } + throw new Error("Not implemented") + } + static _MarqueeInterface_setMarqueeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeInterface_setMarqueeOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MarqueeAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MarqueeAttribute_fontSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeAttribute_fontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _MarqueeAttribute_allowScale(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeAttribute_allowScale(ptr, value) + } + throw new Error("Not implemented") + } + static _MarqueeAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeAttribute_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MarqueeAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeAttribute_fontFamily(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MarqueeAttribute_marqueeUpdateStrategy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeAttribute_marqueeUpdateStrategy(ptr, value) + } + throw new Error("Not implemented") + } + static _MarqueeAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeAttribute_onStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MarqueeAttribute_onBounce(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeAttribute_onBounce(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MarqueeAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MarqueeAttribute_onFinish(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MediaCachedImage_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MediaCachedImage_construct(id, flags) + } + throw new Error("Not implemented") + } + static _MediaCachedImageInterface_setMediaCachedImageOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MediaCachedImageInterface_setMediaCachedImageOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Menu_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Menu_construct(id, flags) + } + throw new Error("Not implemented") + } + static _MenuInterface_setMenuOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuInterface_setMenuOptions(ptr) + } + throw new Error("Not implemented") + } + static _MenuAttribute_fontSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuAttribute_fontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _MenuAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuAttribute_font(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuAttribute_radius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuAttribute_radius(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuAttribute_menuItemDivider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuAttribute_menuItemDivider(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuAttribute_menuItemGroupDivider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuAttribute_menuItemGroupDivider(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuAttribute_subMenuExpandingMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuAttribute_subMenuExpandingMode(ptr, value) + } + throw new Error("Not implemented") + } + static _MenuItem_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItem_construct(id, flags) + } + throw new Error("Not implemented") + } + static _MenuItemInterface_setMenuItemOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemInterface_setMenuItemOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuItemAttribute_selected(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemAttribute_selected(ptr, value) + } + throw new Error("Not implemented") + } + static _MenuItemAttribute_selectIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemAttribute_selectIcon(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuItemAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuItemAttribute_contentFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemAttribute_contentFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuItemAttribute_contentFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemAttribute_contentFontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuItemAttribute_labelFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemAttribute_labelFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuItemAttribute_labelFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemAttribute_labelFontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuItemAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MenuItemGroup_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemGroup_construct(id, flags) + } + throw new Error("Not implemented") + } + static _MenuItemGroupInterface_setMenuItemGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MenuItemGroupInterface_setMenuItemGroupOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestination_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestination_construct(id, flags) + } + throw new Error("Not implemented") + } + static _NavDestinationInterface_setNavDestinationOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationInterface_setNavDestinationOptions(ptr) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_hideTitleBar0(ptr, value) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_hideTitleBar1(ptr, hide, animated) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_onShown(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_onShown(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_onHidden(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_onHidden(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_onBackPressed(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_onBackPressed(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_mode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_mode(ptr, value) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_backButtonIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_backButtonIcon(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_menus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_menus(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_onReady(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_onWillAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_onWillAppear(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_onWillDisappear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_onWillDisappear(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_onWillShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_onWillShow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_onWillHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_onWillHide(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_systemBarStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_systemBarStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_recoverable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_recoverable(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_systemTransition(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_systemTransition(ptr, value) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_title(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_toolbarConfiguration(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_hideToolBar(ptr: KPointer, hide: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_hideToolBar(ptr, hide, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavDestinationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationAttribute_ignoreLayoutSafeArea(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavRouter_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavRouter_construct(id, flags) + } + throw new Error("Not implemented") + } + static _NavRouterInterface_setNavRouterOptions0(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavRouterInterface_setNavRouterOptions0(ptr) + } + throw new Error("Not implemented") + } + static _NavRouterInterface_setNavRouterOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavRouterInterface_setNavRouterOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavRouterAttribute_onStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavRouterAttribute_onStateChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavRouterAttribute_mode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavRouterAttribute_mode(ptr, value) + } + throw new Error("Not implemented") + } + static _Navigator_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Navigator_construct(id, flags) + } + throw new Error("Not implemented") + } + static _NavigatorInterface_setNavigatorOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigatorInterface_setNavigatorOptions0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavigatorInterface_setNavigatorOptions1(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigatorInterface_setNavigatorOptions1(ptr) + } + throw new Error("Not implemented") + } + static _NavigatorAttribute_active(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigatorAttribute_active(ptr, value) + } + throw new Error("Not implemented") + } + static _NavigatorAttribute_type(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigatorAttribute_type(ptr, value) + } + throw new Error("Not implemented") + } + static _NavigatorAttribute_target(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigatorAttribute_target(ptr, value) + } + throw new Error("Not implemented") + } + static _NavigatorAttribute_params(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigatorAttribute_params(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NodeContainer_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NodeContainer_construct(id, flags) + } + throw new Error("Not implemented") + } + static _NodeContainerInterface_setNodeContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NodeContainerInterface_setNodeContainerOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Panel_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Panel_construct(id, flags) + } + throw new Error("Not implemented") + } + static _PanelInterface_setPanelOptions(ptr: KPointer, show: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelInterface_setPanelOptions(ptr, show) + } + throw new Error("Not implemented") + } + static _PanelAttribute_mode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_mode(ptr, value) + } + throw new Error("Not implemented") + } + static _PanelAttribute_type(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_type(ptr, value) + } + throw new Error("Not implemented") + } + static _PanelAttribute_dragBar(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_dragBar(ptr, value) + } + throw new Error("Not implemented") + } + static _PanelAttribute_customHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_customHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanelAttribute_fullHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_fullHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanelAttribute_halfHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_halfHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanelAttribute_miniHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_miniHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanelAttribute_show(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_show(ptr, value) + } + throw new Error("Not implemented") + } + static _PanelAttribute_backgroundMask(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_backgroundMask(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanelAttribute_showCloseIcon(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_showCloseIcon(ptr, value) + } + throw new Error("Not implemented") + } + static _PanelAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanelAttribute_onHeightChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute_onHeightChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanelAttribute__onChangeEvent_mode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanelAttribute__onChangeEvent_mode(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PasteButton_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PasteButton_construct(id, flags) + } + throw new Error("Not implemented") + } + static _PasteButtonInterface_setPasteButtonOptions0(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._PasteButtonInterface_setPasteButtonOptions0(ptr) + } + throw new Error("Not implemented") + } + static _PasteButtonInterface_setPasteButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PasteButtonInterface_setPasteButtonOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PasteButtonAttribute_onClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PasteButtonAttribute_onClick(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Path_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Path_construct(id, flags) + } + throw new Error("Not implemented") + } + static _PathInterface_setPathOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PathInterface_setPathOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathAttribute_commands(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._PathAttribute_commands(ptr, value) + } + throw new Error("Not implemented") + } + static _PatternLock_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLock_construct(id, flags) + } + throw new Error("Not implemented") + } + static _PatternLockInterface_setPatternLockOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockInterface_setPatternLockOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_sideLength(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_sideLength(ptr, value) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_circleRadius(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_circleRadius(ptr, value) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_backgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_regularColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_regularColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_selectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_activeColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_activeColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_pathColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_pathColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_pathStrokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_pathStrokeWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_onPatternComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_onPatternComplete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_autoReset(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_autoReset(ptr, value) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_onDotConnect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_onDotConnect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PatternLockAttribute_activateCircleStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockAttribute_activateCircleStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PluginComponent_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PluginComponent_construct(id, flags) + } + throw new Error("Not implemented") + } + static _PluginComponentInterface_setPluginComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PluginComponentInterface_setPluginComponentOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PluginComponentAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PluginComponentAttribute_onComplete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PluginComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PluginComponentAttribute_onError(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Polygon_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Polygon_construct(id, flags) + } + throw new Error("Not implemented") + } + static _PolygonInterface_setPolygonOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PolygonInterface_setPolygonOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PolygonAttribute_points(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PolygonAttribute_points(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Polyline_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Polyline_construct(id, flags) + } + throw new Error("Not implemented") + } + static _PolylineInterface_setPolylineOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PolylineInterface_setPolylineOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PolylineAttribute_points(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PolylineAttribute_points(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Progress_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Progress_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ProgressInterface_setProgressOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressInterface_setProgressOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ProgressAttribute_value(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressAttribute_value(ptr, value) + } + throw new Error("Not implemented") + } + static _ProgressAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressAttribute_color(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ProgressAttribute_style(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressAttribute_style(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ProgressAttribute_privacySensitive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressAttribute_privacySensitive(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ProgressAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _QRCode_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._QRCode_construct(id, flags) + } + throw new Error("Not implemented") + } + static _QRCodeInterface_setQRCodeOptions(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._QRCodeInterface_setQRCodeOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _QRCodeAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._QRCodeAttribute_color(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _QRCodeAttribute_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._QRCodeAttribute_backgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _QRCodeAttribute_contentOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._QRCodeAttribute_contentOpacity(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Radio_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Radio_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RadioInterface_setRadioOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RadioInterface_setRadioOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RadioAttribute_checked(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RadioAttribute_checked(ptr, value) + } + throw new Error("Not implemented") + } + static _RadioAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RadioAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RadioAttribute_radioStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RadioAttribute_radioStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RadioAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RadioAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RadioAttribute__onChangeEvent_checked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RadioAttribute__onChangeEvent_checked(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Rating_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Rating_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RatingInterface_setRatingOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RatingInterface_setRatingOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RatingAttribute_stars(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._RatingAttribute_stars(ptr, value) + } + throw new Error("Not implemented") + } + static _RatingAttribute_stepSize(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._RatingAttribute_stepSize(ptr, value) + } + throw new Error("Not implemented") + } + static _RatingAttribute_starStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RatingAttribute_starStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RatingAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RatingAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RatingAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RatingAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RatingAttribute__onChangeEvent_rating(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RatingAttribute__onChangeEvent_rating(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Rect_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Rect_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RectInterface_setRectOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RectInterface_setRectOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectAttribute_radiusWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RectAttribute_radiusWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectAttribute_radiusHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RectAttribute_radiusHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectAttribute_radius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RectAttribute_radius(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Refresh_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Refresh_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RefreshInterface_setRefreshOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RefreshInterface_setRefreshOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RefreshAttribute_onStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RefreshAttribute_onStateChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RefreshAttribute_onRefreshing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RefreshAttribute_onRefreshing(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RefreshAttribute_refreshOffset(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._RefreshAttribute_refreshOffset(ptr, value) + } + throw new Error("Not implemented") + } + static _RefreshAttribute_pullToRefresh(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RefreshAttribute_pullToRefresh(ptr, value) + } + throw new Error("Not implemented") + } + static _RefreshAttribute_onOffsetChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RefreshAttribute_onOffsetChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RefreshAttribute_pullDownRatio(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RefreshAttribute_pullDownRatio(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RefreshAttribute__onChangeEvent_refreshing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RefreshAttribute__onChangeEvent_refreshing(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RelativeContainer_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RelativeContainer_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RelativeContainerInterface_setRelativeContainerOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RelativeContainerInterface_setRelativeContainerOptions(ptr) + } + throw new Error("Not implemented") + } + static _RelativeContainerAttribute_guideLine(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RelativeContainerAttribute_guideLine(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RelativeContainerAttribute_barrier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RelativeContainerAttribute_barrier0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RelativeContainerAttribute_barrier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RelativeContainerAttribute_barrier1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditor_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditor_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RichEditorInterface_setRichEditorOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorInterface_setRichEditorOptions0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorInterface_setRichEditorOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorInterface_setRichEditorOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onReady(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onSelect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onSelectionChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_aboutToIMEInput(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_aboutToIMEInput(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onIMEInputComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onIMEInputComplete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onDidIMEInput(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onDidIMEInput(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_aboutToDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_aboutToDelete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onDeleteComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onDeleteComplete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_copyOptions(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_copyOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onPaste(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_enableDataDetector(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_enableDataDetector(ptr, value) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_enablePreviewText(ptr, value) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_dataDetectorConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_dataDetectorConfig(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_caretColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onEditingChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onEditingChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_enterKeyType(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_enterKeyType(ptr, value) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onSubmit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onSubmit(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onWillChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onDidChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onDidChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onCut(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_onCopy(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_editMenuOptions(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_editMenuOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_enableKeyboardOnFocus(ptr, value) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_enableHapticFeedback(ptr, value) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_barState(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_barState(ptr, value) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_bindSelectionMenu(ptr, spanType, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_customKeyboard(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorAttribute_placeholder(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorAttribute_placeholder(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichText_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichText_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RichTextInterface_setRichTextOptions(ptr: KPointer, content: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichTextInterface_setRichTextOptions(ptr, content) + } + throw new Error("Not implemented") + } + static _RichTextAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichTextAttribute_onStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichTextAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichTextAttribute_onComplete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RootScene_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RootScene_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RootSceneInterface_setRootSceneOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RootSceneInterface_setRootSceneOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Row_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Row_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RowInterface_setRowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RowInterface_setRowOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RowAttribute_alignItems(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RowAttribute_alignItems(ptr, value) + } + throw new Error("Not implemented") + } + static _RowAttribute_justifyContent(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RowAttribute_justifyContent(ptr, value) + } + throw new Error("Not implemented") + } + static _RowAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RowAttribute_pointLight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RowAttribute_reverse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RowAttribute_reverse(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RowSplit_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RowSplit_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RowSplitInterface_setRowSplitOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RowSplitInterface_setRowSplitOptions(ptr) + } + throw new Error("Not implemented") + } + static _RowSplitAttribute_resizeable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RowSplitAttribute_resizeable(ptr, value) + } + throw new Error("Not implemented") + } + static _SaveButton_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SaveButton_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SaveButtonInterface_setSaveButtonOptions0(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SaveButtonInterface_setSaveButtonOptions0(ptr) + } + throw new Error("Not implemented") + } + static _SaveButtonInterface_setSaveButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SaveButtonInterface_setSaveButtonOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SaveButtonAttribute_onClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SaveButtonAttribute_onClick(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Screen_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Screen_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ScreenInterface_setScreenOptions(ptr: KPointer, screenId: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScreenInterface_setScreenOptions(ptr, screenId) + } + throw new Error("Not implemented") + } + static _Scroll_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Scroll_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ScrollInterface_setScrollOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollInterface_setScrollOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_scrollable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_scrollable(ptr, value) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_onScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_onWillScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_onWillScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_onDidScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_onDidScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_onScrollEdge(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_onScrollEdge(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_onScrollStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_onScrollEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_onScrollEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_onScrollStop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_scrollBar(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_scrollBar(ptr, value) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_scrollBarColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_scrollBarColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_scrollBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_scrollBarWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_nestedScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_enableScrollInteraction(ptr, value) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_friction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_scrollSnap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_scrollSnap(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_enablePaging(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_enablePaging(ptr, value) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_initialOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_initialOffset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollAttribute_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollAttribute_edgeEffect(ptr, edgeEffect, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollBar_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollBar_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ScrollBarInterface_setScrollBarOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollBarInterface_setScrollBarOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollBarAttribute_enableNestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollBarAttribute_enableNestedScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Search_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Search_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SearchInterface_setSearchOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchInterface_setSearchOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_searchIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_searchIcon(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_cancelButton(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_cancelButton(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_textIndent(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_textIndent(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onEditChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onEditChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_caretStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_caretStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_placeholderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_placeholderColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_placeholderFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_placeholderFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_textFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_textFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_enterKeyType(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_enterKeyType(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onSubmit0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onSubmit0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onSubmit1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onSubmit1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onTextSelectionChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onContentScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onContentScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onCopy(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onCut(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onPaste(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_copyOption(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_copyOption(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_maxLength(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_maxLength(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_textAlign(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_textAlign(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_enableKeyboardOnFocus(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_selectionMenuHidden(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_minFontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_maxFontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_decoration(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_letterSpacing(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_lineHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_type(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_type(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_fontFeature(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onWillInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onWillInsert(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onDidInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onDidInsert(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onWillDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onWillDelete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_onDidDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_onDidDelete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_editMenuOptions(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_editMenuOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_enablePreviewText(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_enableHapticFeedback(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchAttribute_searchButton(ptr: KPointer, value: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_searchButton(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_inputFilter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute_customKeyboard(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SearchAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchAttribute__onChangeEvent_value(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_iconSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_iconSize(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_layoutDirection(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_layoutDirection(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_markAnchor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_markAnchor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_fontSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_fontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_fontStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_fontStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_fontFamily(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_iconColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_iconColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_backgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_borderStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_borderStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_borderWidth(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_borderWidth(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_borderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_borderColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_borderRadius(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_borderRadius(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_padding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_padding(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_textIconSpace(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_textIconSpace(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_key(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_key(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_width(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_width(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_height(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_height(ptr, value) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SecurityComponentMethod_constraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SecurityComponentMethod_constraintSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Select_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Select_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SelectInterface_setSelectOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectInterface_setSelectOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_selected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_value(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_font(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_selectedOptionBgColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_selectedOptionBgColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_selectedOptionFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_selectedOptionFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_selectedOptionFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_selectedOptionFontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_optionBgColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_optionBgColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_optionFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_optionFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_optionFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_optionFontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_onSelect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_space(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_space(ptr, value) + } + throw new Error("Not implemented") + } + static _SelectAttribute_arrowPosition(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_arrowPosition(ptr, value) + } + throw new Error("Not implemented") + } + static _SelectAttribute_optionWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_optionWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_optionHeight(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_optionHeight(ptr, value) + } + throw new Error("Not implemented") + } + static _SelectAttribute_menuBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_menuBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_menuBackgroundBlurStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_menuBackgroundBlurStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _SelectAttribute_controlSize(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_controlSize(ptr, value) + } + throw new Error("Not implemented") + } + static _SelectAttribute_menuItemContentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_menuItemContentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_divider(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute_menuAlign(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute_menuAlign(ptr, alignType, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SelectAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SelectAttribute__onChangeEvent_value(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Shape_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Shape_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ShapeInterface_setShapeOptions0(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeInterface_setShapeOptions0(ptr, value) + } + throw new Error("Not implemented") + } + static _ShapeInterface_setShapeOptions1(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeInterface_setShapeOptions1(ptr) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_viewPort(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_viewPort(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_stroke(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_stroke(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_strokeDashOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_strokeDashOffset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_strokeDashArray(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_strokeDashArray(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_strokeLineCap(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_strokeLineCap(ptr, value) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_strokeLineJoin(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_strokeLineJoin(ptr, value) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_strokeMiterLimit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_strokeMiterLimit(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_strokeOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_strokeOpacity(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_fillOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_fillOpacity(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_strokeWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_antiAlias(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_antiAlias(ptr, value) + } + throw new Error("Not implemented") + } + static _ShapeAttribute_mesh(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, column: number, row: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeAttribute_mesh(ptr, thisArray, thisLength, column, row) + } + throw new Error("Not implemented") + } + static _Slider_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Slider_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SliderInterface_setSliderOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderInterface_setSliderOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_blockColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_blockColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_trackColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_trackColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_selectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_minLabel(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_minLabel(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_maxLabel(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_maxLabel(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_showSteps(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_showSteps(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_trackThickness(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_trackThickness(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_blockBorderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_blockBorderColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_blockBorderWidth(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_blockBorderWidth(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_stepColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_stepColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_trackBorderRadius(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_trackBorderRadius(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_selectedBorderRadius(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_selectedBorderRadius(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_blockSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_blockSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_blockStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_blockStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_stepSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_stepSize(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_sliderInteractionMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_sliderInteractionMode(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_minResponsiveDistance(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_minResponsiveDistance(ptr, value) + } + throw new Error("Not implemented") + } + static _SliderAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_slideRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_slideRange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute_showTips(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute_showTips(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SliderAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SliderAttribute__onChangeEvent_value(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BaseSpan_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseSpan_construct(id, flags) + } + throw new Error("Not implemented") + } + static _BaseSpan_textBackgroundStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseSpan_textBackgroundStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BaseSpan_baselineOffset(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseSpan_baselineOffset(ptr, value) + } + throw new Error("Not implemented") + } + static _Span_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Span_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SpanInterface_setSpanOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanInterface_setSpanOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SpanAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_font(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SpanAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SpanAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_fontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SpanAttribute_fontStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_fontStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _SpanAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SpanAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_fontFamily(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SpanAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_decoration(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SpanAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_letterSpacing(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SpanAttribute_textCase(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_textCase(ptr, value) + } + throw new Error("Not implemented") + } + static _SpanAttribute_lineHeight(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_lineHeight(ptr, value) + } + throw new Error("Not implemented") + } + static _SpanAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SpanAttribute_textShadow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Stack_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Stack_construct(id, flags) + } + throw new Error("Not implemented") + } + static _StackInterface_setStackOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StackInterface_setStackOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StackAttribute_alignContent(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._StackAttribute_alignContent(ptr, value) + } + throw new Error("Not implemented") + } + static _StackAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StackAttribute_pointLight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Stepper_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Stepper_construct(id, flags) + } + throw new Error("Not implemented") + } + static _StepperInterface_setStepperOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperInterface_setStepperOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StepperAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperAttribute_onFinish(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StepperAttribute_onSkip(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperAttribute_onSkip(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StepperAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StepperAttribute_onNext(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperAttribute_onNext(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StepperAttribute_onPrevious(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperAttribute_onPrevious(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StepperAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperAttribute__onChangeEvent_index(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StepperItem_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._StepperItem_construct(id, flags) + } + throw new Error("Not implemented") + } + static _StepperItemInterface_setStepperItemOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperItemInterface_setStepperItemOptions(ptr) + } + throw new Error("Not implemented") + } + static _StepperItemAttribute_prevLabel(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperItemAttribute_prevLabel(ptr, value) + } + throw new Error("Not implemented") + } + static _StepperItemAttribute_nextLabel(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperItemAttribute_nextLabel(ptr, value) + } + throw new Error("Not implemented") + } + static _StepperItemAttribute_status(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._StepperItemAttribute_status(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Swiper_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Swiper_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SwiperInterface_setSwiperOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperInterface_setSwiperOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_index(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_index(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_autoPlay(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_autoPlay(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_interval(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_interval(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_indicator0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_indicator0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_indicator1(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_indicator1(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_loop(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_loop(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_duration(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_duration(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_vertical(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_vertical(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_itemSpace(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_itemSpace(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_displayMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_displayMode(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_cachedCount(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_cachedCount(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_effectMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_effectMode(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_disableSwipe(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_disableSwipe(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_curve(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_curve(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_indicatorStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_indicatorStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_onAnimationStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_onAnimationEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_onAnimationEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_onGestureSwipe(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_onGestureSwipe(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_nestedScroll(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_nestedScroll(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_customContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_customContentTransition(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_onContentDidScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_onContentDidScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_indicatorInteractive(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_indicatorInteractive(ptr, value) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_displayArrow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_displayArrow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_displayCount(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_displayCount(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_prevMargin(ptr: KPointer, value: Length, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_prevMargin(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute_nextMargin(ptr: KPointer, value: Length, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute_nextMargin(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperAttribute__onChangeEvent_index(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _IndicatorComponent_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponent_construct(id, flags) + } + throw new Error("Not implemented") + } + static _IndicatorComponentInterface_setIndicatorComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentInterface_setIndicatorComponentOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _IndicatorComponentAttribute_initialIndex(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentAttribute_initialIndex(ptr, value) + } + throw new Error("Not implemented") + } + static _IndicatorComponentAttribute_count(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentAttribute_count(ptr, value) + } + throw new Error("Not implemented") + } + static _IndicatorComponentAttribute_style(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentAttribute_style(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _IndicatorComponentAttribute_loop(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentAttribute_loop(ptr, value) + } + throw new Error("Not implemented") + } + static _IndicatorComponentAttribute_vertical(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentAttribute_vertical(ptr, value) + } + throw new Error("Not implemented") + } + static _IndicatorComponentAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolGlyph_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolGlyph_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SymbolGlyphInterface_setSymbolGlyphOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolGlyphInterface_setSymbolGlyphOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolGlyphAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolGlyphAttribute_fontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolGlyphAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolGlyphAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolGlyphAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolGlyphAttribute_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolGlyphAttribute_effectStrategy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolGlyphAttribute_effectStrategy(ptr, value) + } + throw new Error("Not implemented") + } + static _SymbolGlyphAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolGlyphAttribute_renderingStrategy(ptr, value) + } + throw new Error("Not implemented") + } + static _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolGlyphAttribute_symbolEffect0(ptr, symbolEffect, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolGlyphAttribute_symbolEffect1(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolGlyphAttribute_symbolEffect1(ptr, symbolEffect, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolSpan_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolSpan_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SymbolSpanInterface_setSymbolSpanOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolSpanInterface_setSymbolSpanOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolSpanAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolSpanAttribute_fontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolSpanAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolSpanAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolSpanAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolSpanAttribute_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolSpanAttribute_effectStrategy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolSpanAttribute_effectStrategy(ptr, value) + } + throw new Error("Not implemented") + } + static _SymbolSpanAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolSpanAttribute_renderingStrategy(ptr, value) + } + throw new Error("Not implemented") + } + static _Tabs_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Tabs_construct(id, flags) + } + throw new Error("Not implemented") + } + static _TabsInterface_setTabsOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsInterface_setTabsOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_vertical(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_vertical(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barPosition(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barPosition(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_scrollable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_scrollable(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barMode0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barMode0(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barMode1(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barMode1(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barWidth(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barWidth(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barHeight(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barHeight(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_animationDuration(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_animationDuration(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_animationMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_animationMode(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_edgeEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_edgeEffect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_onTabBarClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_onTabBarClick(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_onAnimationStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_onAnimationEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_onAnimationEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_onGestureSwipe(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_onGestureSwipe(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_fadingEdge(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_fadingEdge(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_divider(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barOverlap(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barOverlap(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barGridAlign(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barGridAlign(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_customContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_customContentTransition(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barBackgroundBlurStyle0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barBackgroundBlurStyle0(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barBackgroundBlurStyle1(ptr: KPointer, style: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barBackgroundBlurStyle1(ptr, style, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barBackgroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barBackgroundEffect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_onContentWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_onContentWillChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute_barModeScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute_barModeScrollable(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsAttribute__onChangeEvent_index(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabContent_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TabContent_construct(id, flags) + } + throw new Error("Not implemented") + } + static _TabContentInterface_setTabContentOptions(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentInterface_setTabContentOptions(ptr) + } + throw new Error("Not implemented") + } + static _TabContentAttribute_tabBar0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentAttribute_tabBar0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabContentAttribute_tabBar1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentAttribute_tabBar1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabContentAttribute_onWillShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentAttribute_onWillShow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabContentAttribute_onWillHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentAttribute_onWillHide(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Text_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Text_construct(id, flags) + } + throw new Error("Not implemented") + } + static _TextInterface_setTextOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInterface_setTextOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_font0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_font0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_font1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_font1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_fontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_minFontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_maxFontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_minFontScale(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_maxFontScale(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_fontStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_fontStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_fontWeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_fontWeight0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_fontWeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_fontWeight1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_lineSpacing(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_lineSpacing(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_textAlign(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_textAlign(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_lineHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_textOverflow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_textOverflow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_fontFamily(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_maxLines(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_maxLines(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_decoration(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_letterSpacing(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_textCase(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_textCase(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_baselineOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_baselineOffset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_copyOption(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_copyOption(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_draggable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_draggable(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_textShadow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_heightAdaptivePolicy(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_textIndent(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_textIndent(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_wordBreak(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_wordBreak(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_lineBreakStrategy(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_onCopy(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_caretColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_ellipsisMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_ellipsisMode(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_enableDataDetector(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_enableDataDetector(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_dataDetectorConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_dataDetectorConfig(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_onTextSelectionChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_fontFeature(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_privacySensitive(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_privacySensitive(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_textSelectable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_textSelectable(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_editMenuOptions(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_editMenuOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_halfLeading(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_halfLeading(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_enableHapticFeedback(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAttribute_selection(ptr: KPointer, selectionStart: number, selectionEnd: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_selection(ptr, selectionStart, selectionEnd) + } + throw new Error("Not implemented") + } + static _TextAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: KSerializerBuffer, thisLength: int32, responseType: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAttribute_bindSelectionMenu(ptr, spanType, thisArray, thisLength, responseType) + } + throw new Error("Not implemented") + } + static _TextArea_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextArea_construct(id, flags) + } + throw new Error("Not implemented") + } + static _TextAreaInterface_setTextAreaOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaInterface_setTextAreaOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_placeholderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_placeholderColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_placeholderFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_placeholderFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_enterKeyType(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_enterKeyType(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_textAlign(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_textAlign(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_caretColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_fontSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_fontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_fontStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_fontStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_fontFamily(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_textOverflow(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_textOverflow(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_textIndent(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_textIndent(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_caretStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_caretStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onSubmit0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onSubmit0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onSubmit1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onSubmit1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onTextSelectionChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onContentScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onContentScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onEditChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onEditChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onCopy(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onCut(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onPaste(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_copyOption(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_copyOption(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_enableKeyboardOnFocus(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_maxLength(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_maxLength(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_style(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_style(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_barState(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_barState(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_selectionMenuHidden(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_minFontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_maxFontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_heightAdaptivePolicy(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_maxLines(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_maxLines(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_wordBreak(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_wordBreak(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_lineBreakStrategy(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_decoration(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_letterSpacing(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_lineSpacing(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_lineSpacing(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_lineHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_type(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_type(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_enableAutoFill(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_enableAutoFill(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_contentType(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_contentType(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_fontFeature(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onWillInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onWillInsert(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onDidInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onDidInsert(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onWillDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onWillDelete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_onDidDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_onDidDelete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_editMenuOptions(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_editMenuOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_enablePreviewText(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_enableHapticFeedback(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_inputFilter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_showCounter(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_showCounter(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute_customKeyboard(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaAttribute__onChangeEvent_text(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaAttribute__onChangeEvent_text(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextClock_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextClock_construct(id, flags) + } + throw new Error("Not implemented") + } + static _TextClockInterface_setTextClockOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockInterface_setTextClockOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_format(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_format(ptr, value) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_onDateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_onDateChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_fontSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_fontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_fontStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_fontStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_fontFamily(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_textShadow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_fontFeature(ptr, value) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextClockAttribute_dateTimeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockAttribute_dateTimeOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInput_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextInput_construct(id, flags) + } + throw new Error("Not implemented") + } + static _TextInputInterface_setTextInputOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputInterface_setTextInputOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_type(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_type(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_contentType(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_contentType(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_placeholderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_placeholderColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_textOverflow(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_textOverflow(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_textIndent(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_textIndent(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_placeholderFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_placeholderFont(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_enterKeyType(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_enterKeyType(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_caretColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onEditChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onEditChanged(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onEditChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onEditChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onSubmit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onSubmit(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onTextSelectionChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onContentScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onContentScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_maxLength(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_maxLength(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_fontSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_fontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_fontStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_fontStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_fontFamily(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onCopy(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onCut(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onPaste(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_copyOption(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_copyOption(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_showPasswordIcon(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_showPasswordIcon(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_textAlign(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_textAlign(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_style(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_style(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_caretStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_caretStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_caretPosition(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_caretPosition(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_enableKeyboardOnFocus(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_passwordIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_passwordIcon(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_showError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_showError(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_showUnit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_showUnit(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_showUnderline(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_showUnderline(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_underlineColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_underlineColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_selectionMenuHidden(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_barState(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_barState(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_maxLines(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_maxLines(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_wordBreak(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_wordBreak(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_lineBreakStrategy(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_cancelButton0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_cancelButton0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_cancelButton1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_cancelButton1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_selectAll(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_selectAll(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_minFontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_maxFontSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_heightAdaptivePolicy(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_enableAutoFill(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_enableAutoFill(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_decoration(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_letterSpacing(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_lineHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_passwordRules(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_passwordRules(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_fontFeature(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_showPassword(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_showPassword(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onSecurityStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onSecurityStateChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onWillInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onWillInsert(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onDidInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onDidInsert(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onWillDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onWillDelete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_onDidDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_onDidDelete(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_editMenuOptions(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_editMenuOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_enablePreviewText(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_enableHapticFeedback(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_inputFilter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_customKeyboard(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute_showCounter(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute_showCounter(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputAttribute__onChangeEvent_text(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputAttribute__onChangeEvent_text(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPicker_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextPicker_construct(id, flags) + } + throw new Error("Not implemented") + } + static _TextPickerInterface_setTextPickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerInterface_setTextPickerOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_defaultPickerItemHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_defaultPickerItemHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_canLoop(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_canLoop(ptr, value) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_disappearTextStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_textStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_selectedTextStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_onAccept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_onAccept(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_onCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_selectedIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_selectedIndex(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_divider(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute_gradientHeight(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute_gradientHeight(ptr, value) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextPickerAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerAttribute__onChangeEvent_value(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextTimer_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimer_construct(id, flags) + } + throw new Error("Not implemented") + } + static _TextTimerInterface_setTextTimerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerInterface_setTextTimerOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextTimerAttribute_format(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerAttribute_format(ptr, value) + } + throw new Error("Not implemented") + } + static _TextTimerAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerAttribute_fontColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextTimerAttribute_fontSize(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerAttribute_fontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _TextTimerAttribute_fontStyle(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerAttribute_fontStyle(ptr, value) + } + throw new Error("Not implemented") + } + static _TextTimerAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerAttribute_fontWeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextTimerAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerAttribute_fontFamily(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextTimerAttribute_onTimer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerAttribute_onTimer(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextTimerAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerAttribute_textShadow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextTimerAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TimePicker_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TimePicker_construct(id, flags) + } + throw new Error("Not implemented") + } + static _TimePickerInterface_setTimePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerInterface_setTimePickerOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TimePickerAttribute_useMilitaryTime(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerAttribute_useMilitaryTime(ptr, value) + } + throw new Error("Not implemented") + } + static _TimePickerAttribute_loop(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerAttribute_loop(ptr, value) + } + throw new Error("Not implemented") + } + static _TimePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerAttribute_disappearTextStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TimePickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerAttribute_textStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TimePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerAttribute_selectedTextStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TimePickerAttribute_dateTimeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerAttribute_dateTimeOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TimePickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TimePickerAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerAttribute_enableHapticFeedback(ptr, value) + } + throw new Error("Not implemented") + } + static _TimePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Toggle_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Toggle_construct(id, flags) + } + throw new Error("Not implemented") + } + static _ToggleInterface_setToggleOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ToggleInterface_setToggleOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ToggleAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ToggleAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ToggleAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ToggleAttribute_contentModifier(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ToggleAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ToggleAttribute_selectedColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ToggleAttribute_switchPointColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ToggleAttribute_switchPointColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ToggleAttribute_switchStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ToggleAttribute_switchStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ToggleAttribute__onChangeEvent_isOn(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ToggleAttribute__onChangeEvent_isOn(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Video_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Video_construct(id, flags) + } + throw new Error("Not implemented") + } + static _VideoInterface_setVideoOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoInterface_setVideoOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_muted(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_muted(ptr, value) + } + throw new Error("Not implemented") + } + static _VideoAttribute_autoPlay(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_autoPlay(ptr, value) + } + throw new Error("Not implemented") + } + static _VideoAttribute_controls(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_controls(ptr, value) + } + throw new Error("Not implemented") + } + static _VideoAttribute_loop(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_loop(ptr, value) + } + throw new Error("Not implemented") + } + static _VideoAttribute_objectFit(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_objectFit(ptr, value) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onPause(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onPause(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onFinish(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onFullscreenChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onFullscreenChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onPrepared(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onPrepared(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onSeeking(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onSeeking(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onSeeked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onSeeked(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onUpdate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onError(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_onStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_onStop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _VideoAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_enableAnalyzer(ptr, value) + } + throw new Error("Not implemented") + } + static _VideoAttribute_analyzerConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoAttribute_analyzerConfig(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Web_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Web_construct(id, flags) + } + throw new Error("Not implemented") + } + static _WebInterface_setWebOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebInterface_setWebOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_javaScriptAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_javaScriptAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_fileAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_fileAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_onlineImageAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onlineImageAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_domStorageAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_domStorageAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_imageAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_imageAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_mixedMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_mixedMode(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_zoomAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_zoomAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_geolocationAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_geolocationAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_javaScriptProxy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_javaScriptProxy(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_password(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_password(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_cacheMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_cacheMode(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_darkMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_darkMode(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_forceDarkAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_forceDarkAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_mediaOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_mediaOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_tableData(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_tableData(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_wideViewModeAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_wideViewModeAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_overviewModeAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_overviewModeAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_overScrollMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_overScrollMode(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_textZoomAtio(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_textZoomAtio(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_textZoomRatio(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_textZoomRatio(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_databaseAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_databaseAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_initialScale(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_initialScale(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_userAgent(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_userAgent(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_metaViewport(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_metaViewport(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_onPageEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onPageEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onPageBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onPageBegin(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onProgressChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onProgressChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onTitleReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onTitleReceive(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onGeolocationHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onGeolocationHide(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onGeolocationShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onGeolocationShow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onRequestSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onRequestSelected(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onAlert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onAlert(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onBeforeUnload(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onBeforeUnload(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onConfirm(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onConfirm(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onPrompt(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onPrompt(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onConsole(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onConsole(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onErrorReceive(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onHttpErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onHttpErrorReceive(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onDownloadStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onDownloadStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onRefreshAccessedHistory(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onRefreshAccessedHistory(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onUrlLoadIntercept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onUrlLoadIntercept(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onSslErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onSslErrorReceive(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onRenderExited0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onRenderExited0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onRenderExited1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onRenderExited1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onShowFileSelector(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onShowFileSelector(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onFileSelectorShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onFileSelectorShow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onResourceLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onResourceLoad(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onFullScreenExit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onFullScreenExit(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onFullScreenEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onFullScreenEnter(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onScaleChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onScaleChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onHttpAuthRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onHttpAuthRequest(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onInterceptRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onInterceptRequest(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onPermissionRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onPermissionRequest(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onScreenCaptureRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onScreenCaptureRequest(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onContextMenuShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onContextMenuShow(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onContextMenuHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onContextMenuHide(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_mediaPlayGestureAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_mediaPlayGestureAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_onSearchResultReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onSearchResultReceive(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onSslErrorEventReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onSslErrorEventReceive(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onSslErrorEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onSslErrorEvent(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onClientAuthenticationRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onClientAuthenticationRequest(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onWindowNew(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onWindowNew(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onWindowExit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onWindowExit(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_multiWindowAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_multiWindowAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_onInterceptKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onInterceptKeyEvent(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_webStandardFont(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_webStandardFont(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_webSerifFont(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_webSerifFont(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_webSansSerifFont(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_webSansSerifFont(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_webFixedFont(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_webFixedFont(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_webFantasyFont(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_webFantasyFont(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_webCursiveFont(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_webCursiveFont(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_defaultFixedFontSize(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_defaultFixedFontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_defaultFontSize(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_defaultFontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_minFontSize(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_minFontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_minLogicalFontSize(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_minLogicalFontSize(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_defaultTextEncodingFormat(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_defaultTextEncodingFormat(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_forceDisplayScrollBar(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_forceDisplayScrollBar(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_blockNetwork(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_blockNetwork(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_horizontalScrollBarAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_horizontalScrollBarAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_verticalScrollBarAccess(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_verticalScrollBarAccess(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_onTouchIconUrlReceived(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onTouchIconUrlReceived(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onFaviconReceived(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onFaviconReceived(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onPageVisible(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onPageVisible(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onDataResubmitted(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onDataResubmitted(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_pinchSmooth(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_pinchSmooth(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_allowWindowOpenMethod(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_allowWindowOpenMethod(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_onAudioStateChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onAudioStateChanged(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onFirstContentfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onFirstContentfulPaint(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onFirstMeaningfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onFirstMeaningfulPaint(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onLargestContentfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onLargestContentfulPaint(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onLoadIntercept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onLoadIntercept(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onControllerAttached(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onControllerAttached(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onOverScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onOverScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onSafeBrowsingCheckResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onSafeBrowsingCheckResult(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onNavigationEntryCommitted(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onNavigationEntryCommitted(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onIntelligentTrackingPreventionResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onIntelligentTrackingPreventionResult(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_javaScriptOnDocumentStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_javaScriptOnDocumentStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_javaScriptOnDocumentEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_javaScriptOnDocumentEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_layoutMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_layoutMode(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_nestedScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_enableNativeEmbedMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_enableNativeEmbedMode(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_onNativeEmbedLifecycleChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onNativeEmbedLifecycleChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onNativeEmbedVisibilityChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onNativeEmbedVisibilityChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onNativeEmbedGestureEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onNativeEmbedGestureEvent(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_copyOptions(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_copyOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_onOverrideUrlLoading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onOverrideUrlLoading(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_textAutosizing(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_textAutosizing(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_enableNativeMediaPlayer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_enableNativeMediaPlayer(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_enableSmoothDragResize(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_enableSmoothDragResize(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_onRenderProcessNotResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onRenderProcessNotResponding(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onRenderProcessResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onRenderProcessResponding(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_selectionMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_selectionMenuOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onViewportFitChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onViewportFitChanged(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onInterceptKeyboardAttach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onInterceptKeyboardAttach(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_onAdsBlocked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_onAdsBlocked(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebAttribute_keyboardAvoidMode(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_keyboardAvoidMode(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_editMenuOptions(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_editMenuOptions(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_enableHapticFeedback(ptr, value) + } + throw new Error("Not implemented") + } + static _WebAttribute_registerNativeEmbedRule(ptr: KPointer, tag: KStringPtr, type: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_registerNativeEmbedRule(ptr, tag, type) + } + throw new Error("Not implemented") + } + static _WebAttribute_bindSelectionMenu(ptr: KPointer, elementType: KInt, thisArray: KSerializerBuffer, thisLength: int32, responseType: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebAttribute_bindSelectionMenu(ptr, elementType, thisArray, thisLength, responseType) + } + throw new Error("Not implemented") + } + static _WindowScene_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WindowScene_construct(id, flags) + } + throw new Error("Not implemented") + } + static _WindowSceneInterface_setWindowSceneOptions(ptr: KPointer, persistentId: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WindowSceneInterface_setWindowSceneOptions(ptr, persistentId) + } + throw new Error("Not implemented") + } + static _WindowSceneAttribute_attractionEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, fraction: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WindowSceneAttribute_attractionEffect(ptr, thisArray, thisLength, fraction) + } + throw new Error("Not implemented") + } + static _XComponent_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._XComponent_construct(id, flags) + } + throw new Error("Not implemented") + } + static _XComponentInterface_setXComponentOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentInterface_setXComponentOptions0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentInterface_setXComponentOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentInterface_setXComponentOptions1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentInterface_setXComponentOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentInterface_setXComponentOptions2(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentAttribute_onLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentAttribute_onLoad(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentAttribute_onDestroy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentAttribute_onDestroy(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentAttribute_enableAnalyzer(ptr, value) + } + throw new Error("Not implemented") + } + static _XComponentAttribute_enableSecure(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentAttribute_enableSecure(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainer_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainer_construct(id, flags) + } + throw new Error("Not implemented") + } + static _SideBarContainerInterface_setSideBarContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerInterface_setSideBarContainerOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_showSideBar(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_showSideBar(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_controlButton(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_controlButton(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_showControlButton(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_showControlButton(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_sideBarWidth0(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_sideBarWidth0(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_sideBarWidth1(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_sideBarWidth1(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_minSideBarWidth0(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_minSideBarWidth0(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_minSideBarWidth1(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_minSideBarWidth1(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_maxSideBarWidth0(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_maxSideBarWidth0(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_maxSideBarWidth1(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_maxSideBarWidth1(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_autoHide(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_autoHide(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_sideBarPosition(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_sideBarPosition(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_divider(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute_minContentWidth(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute_minContentWidth(ptr, value) + } + throw new Error("Not implemented") + } + static _SideBarContainerAttribute__onChangeEvent_showSideBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SideBarContainerAttribute__onChangeEvent_showSideBar(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RemoteWindow_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RemoteWindow_construct(id, flags) + } + throw new Error("Not implemented") + } + static _RemoteWindowInterface_setRemoteWindowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RemoteWindowInterface_setRemoteWindowOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlow_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlow_construct(id, flags) + } + throw new Error("Not implemented") + } + static _WaterFlowInterface_setWaterFlowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowInterface_setWaterFlowOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_columnsTemplate(ptr, value) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_itemConstraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_itemConstraintSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_rowsTemplate(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_rowsTemplate(ptr, value) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_columnsGap(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_columnsGap(ptr, value) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_rowsGap(ptr: KPointer, value: Length): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_rowsGap(ptr, value) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_layoutDirection(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_layoutDirection(ptr, value) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_nestedScroll(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_enableScrollInteraction(ptr, value) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_friction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_cachedCount0(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_cachedCount0(ptr, value) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_cachedCount1(ptr, count, show) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_onReachStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_onReachEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowAttribute_onScrollIndex(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionComponent_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionComponent_construct(id, flags) + } + throw new Error("Not implemented") + } + static _UIExtensionComponentInterface_setUIExtensionComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionComponentInterface_setUIExtensionComponentOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionComponentAttribute_onRemoteReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionComponentAttribute_onRemoteReady(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionComponentAttribute_onReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionComponentAttribute_onReceive(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionComponentAttribute_onResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionComponentAttribute_onResult(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionComponentAttribute_onRelease(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionComponentAttribute_onRelease(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionComponentAttribute_onError(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionComponentAttribute_onTerminated(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionComponentAttribute_onTerminated(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LinearIndicator_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicator_construct(id, flags) + } + throw new Error("Not implemented") + } + static _LinearIndicatorInterface_setLinearIndicatorOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorInterface_setLinearIndicatorOptions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LinearIndicatorAttribute_indicatorStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorAttribute_indicatorStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LinearIndicatorAttribute_indicatorLoop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorAttribute_indicatorLoop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LinearIndicatorAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorAttribute_onChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimationExtender_SetClipRect(node: KPointer, x: KFloat, y: KFloat, width: KFloat, height: KFloat): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimationExtender_SetClipRect(node, x, y, width, height) + } + throw new Error("Not implemented") + } + static _AnimationExtender_OpenImplicitAnimation(thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimationExtender_OpenImplicitAnimation(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimationExtender_CloseImplicitAnimation(): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimationExtender_CloseImplicitAnimation() + } + throw new Error("Not implemented") + } + static _AnimationExtender_StartDoubleAnimation(node: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimationExtender_StartDoubleAnimation(node, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimationExtender_AnimationTranslate(node: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._AnimationExtender_AnimationTranslate(node, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UnifiedData_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UnifiedData_ctor() + } + throw new Error("Not implemented") + } + static _UnifiedData_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UnifiedData_getFinalizer() + } + throw new Error("Not implemented") + } + static _UnifiedData_hasType(ptr: KPointer, UnifiedData_type: KStringPtr): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._UnifiedData_hasType(ptr, UnifiedData_type) + } + throw new Error("Not implemented") + } + static _UnifiedData_getTypes(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._UnifiedData_getTypes(ptr) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_NeedMoreElements(node: KPointer, mark: KPointer, direction: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_NeedMoreElements(node, mark, direction) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_OnRangeUpdate(node: KPointer, totalCount: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_OnRangeUpdate(node, totalCount, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_SetCurrentIndex(node: KPointer, index: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_SetCurrentIndex(node, index) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_Prepare(node: KPointer, itemCount: KInt, offset: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_Prepare(node, itemCount, offset) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_NotifyChange(node: KPointer, startIndex: KInt, endIndex: KInt, count: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_NotifyChange(node, startIndex, endIndex, count) + } + throw new Error("Not implemented") + } + static _SystemOps_StartFrame(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_StartFrame() + } + throw new Error("Not implemented") + } + static _SystemOps_EndFrame(root: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_EndFrame(root) + } + throw new Error("Not implemented") + } + static _SystemOps_syncInstanceId(instanceId: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_syncInstanceId(instanceId) + } + throw new Error("Not implemented") + } + static _SystemOps_restoreInstanceId(): void { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_restoreInstanceId() + } + throw new Error("Not implemented") + } + static _SystemOps_getResourceId(bundleName: KStringPtr, moduleName: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): int32 { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_getResourceId(bundleName, moduleName, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FocusController_requestFocus(key: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._FocusController_requestFocus(key) + } + throw new Error("Not implemented") + } + static _DrawableDescriptor_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawableDescriptor_ctor() + } + throw new Error("Not implemented") + } + static _DrawableDescriptor_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawableDescriptor_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawableDescriptor_getPixelMap(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawableDescriptor_getPixelMap(ptr) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getFinalizer() + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getForeground(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getForeground(ptr) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getBackground(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getBackground(ptr) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getMask(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getMask(ptr) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getMaskClipPath(): string { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getMaskClipPath() + } + throw new Error("Not implemented") + } + static _PixelMapDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMapDrawableDescriptor_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PixelMapDrawableDescriptor_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMapDrawableDescriptor_getFinalizer() + } + throw new Error("Not implemented") + } + static _AnimatedDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatedDrawableDescriptor_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimatedDrawableDescriptor_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatedDrawableDescriptor_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawingCanvas_ctor(pixelmap: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingCanvas_ctor(pixelmap) + } + throw new Error("Not implemented") + } + static _DrawingCanvas_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingCanvas_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawingCanvas_drawRect(ptr: KPointer, left: number, top: number, right: number, bottom: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingCanvas_drawRect(ptr, left, top, right, bottom) + } + throw new Error("Not implemented") + } + static _LengthMetrics_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_ctor() + } + throw new Error("Not implemented") + } + static _LengthMetrics_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_getFinalizer() + } + throw new Error("Not implemented") + } + static _LengthMetrics_px(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_px(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_vp(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_vp(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_fp(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_fp(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_percent(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_percent(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_lpx(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_lpx(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_resource(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_resource(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LengthMetrics_getUnit(ptr: KPointer): 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 _ColorMetrics_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_ctor() + } + throw new Error("Not implemented") + } + static _ColorMetrics_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getFinalizer() + } + throw new Error("Not implemented") + } + static _ColorMetrics_numeric(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_numeric(value) + } + throw new Error("Not implemented") + } + static _ColorMetrics_rgba(red: number, green: number, blue: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_rgba(red, green, blue, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ColorMetrics_resourceColor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_resourceColor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ColorMetrics_blendColor(ptr: KPointer, overlayColor: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_blendColor(ptr, overlayColor) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getColor(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getColor(ptr) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getRed(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getRed(ptr) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getGreen(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getGreen(ptr) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getBlue(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getBlue(ptr) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getAlpha(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getAlpha(ptr) + } + throw new Error("Not implemented") + } + static _WebviewController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_ctor() + } + throw new Error("Not implemented") + } + static _WebviewController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebviewController_initializeWebEngine(): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_initializeWebEngine() + } + throw new Error("Not implemented") + } + static _WebviewController_loadUrl(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_loadUrl(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_componentSnapshot_get(id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_componentSnapshot_get(id, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_begin(scene: KStringPtr, startInputType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_begin(scene, startInputType, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_end(scene: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_end(scene) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(actionType: KInt, sourceType: KInt, time: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(actionType, sourceType, time) + } + throw new Error("Not implemented") + } + static _CommonShape_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_ctor() + } + throw new Error("Not implemented") + } + static _CommonShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _CommonShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BaseShape_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_ctor() + } + throw new Error("Not implemented") + } + static _BaseShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _BaseShape_width(ptr: KPointer, width: Length): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_width(ptr, width) + } + throw new Error("Not implemented") + } + static _BaseShape_height(ptr: KPointer, height: Length): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_height(ptr, height) + } + throw new Error("Not implemented") + } + static _BaseShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _RectShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_width(ptr: KPointer, width: Length): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_width(ptr, width) + } + throw new Error("Not implemented") + } + static _RectShape_height(ptr: KPointer, height: Length): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_height(ptr, height) + } + throw new Error("Not implemented") + } + static _RectShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_radiusWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_radiusWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_radiusHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_radiusHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_radius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_radius(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _CircleShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_width(ptr: KPointer, width: Length): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_width(ptr, width) + } + throw new Error("Not implemented") + } + static _CircleShape_height(ptr: KPointer, height: Length): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_height(ptr, height) + } + throw new Error("Not implemented") + } + static _CircleShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _EllipseShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_width(ptr: KPointer, width: Length): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_width(ptr, width) + } + throw new Error("Not implemented") + } + static _EllipseShape_height(ptr: KPointer, height: Length): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_height(ptr, height) + } + throw new Error("Not implemented") + } + static _EllipseShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _PathShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_commands(ptr: KPointer, commands: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_commands(ptr, commands) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_font_registerFont(thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_font_registerFont(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_font_getSystemFontList(): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_font_getSystemFontList() + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_font_getFontByName(fontName: KStringPtr): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_font_getFontByName(fontName) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_measure_utils_measureText(thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_measure_utils_measureText(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_measure_utils_measureTextSize(thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_measure_utils_measureTextSize(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolEffect_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolEffect_ctor() + } + throw new Error("Not implemented") + } + static _SymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _SymbolEffect_dummyForAccessorGenerate(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolEffect_dummyForAccessorGenerate(ptr) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_getScope(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_getScope(ptr) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_setScope(ptr: KPointer, scope: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_setScope(ptr, scope) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_getDirection(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_getDirection(ptr) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_setDirection(ptr: KPointer, direction: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_setDirection(ptr, direction) + } + throw new Error("Not implemented") + } + static _ReplaceSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ReplaceSymbolEffect_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ReplaceSymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ReplaceSymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _ReplaceSymbolEffect_getScope(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ReplaceSymbolEffect_getScope(ptr) + } + throw new Error("Not implemented") + } + static _ReplaceSymbolEffect_setScope(ptr: KPointer, scope: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ReplaceSymbolEffect_setScope(ptr, scope) + } + throw new Error("Not implemented") + } + static _FrameNode_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FrameNode_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getFinalizer() + } + throw new Error("Not implemented") + } + static _FrameNode_isModifiable(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_isModifiable(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_appendChild(ptr: KPointer, node: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_appendChild(ptr, node) + } + throw new Error("Not implemented") + } + static _FrameNode_insertChildAfter(ptr: KPointer, child: KPointer, sibling: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_insertChildAfter(ptr, child, sibling) + } + throw new Error("Not implemented") + } + static _FrameNode_removeChild(ptr: KPointer, node: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_removeChild(ptr, node) + } + throw new Error("Not implemented") + } + static _FrameNode_clearChildren(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_clearChildren(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getChild(ptr: KPointer, index: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getChild(ptr, index) + } + throw new Error("Not implemented") + } + static _FrameNode_getFirstChild(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getFirstChild(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getNextSibling(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getNextSibling(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getPreviousSibling(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getPreviousSibling(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getParent(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getParent(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getChildrenCount(ptr: KPointer): int32 { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getChildrenCount(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_dispose(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_dispose(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getOpacity(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getOpacity(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getPositionToWindowWithTransform(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getPositionToWindowWithTransform(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getFrameNodeByKey(name: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getFrameNodeByKey(name) + } + throw new Error("Not implemented") + } + static _PixelMap_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_ctor() + } + throw new Error("Not implemented") + } + static _PixelMap_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_getFinalizer() + } + throw new Error("Not implemented") + } + static _PixelMap_readPixelsToBufferSync(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_readPixelsToBufferSync(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PixelMap_writeBufferToPixels(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_writeBufferToPixels(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PixelMap_getIsEditable(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_getIsEditable(ptr) + } + throw new Error("Not implemented") + } + static _PixelMap_getIsStrideAlignment(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_getIsStrideAlignment(ptr) + } + throw new Error("Not implemented") + } + static _NavExtender_setUpdateStackCallback(peer: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavExtender_setUpdateStackCallback(peer, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavExtender_syncStack(peer: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavExtender_syncStack(peer) + } + throw new Error("Not implemented") + } + static _NavExtender_checkNeedCreate(navigation: KPointer, index: KInt): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._NavExtender_checkNeedCreate(navigation, index) + } + throw new Error("Not implemented") + } + static _NavExtender_navigationCreate(peer: KInt, flag: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavExtender_navigationCreate(peer, flag) + } + throw new Error("Not implemented") + } + static _NavExtender_setNavigationOptions(navigation: KPointer, stack: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavExtender_setNavigationOptions(navigation, stack) + } + throw new Error("Not implemented") + } + static _NavExtender_setNavDestinationNode(peer: KPointer, index: KInt, node: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavExtender_setNavDestinationNode(peer, index, node) + } + throw new Error("Not implemented") + } + static _EventEmulator_emitClickEvent(node: KPointer, event: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._EventEmulator_emitClickEvent(node, event) + } + throw new Error("Not implemented") + } + static _EventEmulator_emitTextInputEvent(node: KPointer, text: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._EventEmulator_emitTextInputEvent(node, text) + } + throw new Error("Not implemented") + } + static _ActionSheet_show(thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._ActionSheet_show(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AlertDialog_show(thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._AlertDialog_show(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SpringProp_ctor(mass: number, stiffness: number, damping: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SpringProp_ctor(mass, stiffness, damping) + } + throw new Error("Not implemented") + } + static _SpringProp_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SpringProp_getFinalizer() + } + throw new Error("Not implemented") + } + static _SpringMotion_ctor(start: number, end: number, velocity: number, prop: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SpringMotion_ctor(start, end, velocity, prop) + } + throw new Error("Not implemented") + } + static _SpringMotion_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SpringMotion_getFinalizer() + } + throw new Error("Not implemented") + } + static _FrictionMotion_ctor(friction: number, position: number, velocity: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrictionMotion_ctor(friction, position, velocity) + } + throw new Error("Not implemented") + } + static _FrictionMotion_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrictionMotion_getFinalizer() + } + throw new Error("Not implemented") + } + static _ScrollMotion_ctor(position: number, velocity: number, min: number, max: number, prop: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollMotion_ctor(position, velocity, min, max, prop) + } + throw new Error("Not implemented") + } + static _ScrollMotion_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollMotion_getFinalizer() + } + throw new Error("Not implemented") + } + static _CalendarController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarController_ctor() + } + throw new Error("Not implemented") + } + static _CalendarController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarController_getFinalizer() + } + throw new Error("Not implemented") + } + static _CalendarController_backToToday(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarController_backToToday(ptr) + } + throw new Error("Not implemented") + } + static _CalendarController_goTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarController_goTo(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CalendarPickerDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CalendarPickerDialog_show(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasGradient_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasGradient_ctor() + } + throw new Error("Not implemented") + } + static _CanvasGradient_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasGradient_getFinalizer() + } + throw new Error("Not implemented") + } + static _CanvasGradient_addColorStop(ptr: KPointer, offset: number, color: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasGradient_addColorStop(ptr, offset, color) + } + throw new Error("Not implemented") + } + static _CanvasPath_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_ctor() + } + throw new Error("Not implemented") + } + static _CanvasPath_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_getFinalizer() + } + throw new Error("Not implemented") + } + static _CanvasPath_arc(ptr: KPointer, x: number, y: number, radius: number, startAngle: number, endAngle: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_arc(ptr, x, y, radius, startAngle, endAngle, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasPath_arcTo(ptr: KPointer, x1: number, y1: number, x2: number, y2: number, radius: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_arcTo(ptr, x1, y1, x2, y2, radius) + } + throw new Error("Not implemented") + } + static _CanvasPath_bezierCurveTo(ptr: KPointer, cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_bezierCurveTo(ptr, cp1x, cp1y, cp2x, cp2y, x, y) + } + throw new Error("Not implemented") + } + static _CanvasPath_closePath(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_closePath(ptr) + } + throw new Error("Not implemented") + } + static _CanvasPath_ellipse(ptr: KPointer, x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_ellipse(ptr, x, y, radiusX, radiusY, rotation, startAngle, endAngle, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasPath_lineTo(ptr: KPointer, x: number, y: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_lineTo(ptr, x, y) + } + throw new Error("Not implemented") + } + static _CanvasPath_moveTo(ptr: KPointer, x: number, y: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_moveTo(ptr, x, y) + } + throw new Error("Not implemented") + } + static _CanvasPath_quadraticCurveTo(ptr: KPointer, cpx: number, cpy: number, x: number, y: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_quadraticCurveTo(ptr, cpx, cpy, x, y) + } + throw new Error("Not implemented") + } + static _CanvasPath_rect(ptr: KPointer, x: number, y: number, w: number, h: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPath_rect(ptr, x, y, w, h) + } + throw new Error("Not implemented") + } + static _Path2D_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Path2D_ctor() + } + throw new Error("Not implemented") + } + static _Path2D_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Path2D_getFinalizer() + } + throw new Error("Not implemented") + } + static _Path2D_addPath(ptr: KPointer, path: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._Path2D_addPath(ptr, path, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasPattern_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPattern_ctor() + } + throw new Error("Not implemented") + } + static _CanvasPattern_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPattern_getFinalizer() + } + throw new Error("Not implemented") + } + static _CanvasPattern_setTransform(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasPattern_setTransform(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageBitmap_ctor(src: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageBitmap_ctor(src) + } + throw new Error("Not implemented") + } + static _ImageBitmap_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageBitmap_getFinalizer() + } + throw new Error("Not implemented") + } + static _ImageBitmap_close(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ImageBitmap_close(ptr) + } + throw new Error("Not implemented") + } + static _ImageBitmap_getHeight(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ImageBitmap_getHeight(ptr) + } + throw new Error("Not implemented") + } + static _ImageBitmap_getWidth(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ImageBitmap_getWidth(ptr) + } + throw new Error("Not implemented") + } + static _ImageData_ctor(width: number, height: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageData_ctor(width, height, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageData_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageData_getFinalizer() + } + throw new Error("Not implemented") + } + static _ImageData_getData(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageData_getData(ptr) + } + throw new Error("Not implemented") + } + static _ImageData_getHeight(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ImageData_getHeight(ptr) + } + throw new Error("Not implemented") + } + static _ImageData_getWidth(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ImageData_getWidth(ptr) + } + throw new Error("Not implemented") + } + static _RenderingContextSettings_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RenderingContextSettings_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RenderingContextSettings_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RenderingContextSettings_getFinalizer() + } + throw new Error("Not implemented") + } + static _RenderingContextSettings_getAntialias(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._RenderingContextSettings_getAntialias(ptr) + } + throw new Error("Not implemented") + } + static _RenderingContextSettings_setAntialias(ptr: KPointer, antialias: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._RenderingContextSettings_setAntialias(ptr, antialias) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_ctor() + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getFinalizer() + } + throw new Error("Not implemented") + } + static _CanvasRenderer_drawImage0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, dx: number, dy: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_drawImage0(ptr, thisArray, thisLength, dx, dy) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_drawImage1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, dx: number, dy: number, dw: number, dh: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_drawImage1(ptr, thisArray, thisLength, dx, dy, dw, dh) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_drawImage2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_drawImage2(ptr, thisArray, thisLength, sx, sy, sw, sh, dx, dy, dw, dh) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_beginPath(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_beginPath(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_clip0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_clip0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_clip1(ptr: KPointer, path: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_clip1(ptr, path, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_fill0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_fill0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_fill1(ptr: KPointer, path: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_fill1(ptr, path, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_stroke0(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_stroke0(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_stroke1(ptr: KPointer, path: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_stroke1(ptr, path) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_createLinearGradient(ptr: KPointer, x0: number, y0: number, x1: number, y1: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_createLinearGradient(ptr, x0, y0, x1, y1) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_createPattern(ptr: KPointer, image: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_createPattern(ptr, image, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_createRadialGradient(ptr: KPointer, x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_createRadialGradient(ptr, x0, y0, r0, x1, y1, r1) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_createConicGradient(ptr: KPointer, startAngle: number, x: number, y: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_createConicGradient(ptr, startAngle, x, y) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_createImageData0(ptr: KPointer, sw: number, sh: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_createImageData0(ptr, sw, sh) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_createImageData1(ptr: KPointer, imagedata: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_createImageData1(ptr, imagedata) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getImageData(ptr: KPointer, sx: number, sy: number, sw: number, sh: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getImageData(ptr, sx, sy, sw, sh) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getPixelMap(ptr: KPointer, sx: number, sy: number, sw: number, sh: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getPixelMap(ptr, sx, sy, sw, sh) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_putImageData0(ptr: KPointer, imagedata: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_putImageData0(ptr, imagedata, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_putImageData1(ptr: KPointer, imagedata: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_putImageData1(ptr, imagedata, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getLineDash(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getLineDash(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setLineDash(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setLineDash(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_clearRect(ptr: KPointer, x: number, y: number, w: number, h: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_clearRect(ptr, x, y, w, h) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_fillRect(ptr: KPointer, x: number, y: number, w: number, h: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_fillRect(ptr, x, y, w, h) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_strokeRect(ptr: KPointer, x: number, y: number, w: number, h: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_strokeRect(ptr, x, y, w, h) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_restore(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_restore(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_save(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_save(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_fillText(ptr: KPointer, text: KStringPtr, x: number, y: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_fillText(ptr, text, x, y, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_measureText(ptr: KPointer, text: KStringPtr): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_measureText(ptr, text) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_strokeText(ptr: KPointer, text: KStringPtr, x: number, y: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_strokeText(ptr, text, x, y, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getTransform(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getTransform(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_resetTransform(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_resetTransform(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_rotate(ptr: KPointer, angle: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_rotate(ptr, angle) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_scale(ptr: KPointer, x: number, y: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_scale(ptr, x, y) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setTransform0(ptr: KPointer, a: number, b: number, c: number, d: number, e: number, f: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setTransform0(ptr, a, b, c, d, e, f) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setTransform1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setTransform1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_transform(ptr: KPointer, a: number, b: number, c: number, d: number, e: number, f: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_transform(ptr, a, b, c, d, e, f) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_translate(ptr: KPointer, x: number, y: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_translate(ptr, x, y) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setPixelMap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setPixelMap(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_transferFromImageBitmap(ptr: KPointer, bitmap: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_transferFromImageBitmap(ptr, bitmap) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_saveLayer(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_saveLayer(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_restoreLayer(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_restoreLayer(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_reset(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_reset(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getGlobalAlpha(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getGlobalAlpha(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setGlobalAlpha(ptr: KPointer, globalAlpha: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setGlobalAlpha(ptr, globalAlpha) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getGlobalCompositeOperation(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getGlobalCompositeOperation(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setGlobalCompositeOperation(ptr: KPointer, globalCompositeOperation: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setGlobalCompositeOperation(ptr, globalCompositeOperation) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getFillStyle(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getFillStyle(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setFillStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setFillStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getStrokeStyle(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getStrokeStyle(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setStrokeStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setStrokeStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getFilter(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getFilter(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setFilter(ptr: KPointer, filter: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setFilter(ptr, filter) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getImageSmoothingEnabled(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getImageSmoothingEnabled(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setImageSmoothingEnabled(ptr: KPointer, imageSmoothingEnabled: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setImageSmoothingEnabled(ptr, imageSmoothingEnabled) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getImageSmoothingQuality(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getImageSmoothingQuality(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setImageSmoothingQuality(ptr: KPointer, imageSmoothingQuality: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setImageSmoothingQuality(ptr, imageSmoothingQuality) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getLineCap(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getLineCap(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setLineCap(ptr: KPointer, lineCap: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setLineCap(ptr, lineCap) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getLineDashOffset(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getLineDashOffset(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setLineDashOffset(ptr: KPointer, lineDashOffset: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setLineDashOffset(ptr, lineDashOffset) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getLineJoin(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getLineJoin(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setLineJoin(ptr: KPointer, lineJoin: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setLineJoin(ptr, lineJoin) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getLineWidth(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getLineWidth(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setLineWidth(ptr: KPointer, lineWidth: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setLineWidth(ptr, lineWidth) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getMiterLimit(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getMiterLimit(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setMiterLimit(ptr: KPointer, miterLimit: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setMiterLimit(ptr, miterLimit) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getShadowBlur(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getShadowBlur(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setShadowBlur(ptr: KPointer, shadowBlur: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setShadowBlur(ptr, shadowBlur) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getShadowColor(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getShadowColor(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setShadowColor(ptr: KPointer, shadowColor: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setShadowColor(ptr, shadowColor) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getShadowOffsetX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getShadowOffsetX(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setShadowOffsetX(ptr: KPointer, shadowOffsetX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setShadowOffsetX(ptr, shadowOffsetX) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getShadowOffsetY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getShadowOffsetY(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setShadowOffsetY(ptr: KPointer, shadowOffsetY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setShadowOffsetY(ptr, shadowOffsetY) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getDirection(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getDirection(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setDirection(ptr: KPointer, direction: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setDirection(ptr, direction) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getFont(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getFont(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setFont(ptr: KPointer, font: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setFont(ptr, font) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getTextAlign(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getTextAlign(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setTextAlign(ptr: KPointer, textAlign: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setTextAlign(ptr, textAlign) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_getTextBaseline(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getTextBaseline(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setTextBaseline(ptr: KPointer, textBaseline: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setTextBaseline(ptr, textBaseline) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_getFinalizer() + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_toDataURL(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_toDataURL(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_startImageAnalyzer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_startImageAnalyzer(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_stopImageAnalyzer(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_stopImageAnalyzer(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_onOnAttach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_onOnAttach(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_offOnAttach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_offOnAttach(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_onOnDetach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_onOnDetach(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_offOnDetach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_offOnDetach(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_getHeight(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_getHeight(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_getWidth(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_getWidth(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderingContext2D_getCanvas(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderingContext2D_getCanvas(ptr) + } + throw new Error("Not implemented") + } + static _OffscreenCanvasRenderingContext2D_ctor(width: number, height: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvasRenderingContext2D_ctor(width, height, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _OffscreenCanvasRenderingContext2D_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvasRenderingContext2D_getFinalizer() + } + throw new Error("Not implemented") + } + static _OffscreenCanvasRenderingContext2D_toDataURL(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvasRenderingContext2D_toDataURL(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _OffscreenCanvasRenderingContext2D_transferToImageBitmap(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvasRenderingContext2D_transferToImageBitmap(ptr) + } + throw new Error("Not implemented") + } + static _OffscreenCanvas_ctor(width: number, height: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvas_ctor(width, height) + } + throw new Error("Not implemented") + } + static _OffscreenCanvas_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvas_getFinalizer() + } + throw new Error("Not implemented") + } + static _OffscreenCanvas_transferToImageBitmap(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvas_transferToImageBitmap(ptr) + } + throw new Error("Not implemented") + } + static _OffscreenCanvas_getContext2d(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvas_getContext2d(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _OffscreenCanvas_getHeight(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvas_getHeight(ptr) + } + throw new Error("Not implemented") + } + static _OffscreenCanvas_setHeight(ptr: KPointer, height: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvas_setHeight(ptr, height) + } + throw new Error("Not implemented") + } + static _OffscreenCanvas_getWidth(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvas_getWidth(ptr) + } + throw new Error("Not implemented") + } + static _OffscreenCanvas_setWidth(ptr: KPointer, width: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._OffscreenCanvas_setWidth(ptr, width) + } + throw new Error("Not implemented") + } + static _DrawingRenderingContext_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingRenderingContext_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DrawingRenderingContext_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingRenderingContext_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawingRenderingContext_invalidate(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingRenderingContext_invalidate(ptr) + } + throw new Error("Not implemented") + } + static _DrawingRenderingContext_getSize(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingRenderingContext_getSize(ptr) + } + throw new Error("Not implemented") + } + static _DrawingRenderingContext_getCanvas(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingRenderingContext_getCanvas(ptr) + } + throw new Error("Not implemented") + } + static _ICurve_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ICurve_ctor() + } + throw new Error("Not implemented") + } + static _ICurve_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ICurve_getFinalizer() + } + throw new Error("Not implemented") + } + static _ICurve_interpolate(ptr: KPointer, fraction: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._ICurve_interpolate(ptr, fraction) + } + throw new Error("Not implemented") + } + static _DrawModifier_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawModifier_ctor() + } + throw new Error("Not implemented") + } + static _DrawModifier_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawModifier_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawModifier_drawBehind(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DrawModifier_drawBehind(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DrawModifier_drawContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DrawModifier_drawContent(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DrawModifier_drawFront(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._DrawModifier_drawFront(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DrawModifier_invalidate(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._DrawModifier_invalidate(ptr) + } + throw new Error("Not implemented") + } + static _TransitionEffect_ctor(type: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_ctor(type, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TransitionEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _TransitionEffect_translate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_translate(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TransitionEffect_rotate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_rotate(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TransitionEffect_scale(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_scale(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TransitionEffect_opacity(alpha: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_opacity(alpha) + } + throw new Error("Not implemented") + } + static _TransitionEffect_move(edge: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_move(edge) + } + throw new Error("Not implemented") + } + static _TransitionEffect_asymmetric(appear: KPointer, disappear: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_asymmetric(appear, disappear) + } + throw new Error("Not implemented") + } + static _TransitionEffect_animation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_animation(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TransitionEffect_combine(ptr: KPointer, transitionEffect: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_combine(ptr, transitionEffect) + } + throw new Error("Not implemented") + } + static _TransitionEffect_getIDENTITY(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_getIDENTITY() + } + throw new Error("Not implemented") + } + static _TransitionEffect_getOPACITY(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_getOPACITY() + } + throw new Error("Not implemented") + } + static _TransitionEffect_getSLIDE(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_getSLIDE() + } + throw new Error("Not implemented") + } + static _TransitionEffect_getSLIDE_SWITCH(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TransitionEffect_getSLIDE_SWITCH() + } + throw new Error("Not implemented") + } + static _BaseEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_ctor() + } + throw new Error("Not implemented") + } + static _BaseEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _BaseEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getModifierKeyState(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BaseEvent_getTarget(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getTarget(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setTarget(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setTarget(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BaseEvent_getTimestamp(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getTimestamp(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setTimestamp(ptr: KPointer, timestamp: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setTimestamp(ptr, timestamp) + } + throw new Error("Not implemented") + } + static _BaseEvent_getSource(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getSource(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setSource(ptr: KPointer, source: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setSource(ptr, source) + } + throw new Error("Not implemented") + } + static _BaseEvent_getAxisHorizontal(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getAxisHorizontal(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setAxisHorizontal(ptr: KPointer, axisHorizontal: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setAxisHorizontal(ptr, axisHorizontal) + } + throw new Error("Not implemented") + } + static _BaseEvent_getAxisVertical(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getAxisVertical(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setAxisVertical(ptr: KPointer, axisVertical: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setAxisVertical(ptr, axisVertical) + } + throw new Error("Not implemented") + } + static _BaseEvent_getPressure(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getPressure(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setPressure(ptr: KPointer, pressure: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setPressure(ptr, pressure) + } + throw new Error("Not implemented") + } + static _BaseEvent_getTiltX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getTiltX(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setTiltX(ptr: KPointer, tiltX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setTiltX(ptr, tiltX) + } + throw new Error("Not implemented") + } + static _BaseEvent_getTiltY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getTiltY(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setTiltY(ptr: KPointer, tiltY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setTiltY(ptr, tiltY) + } + throw new Error("Not implemented") + } + static _BaseEvent_getSourceTool(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getSourceTool(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setSourceTool(ptr: KPointer, sourceTool: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setSourceTool(ptr, sourceTool) + } + throw new Error("Not implemented") + } + static _BaseEvent_getDeviceId(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_getDeviceId(ptr) + } + throw new Error("Not implemented") + } + static _BaseEvent_setDeviceId(ptr: KPointer, deviceId: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseEvent_setDeviceId(ptr, deviceId) + } + throw new Error("Not implemented") + } + static _ClickEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_ctor() + } + throw new Error("Not implemented") + } + static _ClickEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _ClickEvent_getDisplayX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getDisplayX(ptr) + } + throw new Error("Not implemented") + } + static _ClickEvent_setDisplayX(ptr: KPointer, displayX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_setDisplayX(ptr, displayX) + } + throw new Error("Not implemented") + } + static _ClickEvent_getDisplayY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getDisplayY(ptr) + } + throw new Error("Not implemented") + } + static _ClickEvent_setDisplayY(ptr: KPointer, displayY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_setDisplayY(ptr, displayY) + } + throw new Error("Not implemented") + } + static _ClickEvent_getWindowX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getWindowX(ptr) + } + throw new Error("Not implemented") + } + static _ClickEvent_setWindowX(ptr: KPointer, windowX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_setWindowX(ptr, windowX) + } + throw new Error("Not implemented") + } + static _ClickEvent_getWindowY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getWindowY(ptr) + } + throw new Error("Not implemented") + } + static _ClickEvent_setWindowY(ptr: KPointer, windowY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_setWindowY(ptr, windowY) + } + throw new Error("Not implemented") + } + static _ClickEvent_getScreenX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getScreenX(ptr) + } + throw new Error("Not implemented") + } + static _ClickEvent_setScreenX(ptr: KPointer, screenX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_setScreenX(ptr, screenX) + } + throw new Error("Not implemented") + } + static _ClickEvent_getScreenY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getScreenY(ptr) + } + throw new Error("Not implemented") + } + static _ClickEvent_setScreenY(ptr: KPointer, screenY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_setScreenY(ptr, screenY) + } + throw new Error("Not implemented") + } + static _ClickEvent_getX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getX(ptr) + } + throw new Error("Not implemented") + } + static _ClickEvent_setX(ptr: KPointer, x: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_setX(ptr, x) + } + throw new Error("Not implemented") + } + static _ClickEvent_getY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getY(ptr) + } + throw new Error("Not implemented") + } + static _ClickEvent_setY(ptr: KPointer, y: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_setY(ptr, y) + } + throw new Error("Not implemented") + } + static _ClickEvent_getPreventDefault(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_getPreventDefault(ptr) + } + throw new Error("Not implemented") + } + static _ClickEvent_setPreventDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClickEvent_setPreventDefault(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _HoverEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._HoverEvent_ctor() + } + throw new Error("Not implemented") + } + static _HoverEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._HoverEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _HoverEvent_getStopPropagation(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._HoverEvent_getStopPropagation(ptr) + } + throw new Error("Not implemented") + } + static _HoverEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._HoverEvent_setStopPropagation(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MouseEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_ctor() + } + throw new Error("Not implemented") + } + static _MouseEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _MouseEvent_getButton(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getButton(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setButton(ptr: KPointer, button: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setButton(ptr, button) + } + throw new Error("Not implemented") + } + static _MouseEvent_getAction(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getAction(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setAction(ptr: KPointer, action: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setAction(ptr, action) + } + throw new Error("Not implemented") + } + static _MouseEvent_getDisplayX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getDisplayX(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setDisplayX(ptr: KPointer, displayX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setDisplayX(ptr, displayX) + } + throw new Error("Not implemented") + } + static _MouseEvent_getDisplayY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getDisplayY(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setDisplayY(ptr: KPointer, displayY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setDisplayY(ptr, displayY) + } + throw new Error("Not implemented") + } + static _MouseEvent_getWindowX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getWindowX(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setWindowX(ptr: KPointer, windowX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setWindowX(ptr, windowX) + } + throw new Error("Not implemented") + } + static _MouseEvent_getWindowY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getWindowY(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setWindowY(ptr: KPointer, windowY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setWindowY(ptr, windowY) + } + throw new Error("Not implemented") + } + static _MouseEvent_getScreenX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getScreenX(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setScreenX(ptr: KPointer, screenX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setScreenX(ptr, screenX) + } + throw new Error("Not implemented") + } + static _MouseEvent_getScreenY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getScreenY(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setScreenY(ptr: KPointer, screenY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setScreenY(ptr, screenY) + } + throw new Error("Not implemented") + } + static _MouseEvent_getX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getX(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setX(ptr: KPointer, x: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setX(ptr, x) + } + throw new Error("Not implemented") + } + static _MouseEvent_getY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getY(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setY(ptr: KPointer, y: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setY(ptr, y) + } + throw new Error("Not implemented") + } + static _MouseEvent_getStopPropagation(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_getStopPropagation(ptr) + } + throw new Error("Not implemented") + } + static _MouseEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MouseEvent_setStopPropagation(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_ctor() + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getType(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_getType(ptr) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setType(ptr: KPointer, type: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_setType(ptr, type) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_getX(ptr) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setX(ptr: KPointer, x: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_setX(ptr, x) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_getY(ptr) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setY(ptr: KPointer, y: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_setY(ptr, y) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getDisplayX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_getDisplayX(ptr) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setDisplayX(ptr: KPointer, displayX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_setDisplayX(ptr, displayX) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getDisplayY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_getDisplayY(ptr) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setDisplayY(ptr: KPointer, displayY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_setDisplayY(ptr, displayY) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getWindowX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_getWindowX(ptr) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setWindowX(ptr: KPointer, windowX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_setWindowX(ptr, windowX) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getWindowY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_getWindowY(ptr) + } + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setWindowY(ptr: KPointer, windowY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._AccessibilityHoverEvent_setWindowY(ptr, windowY) + } + throw new Error("Not implemented") + } + static _TouchEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_ctor() + } + throw new Error("Not implemented") + } + static _TouchEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _TouchEvent_getHistoricalPoints(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_getHistoricalPoints(ptr) + } + throw new Error("Not implemented") + } + static _TouchEvent_getType(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_getType(ptr) + } + throw new Error("Not implemented") + } + static _TouchEvent_setType(ptr: KPointer, type: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_setType(ptr, type) + } + throw new Error("Not implemented") + } + static _TouchEvent_getTouches(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_getTouches(ptr) + } + throw new Error("Not implemented") + } + static _TouchEvent_setTouches(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_setTouches(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TouchEvent_getChangedTouches(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_getChangedTouches(ptr) + } + throw new Error("Not implemented") + } + static _TouchEvent_setChangedTouches(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_setChangedTouches(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TouchEvent_getStopPropagation(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_getStopPropagation(ptr) + } + throw new Error("Not implemented") + } + static _TouchEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_setStopPropagation(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TouchEvent_getPreventDefault(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_getPreventDefault(ptr) + } + throw new Error("Not implemented") + } + static _TouchEvent_setPreventDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TouchEvent_setPreventDefault(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PixelMapMock_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMapMock_ctor() + } + throw new Error("Not implemented") + } + static _PixelMapMock_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMapMock_getFinalizer() + } + throw new Error("Not implemented") + } + static _PixelMapMock_release(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMapMock_release(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_ctor() + } + throw new Error("Not implemented") + } + static _DragEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _DragEvent_getDisplayX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getDisplayX(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getDisplayY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getDisplayY(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getWindowX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getWindowX(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getWindowY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getWindowY(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getX(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getY(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_setData(ptr: KPointer, unifiedData: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_setData(ptr, unifiedData) + } + throw new Error("Not implemented") + } + static _DragEvent_getData(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getData(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getSummary(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getSummary(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_setResult(ptr: KPointer, dragResult: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_setResult(ptr, dragResult) + } + throw new Error("Not implemented") + } + static _DragEvent_getResult(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getResult(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getPreviewRect(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getPreviewRect(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getVelocityX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getVelocityX(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getVelocityY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getVelocityY(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getVelocity(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getVelocity(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getModifierKeyState(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DragEvent_getDragBehavior(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getDragBehavior(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_setDragBehavior(ptr: KPointer, dragBehavior: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_setDragBehavior(ptr, dragBehavior) + } + throw new Error("Not implemented") + } + static _DragEvent_getUseCustomDropAnimation(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_getUseCustomDropAnimation(ptr) + } + throw new Error("Not implemented") + } + static _DragEvent_setUseCustomDropAnimation(ptr: KPointer, useCustomDropAnimation: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._DragEvent_setUseCustomDropAnimation(ptr, useCustomDropAnimation) + } + throw new Error("Not implemented") + } + static _KeyEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_ctor() + } + throw new Error("Not implemented") + } + static _KeyEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _KeyEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getModifierKeyState(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _KeyEvent_getType(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getType(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setType(ptr: KPointer, type: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setType(ptr, type) + } + throw new Error("Not implemented") + } + static _KeyEvent_getKeyCode(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getKeyCode(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setKeyCode(ptr: KPointer, keyCode: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setKeyCode(ptr, keyCode) + } + throw new Error("Not implemented") + } + static _KeyEvent_getKeyText(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getKeyText(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setKeyText(ptr: KPointer, keyText: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setKeyText(ptr, keyText) + } + throw new Error("Not implemented") + } + static _KeyEvent_getKeySource(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getKeySource(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setKeySource(ptr: KPointer, keySource: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setKeySource(ptr, keySource) + } + throw new Error("Not implemented") + } + static _KeyEvent_getDeviceId(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getDeviceId(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setDeviceId(ptr: KPointer, deviceId: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setDeviceId(ptr, deviceId) + } + throw new Error("Not implemented") + } + static _KeyEvent_getMetaKey(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getMetaKey(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setMetaKey(ptr: KPointer, metaKey: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setMetaKey(ptr, metaKey) + } + throw new Error("Not implemented") + } + static _KeyEvent_getTimestamp(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getTimestamp(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setTimestamp(ptr: KPointer, timestamp: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setTimestamp(ptr, timestamp) + } + throw new Error("Not implemented") + } + static _KeyEvent_getStopPropagation(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getStopPropagation(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setStopPropagation(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _KeyEvent_getIntentionCode(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getIntentionCode(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setIntentionCode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setIntentionCode(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _KeyEvent_getUnicode(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_getUnicode(ptr) + } + throw new Error("Not implemented") + } + static _KeyEvent_setUnicode(ptr: KPointer, unicode: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._KeyEvent_setUnicode(ptr, unicode) + } + throw new Error("Not implemented") + } + static _ProgressMask_ctor(value: number, total: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressMask_ctor(value, total, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ProgressMask_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressMask_getFinalizer() + } + throw new Error("Not implemented") + } + static _ProgressMask_updateProgress(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressMask_updateProgress(ptr, value) + } + throw new Error("Not implemented") + } + static _ProgressMask_updateColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressMask_updateColor(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ProgressMask_enableBreathingAnimation(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ProgressMask_enableBreathingAnimation(ptr, value) + } + 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: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_measure(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Measurable_getMargin(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_getMargin(ptr) + } + throw new Error("Not implemented") + } + static _Measurable_getPadding(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_getPadding(ptr) + } + throw new Error("Not implemented") + } + static _Measurable_getBorderWidth(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_getBorderWidth(ptr) + } + throw new Error("Not implemented") + } + static _View_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._View_ctor() + } + throw new Error("Not implemented") + } + static _View_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._View_getFinalizer() + } + throw new Error("Not implemented") + } + static _View_create(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): any { + if ((this._LoadOnce()) == (true)) + { + return this._View_create(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextContentControllerBase_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextContentControllerBase_ctor() + } + throw new Error("Not implemented") + } + static _TextContentControllerBase_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextContentControllerBase_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextContentControllerBase_getCaretOffset(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._TextContentControllerBase_getCaretOffset(ptr) + } + throw new Error("Not implemented") + } + static _TextContentControllerBase_getTextContentRect(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._TextContentControllerBase_getTextContentRect(ptr) + } + throw new Error("Not implemented") + } + static _TextContentControllerBase_getTextContentLineCount(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._TextContentControllerBase_getTextContentLineCount(ptr) + } + throw new Error("Not implemented") + } + static _ChildrenMainSize_ctor(childDefaultSize: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ChildrenMainSize_ctor(childDefaultSize) + } + throw new Error("Not implemented") + } + static _ChildrenMainSize_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ChildrenMainSize_getFinalizer() + } + throw new Error("Not implemented") + } + static _ChildrenMainSize_splice(ptr: KPointer, start: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ChildrenMainSize_splice(ptr, start, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ChildrenMainSize_update(ptr: KPointer, index: number, childSize: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ChildrenMainSize_update(ptr, index, childSize) + } + throw new Error("Not implemented") + } + static _ChildrenMainSize_getChildDefaultSize(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ChildrenMainSize_getChildDefaultSize(ptr) + } + throw new Error("Not implemented") + } + static _ChildrenMainSize_setChildDefaultSize(ptr: KPointer, childDefaultSize: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ChildrenMainSize_setChildDefaultSize(ptr, childDefaultSize) + } + throw new Error("Not implemented") + } + static _UICommonEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_ctor() + } + throw new Error("Not implemented") + } + static _UICommonEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnClick(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnTouch(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnAppear(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnDisappear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnDisappear(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnKeyEvent(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnFocus(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnBlur(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnHover(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnMouse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnMouse(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnSizeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnSizeChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UICommonEvent_setOnVisibleAreaApproximateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UICommonEvent_setOnVisibleAreaApproximateChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GestureModifier_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureModifier_ctor() + } + throw new Error("Not implemented") + } + static _GestureModifier_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureModifier_getFinalizer() + } + throw new Error("Not implemented") + } + static _GestureModifier_applyGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureModifier_applyGesture(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ContextMenu_close(): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._ContextMenu_close() + } + throw new Error("Not implemented") + } + static _CustomDialogController_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CustomDialogController_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CustomDialogController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CustomDialogController_getFinalizer() + } + throw new Error("Not implemented") + } + static _CustomDialogController_open(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._CustomDialogController_open(ptr) + } + throw new Error("Not implemented") + } + static _CustomDialogController_close(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._CustomDialogController_close(ptr) + } + throw new Error("Not implemented") + } + static _LinearGradient_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LinearGradient_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LinearGradient_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LinearGradient_getFinalizer() + } + throw new Error("Not implemented") + } + static _DatePickerDialog_show(thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._DatePickerDialog_show(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BaseGestureEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseGestureEvent_ctor() + } + throw new Error("Not implemented") + } + static _BaseGestureEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseGestureEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _BaseGestureEvent_getFingerList(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseGestureEvent_getFingerList(ptr) + } + throw new Error("Not implemented") + } + static _BaseGestureEvent_setFingerList(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseGestureEvent_setFingerList(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TapGestureEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapGestureEvent_ctor() + } + throw new Error("Not implemented") + } + static _TapGestureEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapGestureEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _LongPressGestureEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureEvent_ctor() + } + throw new Error("Not implemented") + } + static _LongPressGestureEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _LongPressGestureEvent_getRepeat(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureEvent_getRepeat(ptr) + } + throw new Error("Not implemented") + } + static _LongPressGestureEvent_setRepeat(ptr: KPointer, repeat: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureEvent_setRepeat(ptr, repeat) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_ctor() + } + throw new Error("Not implemented") + } + static _PanGestureEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _PanGestureEvent_getOffsetX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_getOffsetX(ptr) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_setOffsetX(ptr: KPointer, offsetX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_setOffsetX(ptr, offsetX) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_getOffsetY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_getOffsetY(ptr) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_setOffsetY(ptr: KPointer, offsetY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_setOffsetY(ptr, offsetY) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_getVelocityX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_getVelocityX(ptr) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_setVelocityX(ptr: KPointer, velocityX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_setVelocityX(ptr, velocityX) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_getVelocityY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_getVelocityY(ptr) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_setVelocityY(ptr: KPointer, velocityY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_setVelocityY(ptr, velocityY) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_getVelocity(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_getVelocity(ptr) + } + throw new Error("Not implemented") + } + static _PanGestureEvent_setVelocity(ptr: KPointer, velocity: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureEvent_setVelocity(ptr, velocity) + } + throw new Error("Not implemented") + } + static _PinchGestureEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureEvent_ctor() + } + throw new Error("Not implemented") + } + static _PinchGestureEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _PinchGestureEvent_getScale(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureEvent_getScale(ptr) + } + throw new Error("Not implemented") + } + static _PinchGestureEvent_setScale(ptr: KPointer, scale: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureEvent_setScale(ptr, scale) + } + throw new Error("Not implemented") + } + static _PinchGestureEvent_getPinchCenterX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureEvent_getPinchCenterX(ptr) + } + throw new Error("Not implemented") + } + static _PinchGestureEvent_setPinchCenterX(ptr: KPointer, pinchCenterX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureEvent_setPinchCenterX(ptr, pinchCenterX) + } + throw new Error("Not implemented") + } + static _PinchGestureEvent_getPinchCenterY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureEvent_getPinchCenterY(ptr) + } + throw new Error("Not implemented") + } + static _PinchGestureEvent_setPinchCenterY(ptr: KPointer, pinchCenterY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureEvent_setPinchCenterY(ptr, pinchCenterY) + } + throw new Error("Not implemented") + } + static _RotationGestureEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureEvent_ctor() + } + throw new Error("Not implemented") + } + static _RotationGestureEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _RotationGestureEvent_getAngle(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureEvent_getAngle(ptr) + } + throw new Error("Not implemented") + } + static _RotationGestureEvent_setAngle(ptr: KPointer, angle: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureEvent_setAngle(ptr, angle) + } + throw new Error("Not implemented") + } + static _SwipeGestureEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureEvent_ctor() + } + throw new Error("Not implemented") + } + static _SwipeGestureEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _SwipeGestureEvent_getAngle(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureEvent_getAngle(ptr) + } + throw new Error("Not implemented") + } + static _SwipeGestureEvent_setAngle(ptr: KPointer, angle: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureEvent_setAngle(ptr, angle) + } + throw new Error("Not implemented") + } + static _SwipeGestureEvent_getSpeed(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureEvent_getSpeed(ptr) + } + throw new Error("Not implemented") + } + static _SwipeGestureEvent_setSpeed(ptr: KPointer, speed: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureEvent_setSpeed(ptr, speed) + } + throw new Error("Not implemented") + } + static _GestureEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_ctor() + } + throw new Error("Not implemented") + } + static _GestureEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _GestureEvent_getRepeat(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getRepeat(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setRepeat(ptr: KPointer, repeat: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setRepeat(ptr, repeat) + } + throw new Error("Not implemented") + } + static _GestureEvent_getFingerList(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getFingerList(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setFingerList(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setFingerList(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GestureEvent_getOffsetX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getOffsetX(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setOffsetX(ptr: KPointer, offsetX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setOffsetX(ptr, offsetX) + } + throw new Error("Not implemented") + } + static _GestureEvent_getOffsetY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getOffsetY(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setOffsetY(ptr: KPointer, offsetY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setOffsetY(ptr, offsetY) + } + throw new Error("Not implemented") + } + static _GestureEvent_getAngle(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getAngle(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setAngle(ptr: KPointer, angle: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setAngle(ptr, angle) + } + throw new Error("Not implemented") + } + static _GestureEvent_getSpeed(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getSpeed(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setSpeed(ptr: KPointer, speed: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setSpeed(ptr, speed) + } + throw new Error("Not implemented") + } + static _GestureEvent_getScale(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getScale(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setScale(ptr: KPointer, scale: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setScale(ptr, scale) + } + throw new Error("Not implemented") + } + static _GestureEvent_getPinchCenterX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getPinchCenterX(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setPinchCenterX(ptr: KPointer, pinchCenterX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setPinchCenterX(ptr, pinchCenterX) + } + throw new Error("Not implemented") + } + static _GestureEvent_getPinchCenterY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getPinchCenterY(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setPinchCenterY(ptr: KPointer, pinchCenterY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setPinchCenterY(ptr, pinchCenterY) + } + throw new Error("Not implemented") + } + static _GestureEvent_getVelocityX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getVelocityX(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setVelocityX(ptr: KPointer, velocityX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setVelocityX(ptr, velocityX) + } + throw new Error("Not implemented") + } + static _GestureEvent_getVelocityY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getVelocityY(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setVelocityY(ptr: KPointer, velocityY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setVelocityY(ptr, velocityY) + } + throw new Error("Not implemented") + } + static _GestureEvent_getVelocity(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_getVelocity(ptr) + } + throw new Error("Not implemented") + } + static _GestureEvent_setVelocity(ptr: KPointer, velocity: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureEvent_setVelocity(ptr, velocity) + } + throw new Error("Not implemented") + } + static _TapGestureInterface_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapGestureInterface_ctor() + } + throw new Error("Not implemented") + } + static _TapGestureInterface_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapGestureInterface_getFinalizer() + } + throw new Error("Not implemented") + } + static _TapGestureInterface_onAction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapGestureInterface_onAction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LongPressGestureInterface_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureInterface_ctor() + } + throw new Error("Not implemented") + } + static _LongPressGestureInterface_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureInterface_getFinalizer() + } + throw new Error("Not implemented") + } + static _LongPressGestureInterface_onAction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureInterface_onAction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LongPressGestureInterface_onActionEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureInterface_onActionEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LongPressGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureInterface_onActionCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureOptions_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureOptions_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureOptions_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureOptions_getFinalizer() + } + throw new Error("Not implemented") + } + static _PanGestureOptions_setDirection(ptr: KPointer, value: KInt): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureOptions_setDirection(ptr, value) + } + throw new Error("Not implemented") + } + static _PanGestureOptions_setDistance(ptr: KPointer, value: number): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureOptions_setDistance(ptr, value) + } + throw new Error("Not implemented") + } + static _PanGestureOptions_setFingers(ptr: KPointer, value: number): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureOptions_setFingers(ptr, value) + } + throw new Error("Not implemented") + } + static _PanGestureOptions_getDirection(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureOptions_getDirection(ptr) + } + throw new Error("Not implemented") + } + static _PanGestureInterface_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureInterface_ctor() + } + throw new Error("Not implemented") + } + static _PanGestureInterface_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureInterface_getFinalizer() + } + throw new Error("Not implemented") + } + static _PanGestureInterface_onActionStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureInterface_onActionStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureInterface_onActionUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureInterface_onActionUpdate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureInterface_onActionEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureInterface_onActionEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureInterface_onActionCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwipeGestureInterface_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureInterface_ctor() + } + throw new Error("Not implemented") + } + static _SwipeGestureInterface_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureInterface_getFinalizer() + } + throw new Error("Not implemented") + } + static _SwipeGestureInterface_onAction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureInterface_onAction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureInterface_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureInterface_ctor() + } + throw new Error("Not implemented") + } + static _PinchGestureInterface_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureInterface_getFinalizer() + } + throw new Error("Not implemented") + } + static _PinchGestureInterface_onActionStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureInterface_onActionStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureInterface_onActionUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureInterface_onActionUpdate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureInterface_onActionEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureInterface_onActionEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureInterface_onActionCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureInterface_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureInterface_ctor() + } + throw new Error("Not implemented") + } + static _RotationGestureInterface_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureInterface_getFinalizer() + } + throw new Error("Not implemented") + } + static _RotationGestureInterface_onActionStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureInterface_onActionStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureInterface_onActionUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureInterface_onActionUpdate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureInterface_onActionEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureInterface_onActionEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureInterface_onActionCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GestureGroupInterface_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureGroupInterface_ctor() + } + throw new Error("Not implemented") + } + static _GestureGroupInterface_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureGroupInterface_getFinalizer() + } + throw new Error("Not implemented") + } + static _GestureGroupInterface_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureGroupInterface_onCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScrollableTargetInfo_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableTargetInfo_ctor() + } + throw new Error("Not implemented") + } + static _ScrollableTargetInfo_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableTargetInfo_getFinalizer() + } + throw new Error("Not implemented") + } + static _ScrollableTargetInfo_isBegin(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableTargetInfo_isBegin(ptr) + } + throw new Error("Not implemented") + } + static _ScrollableTargetInfo_isEnd(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._ScrollableTargetInfo_isEnd(ptr) + } + throw new Error("Not implemented") + } + static _EventTargetInfo_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EventTargetInfo_ctor() + } + throw new Error("Not implemented") + } + static _EventTargetInfo_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EventTargetInfo_getFinalizer() + } + throw new Error("Not implemented") + } + static _EventTargetInfo_getId(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._EventTargetInfo_getId(ptr) + } + throw new Error("Not implemented") + } + static _GestureRecognizer_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_ctor() + } + throw new Error("Not implemented") + } + static _GestureRecognizer_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_getFinalizer() + } + throw new Error("Not implemented") + } + static _GestureRecognizer_getTag(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_getTag(ptr) + } + throw new Error("Not implemented") + } + static _GestureRecognizer_getType(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_getType(ptr) + } + throw new Error("Not implemented") + } + static _GestureRecognizer_isBuiltIn(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_isBuiltIn(ptr) + } + throw new Error("Not implemented") + } + static _GestureRecognizer_setEnabled(ptr: KPointer, isEnabled: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_setEnabled(ptr, isEnabled) + } + throw new Error("Not implemented") + } + static _GestureRecognizer_isEnabled(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_isEnabled(ptr) + } + throw new Error("Not implemented") + } + static _GestureRecognizer_getState(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_getState(ptr) + } + throw new Error("Not implemented") + } + static _GestureRecognizer_getEventTargetInfo(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_getEventTargetInfo(ptr) + } + throw new Error("Not implemented") + } + static _GestureRecognizer_isValid(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_isValid(ptr) + } + throw new Error("Not implemented") + } + static _PanRecognizer_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanRecognizer_ctor() + } + throw new Error("Not implemented") + } + static _PanRecognizer_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanRecognizer_getFinalizer() + } + throw new Error("Not implemented") + } + static _PanRecognizer_getPanGestureOptions(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanRecognizer_getPanGestureOptions(ptr) + } + throw new Error("Not implemented") + } + static _ImageAnalyzerController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnalyzerController_ctor() + } + throw new Error("Not implemented") + } + static _ImageAnalyzerController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnalyzerController_getFinalizer() + } + throw new Error("Not implemented") + } + static _ImageAnalyzerController_getImageAnalyzerSupportTypes(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAnalyzerController_getImageAnalyzerSupportTypes(ptr) + } + throw new Error("Not implemented") + } + static _ListScroller_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ListScroller_ctor() + } + throw new Error("Not implemented") + } + static _ListScroller_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ListScroller_getFinalizer() + } + throw new Error("Not implemented") + } + static _ListScroller_getItemRectInGroup(ptr: KPointer, index: number, indexInGroup: number): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ListScroller_getItemRectInGroup(ptr, index, indexInGroup) + } + throw new Error("Not implemented") + } + static _ListScroller_scrollToItemInGroup(ptr: KPointer, index: number, indexInGroup: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListScroller_scrollToItemInGroup(ptr, index, indexInGroup, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListScroller_closeAllSwipeActions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ListScroller_closeAllSwipeActions(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ListScroller_getVisibleListContentInfo(ptr: KPointer, x: number, y: number): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ListScroller_getVisibleListContentInfo(ptr, x, y) + } + throw new Error("Not implemented") + } + static _Matrix2D_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_ctor() + } + throw new Error("Not implemented") + } + static _Matrix2D_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_getFinalizer() + } + throw new Error("Not implemented") + } + static _Matrix2D_identity(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_identity(ptr) + } + throw new Error("Not implemented") + } + static _Matrix2D_invert(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_invert(ptr) + } + throw new Error("Not implemented") + } + static _Matrix2D_multiply(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_multiply(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Matrix2D_rotate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_rotate0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Matrix2D_rotate1(ptr: KPointer, degree: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_rotate1(ptr, degree, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Matrix2D_translate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_translate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Matrix2D_scale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_scale(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Matrix2D_getScaleX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_getScaleX(ptr) + } + throw new Error("Not implemented") + } + static _Matrix2D_setScaleX(ptr: KPointer, scaleX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_setScaleX(ptr, scaleX) + } + throw new Error("Not implemented") + } + static _Matrix2D_getRotateY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_getRotateY(ptr) + } + throw new Error("Not implemented") + } + static _Matrix2D_setRotateY(ptr: KPointer, rotateY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_setRotateY(ptr, rotateY) + } + throw new Error("Not implemented") + } + static _Matrix2D_getRotateX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_getRotateX(ptr) + } + throw new Error("Not implemented") + } + static _Matrix2D_setRotateX(ptr: KPointer, rotateX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_setRotateX(ptr, rotateX) + } + throw new Error("Not implemented") + } + static _Matrix2D_getScaleY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_getScaleY(ptr) + } + throw new Error("Not implemented") + } + static _Matrix2D_setScaleY(ptr: KPointer, scaleY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_setScaleY(ptr, scaleY) + } + throw new Error("Not implemented") + } + static _Matrix2D_getTranslateX(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_getTranslateX(ptr) + } + throw new Error("Not implemented") + } + static _Matrix2D_setTranslateX(ptr: KPointer, translateX: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_setTranslateX(ptr, translateX) + } + throw new Error("Not implemented") + } + static _Matrix2D_getTranslateY(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_getTranslateY(ptr) + } + throw new Error("Not implemented") + } + static _Matrix2D_setTranslateY(ptr: KPointer, translateY: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix2D_setTranslateY(ptr, translateY) + } + throw new Error("Not implemented") + } + static _NavDestinationContext_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationContext_ctor() + } + throw new Error("Not implemented") + } + static _NavDestinationContext_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationContext_getFinalizer() + } + throw new Error("Not implemented") + } + static _NavDestinationContext_getConfigInRouteMap(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationContext_getConfigInRouteMap(ptr) + } + throw new Error("Not implemented") + } + static _NavDestinationContext_getPathInfo(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationContext_getPathInfo(ptr) + } + throw new Error("Not implemented") + } + static _NavDestinationContext_setPathInfo(ptr: KPointer, pathInfo: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationContext_setPathInfo(ptr, pathInfo) + } + throw new Error("Not implemented") + } + static _NavDestinationContext_getPathStack(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationContext_getPathStack(ptr) + } + throw new Error("Not implemented") + } + static _NavDestinationContext_setPathStack(ptr: KPointer, pathStack: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationContext_setPathStack(ptr, pathStack) + } + throw new Error("Not implemented") + } + static _NavDestinationContext_getNavDestinationId(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationContext_getNavDestinationId(ptr) + } + throw new Error("Not implemented") + } + static _NavDestinationContext_setNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavDestinationContext_setNavDestinationId(ptr, navDestinationId) + } + throw new Error("Not implemented") + } + static _NavPathInfo_ctor(name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_ctor(name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathInfo_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_getFinalizer() + } + throw new Error("Not implemented") + } + static _NavPathInfo_getName(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_getName(ptr) + } + throw new Error("Not implemented") + } + static _NavPathInfo_setName(ptr: KPointer, name: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_setName(ptr, name) + } + throw new Error("Not implemented") + } + static _NavPathInfo_getParam(ptr: KPointer): unknown { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_getParam(ptr) + } + throw new Error("Not implemented") + } + static _NavPathInfo_setParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_setParam(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathInfo_getOnPop(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_getOnPop(ptr) + } + throw new Error("Not implemented") + } + static _NavPathInfo_setOnPop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_setOnPop(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathInfo_getIsEntry(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_getIsEntry(ptr) + } + throw new Error("Not implemented") + } + static _NavPathInfo_setIsEntry(ptr: KPointer, isEntry: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathInfo_setIsEntry(ptr, isEntry) + } + throw new Error("Not implemented") + } + static _NavPathStack_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_ctor() + } + throw new Error("Not implemented") + } + static _NavPathStack_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_getFinalizer() + } + throw new Error("Not implemented") + } + static _NavPathStack_pushPath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pushPath0(ptr, info, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_pushPath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pushPath1(ptr, info, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_pushDestination0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pushDestination0(ptr, info, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_pushDestination1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pushDestination1(ptr, info, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_pushPathByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pushPathByName0(ptr, name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_pushPathByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pushPathByName1(ptr, name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_pushDestinationByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pushDestinationByName0(ptr, name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_pushDestinationByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pushDestinationByName1(ptr, name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_replacePath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_replacePath0(ptr, info, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_replacePath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_replacePath1(ptr, info, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_replaceDestination(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_replaceDestination(ptr, info, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_replacePathByName(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_replacePathByName(ptr, name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_removeByIndexes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_removeByIndexes(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_removeByName(ptr: KPointer, name: KStringPtr): number { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_removeByName(ptr, name) + } + throw new Error("Not implemented") + } + static _NavPathStack_removeByNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_removeByNavDestinationId(ptr, navDestinationId) + } + throw new Error("Not implemented") + } + static _NavPathStack_pop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pop0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_pop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_pop1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_popToName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_popToName0(ptr, name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_popToName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_popToName1(ptr, name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_popToIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_popToIndex0(ptr, index, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_popToIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_popToIndex1(ptr, index, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_moveToTop(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_moveToTop(ptr, name, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_moveIndexToTop(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_moveIndexToTop(ptr, index, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_clear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_clear(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavPathStack_getAllPathName(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_getAllPathName(ptr) + } + throw new Error("Not implemented") + } + static _NavPathStack_getParamByIndex(ptr: KPointer, index: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_getParamByIndex(ptr, index) + } + throw new Error("Not implemented") + } + static _NavPathStack_getParamByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_getParamByName(ptr, name) + } + throw new Error("Not implemented") + } + static _NavPathStack_getIndexByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_getIndexByName(ptr, name) + } + throw new Error("Not implemented") + } + static _NavPathStack_getParent(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_getParent(ptr) + } + throw new Error("Not implemented") + } + static _NavPathStack_size(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_size(ptr) + } + throw new Error("Not implemented") + } + static _NavPathStack_disableAnimation(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_disableAnimation(ptr, value) + } + throw new Error("Not implemented") + } + static _NavPathStack_setInterception(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavPathStack_setInterception(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_ctor() + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_getFinalizer() + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_finishTransition(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_finishTransition(ptr) + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_cancelTransition(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_cancelTransition(ptr) + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_updateTransition(ptr: KPointer, progress: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_updateTransition(ptr, progress) + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_getFrom(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_getFrom(ptr) + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_setFrom(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_setFrom(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_getTo(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_getTo(ptr) + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_setTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_setTo(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_getIsInteractive(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_getIsInteractive(ptr) + } + throw new Error("Not implemented") + } + static _NavigationTransitionProxy_setIsInteractive(ptr: KPointer, isInteractive: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._NavigationTransitionProxy_setIsInteractive(ptr, isInteractive) + } + throw new Error("Not implemented") + } + static _PatternLockController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockController_ctor() + } + throw new Error("Not implemented") + } + static _PatternLockController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockController_getFinalizer() + } + throw new Error("Not implemented") + } + static _PatternLockController_reset(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockController_reset(ptr) + } + throw new Error("Not implemented") + } + static _PatternLockController_setChallengeResult(ptr: KPointer, result: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._PatternLockController_setChallengeResult(ptr, result) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_ctor() + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_getFinalizer() + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_getCaretOffset(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_getCaretOffset(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_setCaretOffset(ptr: KPointer, offset: number): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_setCaretOffset(ptr, offset) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_closeSelectionMenu(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_closeSelectionMenu(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_getTypingStyle(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_getTypingStyle(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_setTypingStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_setTypingStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_setSelection(ptr: KPointer, selectionStart: number, selectionEnd: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_setSelection(ptr, selectionStart, selectionEnd, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_isEditing(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_isEditing(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_stopEditing(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_stopEditing(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_getLayoutManager(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_getLayoutManager(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorBaseController_getPreviewText(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_getPreviewText(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_ctor() + } + throw new Error("Not implemented") + } + static _RichEditorController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_getFinalizer() + } + throw new Error("Not implemented") + } + static _RichEditorController_addTextSpan(ptr: KPointer, value: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_addTextSpan(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorController_addImageSpan(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_addImageSpan(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorController_addBuilderSpan(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_addBuilderSpan(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorController_addSymbolSpan(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_addSymbolSpan(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorController_updateSpanStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_updateSpanStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorController_updateParagraphStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_updateParagraphStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorController_deleteSpans(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_deleteSpans(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorController_getSpans(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_getSpans(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorController_getParagraphs(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_getParagraphs(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorController_getSelection(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_getSelection(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorController_fromStyledString(ptr: KPointer, value: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_fromStyledString(ptr, value) + } + throw new Error("Not implemented") + } + static _RichEditorController_toStyledString(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorController_toStyledString(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RichEditorStyledStringController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorStyledStringController_ctor() + } + throw new Error("Not implemented") + } + static _RichEditorStyledStringController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorStyledStringController_getFinalizer() + } + throw new Error("Not implemented") + } + static _RichEditorStyledStringController_setStyledString(ptr: KPointer, styledString: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorStyledStringController_setStyledString(ptr, styledString) + } + throw new Error("Not implemented") + } + static _RichEditorStyledStringController_getStyledString(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorStyledStringController_getStyledString(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorStyledStringController_getSelection(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorStyledStringController_getSelection(ptr) + } + throw new Error("Not implemented") + } + static _RichEditorStyledStringController_onContentChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorStyledStringController_onContentChanged(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Scroller_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_ctor() + } + throw new Error("Not implemented") + } + static _Scroller_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_getFinalizer() + } + throw new Error("Not implemented") + } + static _Scroller_scrollTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_scrollTo(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Scroller_scrollEdge(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_scrollEdge(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Scroller_fling(ptr: KPointer, velocity: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_fling(ptr, velocity) + } + throw new Error("Not implemented") + } + static _Scroller_scrollPage0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_scrollPage0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Scroller_scrollPage1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_scrollPage1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Scroller_currentOffset(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_currentOffset(ptr) + } + throw new Error("Not implemented") + } + static _Scroller_scrollToIndex(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_scrollToIndex(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Scroller_scrollBy(ptr: KPointer, dx: Length, dy: Length): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_scrollBy(ptr, dx, dy) + } + throw new Error("Not implemented") + } + static _Scroller_isAtEnd(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_isAtEnd(ptr) + } + throw new Error("Not implemented") + } + static _Scroller_getItemRect(ptr: KPointer, index: number): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_getItemRect(ptr, index) + } + throw new Error("Not implemented") + } + static _Scroller_getItemIndex(ptr: KPointer, x: number, y: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._Scroller_getItemIndex(ptr, x, y) + } + throw new Error("Not implemented") + } + static _SearchController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SearchController_ctor() + } + throw new Error("Not implemented") + } + static _SearchController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SearchController_getFinalizer() + } + throw new Error("Not implemented") + } + static _SearchController_caretPosition(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchController_caretPosition(ptr, value) + } + throw new Error("Not implemented") + } + static _SearchController_stopEditing(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchController_stopEditing(ptr) + } + throw new Error("Not implemented") + } + static _SearchController_setTextSelection(ptr: KPointer, selectionStart: number, selectionEnd: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SearchController_setTextSelection(ptr, selectionStart, selectionEnd, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperController_ctor() + } + throw new Error("Not implemented") + } + static _SwiperController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperController_getFinalizer() + } + throw new Error("Not implemented") + } + static _SwiperController_showNext(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperController_showNext(ptr) + } + throw new Error("Not implemented") + } + static _SwiperController_showPrevious(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperController_showPrevious(ptr) + } + throw new Error("Not implemented") + } + static _SwiperController_changeIndex(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperController_changeIndex(ptr, index, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperController_finishAnimation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperController_finishAnimation(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_ctor() + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_getFinalizer() + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_finishTransition(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_finishTransition(ptr) + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_getSelectedIndex(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_getSelectedIndex(ptr) + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_setSelectedIndex(ptr: KPointer, selectedIndex: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_setSelectedIndex(ptr, selectedIndex) + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_getIndex(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_getIndex(ptr) + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_setIndex(ptr: KPointer, index: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_setIndex(ptr, index) + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_getPosition(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_getPosition(ptr) + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_setPosition(ptr: KPointer, position: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_setPosition(ptr, position) + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_getMainAxisLength(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_getMainAxisLength(ptr) + } + throw new Error("Not implemented") + } + static _SwiperContentTransitionProxy_setMainAxisLength(ptr: KPointer, mainAxisLength: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperContentTransitionProxy_setMainAxisLength(ptr, mainAxisLength) + } + throw new Error("Not implemented") + } + static _IndicatorComponentController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentController_ctor() + } + throw new Error("Not implemented") + } + static _IndicatorComponentController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentController_getFinalizer() + } + throw new Error("Not implemented") + } + static _IndicatorComponentController_showNext(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentController_showNext(ptr) + } + throw new Error("Not implemented") + } + static _IndicatorComponentController_showPrevious(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentController_showPrevious(ptr) + } + throw new Error("Not implemented") + } + static _IndicatorComponentController_changeIndex(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._IndicatorComponentController_changeIndex(ptr, index, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _HierarchicalSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._HierarchicalSymbolEffect_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _HierarchicalSymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._HierarchicalSymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _HierarchicalSymbolEffect_getFillStyle(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._HierarchicalSymbolEffect_getFillStyle(ptr) + } + throw new Error("Not implemented") + } + static _HierarchicalSymbolEffect_setFillStyle(ptr: KPointer, fillStyle: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._HierarchicalSymbolEffect_setFillStyle(ptr, fillStyle) + } + throw new Error("Not implemented") + } + static _AppearSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AppearSymbolEffect_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AppearSymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AppearSymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _AppearSymbolEffect_getScope(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AppearSymbolEffect_getScope(ptr) + } + throw new Error("Not implemented") + } + static _AppearSymbolEffect_setScope(ptr: KPointer, scope: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._AppearSymbolEffect_setScope(ptr, scope) + } + throw new Error("Not implemented") + } + static _DisappearSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DisappearSymbolEffect_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DisappearSymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DisappearSymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _DisappearSymbolEffect_getScope(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DisappearSymbolEffect_getScope(ptr) + } + throw new Error("Not implemented") + } + static _DisappearSymbolEffect_setScope(ptr: KPointer, scope: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._DisappearSymbolEffect_setScope(ptr, scope) + } + throw new Error("Not implemented") + } + static _BounceSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BounceSymbolEffect_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BounceSymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BounceSymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _BounceSymbolEffect_getScope(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BounceSymbolEffect_getScope(ptr) + } + throw new Error("Not implemented") + } + static _BounceSymbolEffect_setScope(ptr: KPointer, scope: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._BounceSymbolEffect_setScope(ptr, scope) + } + throw new Error("Not implemented") + } + static _BounceSymbolEffect_getDirection(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BounceSymbolEffect_getDirection(ptr) + } + throw new Error("Not implemented") + } + static _BounceSymbolEffect_setDirection(ptr: KPointer, direction: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._BounceSymbolEffect_setDirection(ptr, direction) + } + throw new Error("Not implemented") + } + static _PulseSymbolEffect_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PulseSymbolEffect_ctor() + } + throw new Error("Not implemented") + } + static _PulseSymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PulseSymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _TabsController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TabsController_ctor() + } + throw new Error("Not implemented") + } + static _TabsController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TabsController_getFinalizer() + } + throw new Error("Not implemented") + } + static _TabsController_changeIndex(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsController_changeIndex(ptr, value) + } + throw new Error("Not implemented") + } + static _TabsController_preloadItems(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TabsController_preloadItems(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsController_setTabBarTranslate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsController_setTabBarTranslate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TabsController_setTabBarOpacity(ptr: KPointer, opacity: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabsController_setTabBarOpacity(ptr, opacity) + } + throw new Error("Not implemented") + } + static _TabContentTransitionProxy_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentTransitionProxy_ctor() + } + throw new Error("Not implemented") + } + static _TabContentTransitionProxy_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentTransitionProxy_getFinalizer() + } + throw new Error("Not implemented") + } + static _TabContentTransitionProxy_finishTransition(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentTransitionProxy_finishTransition(ptr) + } + throw new Error("Not implemented") + } + static _TabContentTransitionProxy_getFrom(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentTransitionProxy_getFrom(ptr) + } + throw new Error("Not implemented") + } + static _TabContentTransitionProxy_setFrom(ptr: KPointer, from: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentTransitionProxy_setFrom(ptr, from) + } + throw new Error("Not implemented") + } + static _TabContentTransitionProxy_getTo(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentTransitionProxy_getTo(ptr) + } + throw new Error("Not implemented") + } + static _TabContentTransitionProxy_setTo(ptr: KPointer, to: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TabContentTransitionProxy_setTo(ptr, to) + } + throw new Error("Not implemented") + } + static _TextController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextController_ctor() + } + throw new Error("Not implemented") + } + static _TextController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextController_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextController_closeSelectionMenu(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextController_closeSelectionMenu(ptr) + } + throw new Error("Not implemented") + } + static _TextController_setStyledString(ptr: KPointer, value: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextController_setStyledString(ptr, value) + } + throw new Error("Not implemented") + } + static _TextController_getLayoutManager(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextController_getLayoutManager(ptr) + } + throw new Error("Not implemented") + } + static _TextAreaController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaController_ctor() + } + throw new Error("Not implemented") + } + static _TextAreaController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaController_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextAreaController_caretPosition(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaController_caretPosition(ptr, value) + } + throw new Error("Not implemented") + } + static _TextAreaController_setTextSelection(ptr: KPointer, selectionStart: number, selectionEnd: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaController_setTextSelection(ptr, selectionStart, selectionEnd, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextAreaController_stopEditing(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextAreaController_stopEditing(ptr) + } + throw new Error("Not implemented") + } + static _TextClockController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockController_ctor() + } + throw new Error("Not implemented") + } + static _TextClockController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockController_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextClockController_start(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockController_start(ptr) + } + throw new Error("Not implemented") + } + static _TextClockController_stop(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._TextClockController_stop(ptr) + } + throw new Error("Not implemented") + } + static _TextBaseController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextBaseController_ctor() + } + throw new Error("Not implemented") + } + static _TextBaseController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextBaseController_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextBaseController_setSelection(ptr: KPointer, selectionStart: number, selectionEnd: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextBaseController_setSelection(ptr, selectionStart, selectionEnd, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextBaseController_closeSelectionMenu(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextBaseController_closeSelectionMenu(ptr) + } + throw new Error("Not implemented") + } + static _TextBaseController_getLayoutManager(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextBaseController_getLayoutManager(ptr) + } + throw new Error("Not implemented") + } + static _TextEditControllerEx_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextEditControllerEx_ctor() + } + throw new Error("Not implemented") + } + static _TextEditControllerEx_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextEditControllerEx_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextEditControllerEx_isEditing(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._TextEditControllerEx_isEditing(ptr) + } + throw new Error("Not implemented") + } + static _TextEditControllerEx_stopEditing(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextEditControllerEx_stopEditing(ptr) + } + throw new Error("Not implemented") + } + static _TextEditControllerEx_setCaretOffset(ptr: KPointer, offset: number): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._TextEditControllerEx_setCaretOffset(ptr, offset) + } + throw new Error("Not implemented") + } + static _TextEditControllerEx_getCaretOffset(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._TextEditControllerEx_getCaretOffset(ptr) + } + throw new Error("Not implemented") + } + static _TextEditControllerEx_getPreviewText(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._TextEditControllerEx_getPreviewText(ptr) + } + throw new Error("Not implemented") + } + static _StyledStringController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledStringController_ctor() + } + throw new Error("Not implemented") + } + static _StyledStringController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledStringController_getFinalizer() + } + throw new Error("Not implemented") + } + static _StyledStringController_setStyledString(ptr: KPointer, styledString: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._StyledStringController_setStyledString(ptr, styledString) + } + throw new Error("Not implemented") + } + static _StyledStringController_getStyledString(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledStringController_getStyledString(ptr) + } + throw new Error("Not implemented") + } + static _LayoutManager_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayoutManager_ctor() + } + throw new Error("Not implemented") + } + static _LayoutManager_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayoutManager_getFinalizer() + } + throw new Error("Not implemented") + } + static _LayoutManager_getLineCount(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._LayoutManager_getLineCount(ptr) + } + throw new Error("Not implemented") + } + static _LayoutManager_getGlyphPositionAtCoordinate(ptr: KPointer, x: number, y: number): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._LayoutManager_getGlyphPositionAtCoordinate(ptr, x, y) + } + throw new Error("Not implemented") + } + static _LayoutManager_getLineMetrics(ptr: KPointer, lineNumber: number): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._LayoutManager_getLineMetrics(ptr, lineNumber) + } + throw new Error("Not implemented") + } + static _LayoutManager_getRectsForRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, widthStyle: KInt, heightStyle: KInt): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._LayoutManager_getRectsForRange(ptr, thisArray, thisLength, widthStyle, heightStyle) + } + throw new Error("Not implemented") + } + static _TextMenuItemId_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_ctor() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_of(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_of(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextMenuItemId_equals(ptr: KPointer, id: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_equals(ptr, id) + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getCUT(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getCUT() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getCOPY(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getCOPY() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getPASTE(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getPASTE() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getSELECT_ALL(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getSELECT_ALL() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getCOLLABORATION_SERVICE(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getCOLLABORATION_SERVICE() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getCAMERA_INPUT(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getCAMERA_INPUT() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getAI_WRITER(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getAI_WRITER() + } + throw new Error("Not implemented") + } + static _EditMenuOptions_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EditMenuOptions_ctor() + } + throw new Error("Not implemented") + } + static _EditMenuOptions_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EditMenuOptions_getFinalizer() + } + throw new Error("Not implemented") + } + static _EditMenuOptions_onCreateMenu(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._EditMenuOptions_onCreateMenu(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EditMenuOptions_onMenuItemClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._EditMenuOptions_onMenuItemClick(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SubmitEvent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SubmitEvent_ctor() + } + throw new Error("Not implemented") + } + static _SubmitEvent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SubmitEvent_getFinalizer() + } + throw new Error("Not implemented") + } + static _SubmitEvent_keepEditableState(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SubmitEvent_keepEditableState(ptr) + } + throw new Error("Not implemented") + } + static _SubmitEvent_getText(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._SubmitEvent_getText(ptr) + } + throw new Error("Not implemented") + } + static _SubmitEvent_setText(ptr: KPointer, text: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._SubmitEvent_setText(ptr, text) + } + throw new Error("Not implemented") + } + static _TextInputController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputController_ctor() + } + throw new Error("Not implemented") + } + static _TextInputController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputController_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextInputController_caretPosition(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputController_caretPosition(ptr, value) + } + throw new Error("Not implemented") + } + static _TextInputController_setTextSelection(ptr: KPointer, selectionStart: number, selectionEnd: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputController_setTextSelection(ptr, selectionStart, selectionEnd, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextInputController_stopEditing(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._TextInputController_stopEditing(ptr) + } + throw new Error("Not implemented") + } + static _TextPickerDialog_show(thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._TextPickerDialog_show(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextTimerController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerController_ctor() + } + throw new Error("Not implemented") + } + static _TextTimerController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerController_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextTimerController_start(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerController_start(ptr) + } + throw new Error("Not implemented") + } + static _TextTimerController_pause(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerController_pause(ptr) + } + throw new Error("Not implemented") + } + static _TextTimerController_reset(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._TextTimerController_reset(ptr) + } + throw new Error("Not implemented") + } + static _TimePickerDialog_show(thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._TimePickerDialog_show(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ColorFilter_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorFilter_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ColorFilter_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorFilter_getFinalizer() + } + throw new Error("Not implemented") + } + static _VideoController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_ctor() + } + throw new Error("Not implemented") + } + static _VideoController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_getFinalizer() + } + throw new Error("Not implemented") + } + static _VideoController_start(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_start(ptr) + } + throw new Error("Not implemented") + } + static _VideoController_pause(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_pause(ptr) + } + throw new Error("Not implemented") + } + static _VideoController_stop(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_stop(ptr) + } + throw new Error("Not implemented") + } + static _VideoController_setCurrentTime0(ptr: KPointer, value: number): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_setCurrentTime0(ptr, value) + } + throw new Error("Not implemented") + } + static _VideoController_requestFullscreen(ptr: KPointer, value: KInt): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_requestFullscreen(ptr, value) + } + throw new Error("Not implemented") + } + static _VideoController_exitFullscreen(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_exitFullscreen(ptr) + } + throw new Error("Not implemented") + } + static _VideoController_setCurrentTime1(ptr: KPointer, value: number, seekMode: KInt): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_setCurrentTime1(ptr, value, seekMode) + } + throw new Error("Not implemented") + } + static _VideoController_reset(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._VideoController_reset(ptr) + } + throw new Error("Not implemented") + } + static _WebKeyboardController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebKeyboardController_ctor() + } + throw new Error("Not implemented") + } + static _WebKeyboardController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebKeyboardController_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebKeyboardController_insertText(ptr: KPointer, text: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebKeyboardController_insertText(ptr, text) + } + throw new Error("Not implemented") + } + static _WebKeyboardController_deleteForward(ptr: KPointer, length: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebKeyboardController_deleteForward(ptr, length) + } + throw new Error("Not implemented") + } + static _WebKeyboardController_deleteBackward(ptr: KPointer, length: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebKeyboardController_deleteBackward(ptr, length) + } + throw new Error("Not implemented") + } + static _WebKeyboardController_sendFunctionKey(ptr: KPointer, key: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebKeyboardController_sendFunctionKey(ptr, key) + } + throw new Error("Not implemented") + } + static _WebKeyboardController_close(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebKeyboardController_close(ptr) + } + throw new Error("Not implemented") + } + static _FullScreenExitHandler_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FullScreenExitHandler_ctor() + } + throw new Error("Not implemented") + } + static _FullScreenExitHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FullScreenExitHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _FullScreenExitHandler_exitFullScreen(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FullScreenExitHandler_exitFullScreen(ptr) + } + throw new Error("Not implemented") + } + static _FileSelectorParam_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorParam_ctor() + } + throw new Error("Not implemented") + } + static _FileSelectorParam_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorParam_getFinalizer() + } + throw new Error("Not implemented") + } + static _FileSelectorParam_getTitle(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorParam_getTitle(ptr) + } + throw new Error("Not implemented") + } + static _FileSelectorParam_getMode(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorParam_getMode(ptr) + } + throw new Error("Not implemented") + } + static _FileSelectorParam_getAcceptType(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorParam_getAcceptType(ptr) + } + throw new Error("Not implemented") + } + static _FileSelectorParam_isCapture(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorParam_isCapture(ptr) + } + throw new Error("Not implemented") + } + static _JsResult_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._JsResult_ctor() + } + throw new Error("Not implemented") + } + static _JsResult_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._JsResult_getFinalizer() + } + throw new Error("Not implemented") + } + static _JsResult_handleCancel(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._JsResult_handleCancel(ptr) + } + throw new Error("Not implemented") + } + static _JsResult_handleConfirm(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._JsResult_handleConfirm(ptr) + } + throw new Error("Not implemented") + } + static _JsResult_handlePromptConfirm(ptr: KPointer, result: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._JsResult_handlePromptConfirm(ptr, result) + } + throw new Error("Not implemented") + } + static _FileSelectorResult_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorResult_ctor() + } + throw new Error("Not implemented") + } + static _FileSelectorResult_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorResult_getFinalizer() + } + throw new Error("Not implemented") + } + static _FileSelectorResult_handleFileList(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorResult_handleFileList(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _HttpAuthHandler_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._HttpAuthHandler_ctor() + } + throw new Error("Not implemented") + } + static _HttpAuthHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._HttpAuthHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _HttpAuthHandler_confirm(ptr: KPointer, userName: KStringPtr, password: KStringPtr): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._HttpAuthHandler_confirm(ptr, userName, password) + } + throw new Error("Not implemented") + } + static _HttpAuthHandler_cancel(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._HttpAuthHandler_cancel(ptr) + } + throw new Error("Not implemented") + } + static _HttpAuthHandler_isHttpAuthInfoSaved(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._HttpAuthHandler_isHttpAuthInfoSaved(ptr) + } + throw new Error("Not implemented") + } + static _SslErrorHandler_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SslErrorHandler_ctor() + } + throw new Error("Not implemented") + } + static _SslErrorHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SslErrorHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _SslErrorHandler_handleConfirm(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SslErrorHandler_handleConfirm(ptr) + } + throw new Error("Not implemented") + } + static _SslErrorHandler_handleCancel(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SslErrorHandler_handleCancel(ptr) + } + throw new Error("Not implemented") + } + static _ClientAuthenticationHandler_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ClientAuthenticationHandler_ctor() + } + throw new Error("Not implemented") + } + static _ClientAuthenticationHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ClientAuthenticationHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _ClientAuthenticationHandler_confirm0(ptr: KPointer, priKeyFile: KStringPtr, certChainFile: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClientAuthenticationHandler_confirm0(ptr, priKeyFile, certChainFile) + } + throw new Error("Not implemented") + } + static _ClientAuthenticationHandler_confirm1(ptr: KPointer, authUri: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClientAuthenticationHandler_confirm1(ptr, authUri) + } + throw new Error("Not implemented") + } + static _ClientAuthenticationHandler_cancel(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClientAuthenticationHandler_cancel(ptr) + } + throw new Error("Not implemented") + } + static _ClientAuthenticationHandler_ignore(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ClientAuthenticationHandler_ignore(ptr) + } + throw new Error("Not implemented") + } + static _PermissionRequest_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PermissionRequest_ctor() + } + throw new Error("Not implemented") + } + static _PermissionRequest_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PermissionRequest_getFinalizer() + } + throw new Error("Not implemented") + } + static _PermissionRequest_deny(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._PermissionRequest_deny(ptr) + } + throw new Error("Not implemented") + } + static _PermissionRequest_getOrigin(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._PermissionRequest_getOrigin(ptr) + } + throw new Error("Not implemented") + } + static _PermissionRequest_getAccessibleResource(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._PermissionRequest_getAccessibleResource(ptr) + } + throw new Error("Not implemented") + } + static _PermissionRequest_grant(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PermissionRequest_grant(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScreenCaptureHandler_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScreenCaptureHandler_ctor() + } + throw new Error("Not implemented") + } + static _ScreenCaptureHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScreenCaptureHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _ScreenCaptureHandler_getOrigin(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._ScreenCaptureHandler_getOrigin(ptr) + } + throw new Error("Not implemented") + } + static _ScreenCaptureHandler_grant(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScreenCaptureHandler_grant(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScreenCaptureHandler_deny(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScreenCaptureHandler_deny(ptr) + } + throw new Error("Not implemented") + } + static _DataResubmissionHandler_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DataResubmissionHandler_ctor() + } + throw new Error("Not implemented") + } + static _DataResubmissionHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DataResubmissionHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _DataResubmissionHandler_resend(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._DataResubmissionHandler_resend(ptr) + } + throw new Error("Not implemented") + } + static _DataResubmissionHandler_cancel(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._DataResubmissionHandler_cancel(ptr) + } + throw new Error("Not implemented") + } + static _ControllerHandler_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ControllerHandler_ctor() + } + throw new Error("Not implemented") + } + static _ControllerHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ControllerHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _ControllerHandler_setWebController(ptr: KPointer, controller: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ControllerHandler_setWebController(ptr, controller) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_ctor() + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_x(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_x(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_y(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_y(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getLinkUrl(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getLinkUrl(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getUnfilteredLinkUrl(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getUnfilteredLinkUrl(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getSourceUrl(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getSourceUrl(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_existsImageContents(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_existsImageContents(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getMediaType(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getMediaType(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getSelectionText(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getSelectionText(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getSourceType(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getSourceType(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getInputFieldType(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getInputFieldType(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_isEditable(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_isEditable(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getEditStateFlags(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getEditStateFlags(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getPreviewWidth(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getPreviewWidth(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuParam_getPreviewHeight(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuParam_getPreviewHeight(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuResult_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuResult_ctor() + } + throw new Error("Not implemented") + } + static _WebContextMenuResult_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuResult_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebContextMenuResult_closeContextMenu(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuResult_closeContextMenu(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuResult_copyImage(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuResult_copyImage(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuResult_copy(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuResult_copy(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuResult_paste(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuResult_paste(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuResult_cut(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuResult_cut(ptr) + } + throw new Error("Not implemented") + } + static _WebContextMenuResult_selectAll(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebContextMenuResult_selectAll(ptr) + } + throw new Error("Not implemented") + } + static _ConsoleMessage_ctor(message: KStringPtr, sourceId: KStringPtr, lineNumber: number, messageLevel: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ConsoleMessage_ctor(message, sourceId, lineNumber, messageLevel) + } + throw new Error("Not implemented") + } + static _ConsoleMessage_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ConsoleMessage_getFinalizer() + } + throw new Error("Not implemented") + } + static _ConsoleMessage_getMessage(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._ConsoleMessage_getMessage(ptr) + } + throw new Error("Not implemented") + } + static _ConsoleMessage_getSourceId(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._ConsoleMessage_getSourceId(ptr) + } + throw new Error("Not implemented") + } + static _ConsoleMessage_getLineNumber(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ConsoleMessage_getLineNumber(ptr) + } + throw new Error("Not implemented") + } + static _ConsoleMessage_getMessageLevel(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ConsoleMessage_getMessageLevel(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceRequest_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceRequest_ctor() + } + throw new Error("Not implemented") + } + static _WebResourceRequest_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceRequest_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebResourceRequest_getRequestHeader(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceRequest_getRequestHeader(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceRequest_getRequestUrl(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceRequest_getRequestUrl(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceRequest_isRequestGesture(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceRequest_isRequestGesture(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceRequest_isMainFrame(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceRequest_isMainFrame(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceRequest_isRedirect(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceRequest_isRedirect(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceRequest_getRequestMethod(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceRequest_getRequestMethod(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_ctor() + } + throw new Error("Not implemented") + } + static _WebResourceResponse_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebResourceResponse_getResponseData(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_getResponseData(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_getResponseDataEx(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_getResponseDataEx(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_getResponseEncoding(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_getResponseEncoding(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_getResponseMimeType(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_getResponseMimeType(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_getReasonMessage(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_getReasonMessage(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_getResponseHeader(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_getResponseHeader(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_getResponseCode(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_getResponseCode(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_setResponseData(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_setResponseData(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_setResponseEncoding(ptr: KPointer, encoding: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_setResponseEncoding(ptr, encoding) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_setResponseMimeType(ptr: KPointer, mimeType: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_setResponseMimeType(ptr, mimeType) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_setReasonMessage(ptr: KPointer, reason: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_setReasonMessage(ptr, reason) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_setResponseHeader(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_setResponseHeader(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_setResponseCode(ptr: KPointer, code: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_setResponseCode(ptr, code) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_setResponseIsReady(ptr: KPointer, IsReady: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_setResponseIsReady(ptr, IsReady) + } + throw new Error("Not implemented") + } + static _WebResourceResponse_getResponseIsReady(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceResponse_getResponseIsReady(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceError_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceError_ctor() + } + throw new Error("Not implemented") + } + static _WebResourceError_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceError_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebResourceError_getErrorInfo(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceError_getErrorInfo(ptr) + } + throw new Error("Not implemented") + } + static _WebResourceError_getErrorCode(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._WebResourceError_getErrorCode(ptr) + } + throw new Error("Not implemented") + } + static _JsGeolocation_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._JsGeolocation_ctor() + } + throw new Error("Not implemented") + } + static _JsGeolocation_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._JsGeolocation_getFinalizer() + } + throw new Error("Not implemented") + } + static _JsGeolocation_invoke(ptr: KPointer, origin: KStringPtr, allow: KInt, retain: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._JsGeolocation_invoke(ptr, origin, allow, retain) + } + throw new Error("Not implemented") + } + static _WebCookie_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebCookie_ctor() + } + throw new Error("Not implemented") + } + static _WebCookie_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebCookie_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebCookie_setCookie(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebCookie_setCookie(ptr) + } + throw new Error("Not implemented") + } + static _WebCookie_saveCookie(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebCookie_saveCookie(ptr) + } + throw new Error("Not implemented") + } + static _EventResult_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EventResult_ctor() + } + throw new Error("Not implemented") + } + static _EventResult_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EventResult_getFinalizer() + } + throw new Error("Not implemented") + } + static _EventResult_setGestureEventResult(ptr: KPointer, result: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._EventResult_setGestureEventResult(ptr, result) + } + throw new Error("Not implemented") + } + static _WebController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_ctor() + } + throw new Error("Not implemented") + } + static _WebController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebController_onInactive(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_onInactive(ptr) + } + throw new Error("Not implemented") + } + static _WebController_onActive(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_onActive(ptr) + } + throw new Error("Not implemented") + } + static _WebController_zoom(ptr: KPointer, factor: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_zoom(ptr, factor) + } + throw new Error("Not implemented") + } + static _WebController_clearHistory(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_clearHistory(ptr) + } + throw new Error("Not implemented") + } + static _WebController_runJavaScript(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_runJavaScript(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebController_loadData(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_loadData(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebController_loadUrl(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_loadUrl(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebController_refresh(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_refresh(ptr) + } + throw new Error("Not implemented") + } + static _WebController_stop(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_stop(ptr) + } + throw new Error("Not implemented") + } + static _WebController_registerJavaScriptProxy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_registerJavaScriptProxy(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WebController_deleteJavaScriptRegister(ptr: KPointer, name: KStringPtr): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_deleteJavaScriptRegister(ptr, name) + } + throw new Error("Not implemented") + } + static _WebController_getHitTest(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_getHitTest(ptr) + } + throw new Error("Not implemented") + } + static _WebController_requestFocus(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_requestFocus(ptr) + } + throw new Error("Not implemented") + } + static _WebController_accessBackward(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_accessBackward(ptr) + } + throw new Error("Not implemented") + } + static _WebController_accessForward(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_accessForward(ptr) + } + throw new Error("Not implemented") + } + static _WebController_accessStep(ptr: KPointer, step: number): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_accessStep(ptr, step) + } + throw new Error("Not implemented") + } + static _WebController_backward(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_backward(ptr) + } + throw new Error("Not implemented") + } + static _WebController_forward(ptr: KPointer): undefined { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_forward(ptr) + } + throw new Error("Not implemented") + } + static _WebController_getCookieManager(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebController_getCookieManager(ptr) + } + throw new Error("Not implemented") + } + static _XComponentController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_ctor() + } + throw new Error("Not implemented") + } + static _XComponentController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_getFinalizer() + } + throw new Error("Not implemented") + } + static _XComponentController_getXComponentSurfaceId(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_getXComponentSurfaceId(ptr) + } + throw new Error("Not implemented") + } + static _XComponentController_getXComponentContext(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_getXComponentContext(ptr) + } + throw new Error("Not implemented") + } + static _XComponentController_setXComponentSurfaceSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_setXComponentSurfaceSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentController_setXComponentSurfaceRect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_setXComponentSurfaceRect(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentController_getXComponentSurfaceRect(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_getXComponentSurfaceRect(ptr) + } + throw new Error("Not implemented") + } + static _XComponentController_setXComponentSurfaceRotation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_setXComponentSurfaceRotation(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentController_getXComponentSurfaceRotation(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_getXComponentSurfaceRotation(ptr) + } + throw new Error("Not implemented") + } + static _XComponentController_onSurfaceCreated(ptr: KPointer, surfaceId: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_onSurfaceCreated(ptr, surfaceId) + } + throw new Error("Not implemented") + } + static _XComponentController_onSurfaceChanged(ptr: KPointer, surfaceId: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_onSurfaceChanged(ptr, surfaceId, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentController_onSurfaceDestroyed(ptr: KPointer, surfaceId: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_onSurfaceDestroyed(ptr, surfaceId) + } + throw new Error("Not implemented") + } + static _XComponentController_startImageAnalyzer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_startImageAnalyzer(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _XComponentController_stopImageAnalyzer(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._XComponentController_stopImageAnalyzer(ptr) + } + throw new Error("Not implemented") + } + static _WaterFlowSections_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowSections_ctor() + } + throw new Error("Not implemented") + } + static _WaterFlowSections_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowSections_getFinalizer() + } + throw new Error("Not implemented") + } + static _WaterFlowSections_splice(ptr: KPointer, start: number, thisArray: KSerializerBuffer, thisLength: int32): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowSections_splice(ptr, start, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowSections_push(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowSections_push(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowSections_update(ptr: KPointer, sectionIndex: number, thisArray: KSerializerBuffer, thisLength: int32): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowSections_update(ptr, sectionIndex, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _WaterFlowSections_values(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowSections_values(ptr) + } + throw new Error("Not implemented") + } + static _WaterFlowSections_length(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._WaterFlowSections_length(ptr) + } + throw new Error("Not implemented") + } + static _UIExtensionProxy_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionProxy_ctor() + } + throw new Error("Not implemented") + } + static _UIExtensionProxy_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionProxy_getFinalizer() + } + throw new Error("Not implemented") + } + static _UIExtensionProxy_send(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionProxy_send(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionProxy_sendSync(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionProxy_sendSync(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionProxy_onAsyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionProxy_onAsyncReceiverRegister(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionProxy_onSyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionProxy_onSyncReceiverRegister(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionProxy_offAsyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionProxy_offAsyncReceiverRegister(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIExtensionProxy_offSyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIExtensionProxy_offSyncReceiverRegister(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StyledString_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StyledString_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_getFinalizer() + } + throw new Error("Not implemented") + } + static _StyledString_getString(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_getString(ptr) + } + throw new Error("Not implemented") + } + static _StyledString_getStyles(ptr: KPointer, start: number, length: number, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_getStyles(ptr, start, length, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StyledString_equals(ptr: KPointer, other: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_equals(ptr, other) + } + throw new Error("Not implemented") + } + static _StyledString_subStyledString(ptr: KPointer, start: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_subStyledString(ptr, start, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StyledString_fromHtml(html: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_fromHtml(html, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StyledString_toHtml(styledString: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_toHtml(styledString) + } + throw new Error("Not implemented") + } + static _StyledString_marshalling(styledString: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_marshalling(styledString) + } + throw new Error("Not implemented") + } + static _StyledString_unmarshalling(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_unmarshalling(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StyledString_getLength(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_getLength(ptr) + } + throw new Error("Not implemented") + } + static _TextStyle_styled_string_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextStyle_styled_string_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextStyle_styled_string_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextStyle_styled_string_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextStyle_styled_string_getFontColor(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextStyle_styled_string_getFontColor(ptr) + } + throw new Error("Not implemented") + } + static _TextStyle_styled_string_getFontFamily(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._TextStyle_styled_string_getFontFamily(ptr) + } + throw new Error("Not implemented") + } + static _TextStyle_styled_string_getFontSize(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._TextStyle_styled_string_getFontSize(ptr) + } + throw new Error("Not implemented") + } + static _TextStyle_styled_string_getFontWeight(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._TextStyle_styled_string_getFontWeight(ptr) + } + throw new Error("Not implemented") + } + static _TextStyle_styled_string_getFontStyle(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextStyle_styled_string_getFontStyle(ptr) + } + throw new Error("Not implemented") + } + static _DecorationStyle_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DecorationStyle_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DecorationStyle_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DecorationStyle_getFinalizer() + } + throw new Error("Not implemented") + } + static _DecorationStyle_getType(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DecorationStyle_getType(ptr) + } + throw new Error("Not implemented") + } + static _DecorationStyle_getColor(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DecorationStyle_getColor(ptr) + } + throw new Error("Not implemented") + } + static _DecorationStyle_getStyle(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DecorationStyle_getStyle(ptr) + } + throw new Error("Not implemented") + } + static _BaselineOffsetStyle_ctor(value: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaselineOffsetStyle_ctor(value) + } + throw new Error("Not implemented") + } + static _BaselineOffsetStyle_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaselineOffsetStyle_getFinalizer() + } + throw new Error("Not implemented") + } + static _BaselineOffsetStyle_getBaselineOffset(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._BaselineOffsetStyle_getBaselineOffset(ptr) + } + throw new Error("Not implemented") + } + static _LetterSpacingStyle_ctor(value: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LetterSpacingStyle_ctor(value) + } + throw new Error("Not implemented") + } + static _LetterSpacingStyle_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LetterSpacingStyle_getFinalizer() + } + throw new Error("Not implemented") + } + static _LetterSpacingStyle_getLetterSpacing(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._LetterSpacingStyle_getLetterSpacing(ptr) + } + throw new Error("Not implemented") + } + static _TextShadowStyle_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextShadowStyle_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TextShadowStyle_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextShadowStyle_getFinalizer() + } + throw new Error("Not implemented") + } + static _TextShadowStyle_getTextShadow(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._TextShadowStyle_getTextShadow(ptr) + } + throw new Error("Not implemented") + } + static _BackgroundColorStyle_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BackgroundColorStyle_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BackgroundColorStyle_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BackgroundColorStyle_getFinalizer() + } + throw new Error("Not implemented") + } + static _BackgroundColorStyle_getTextBackgroundStyle(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._BackgroundColorStyle_getTextBackgroundStyle(ptr) + } + throw new Error("Not implemented") + } + static _GestureStyle_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureStyle_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GestureStyle_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureStyle_getFinalizer() + } + throw new Error("Not implemented") + } + static _ParagraphStyle_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ParagraphStyle_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ParagraphStyle_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ParagraphStyle_getFinalizer() + } + throw new Error("Not implemented") + } + static _ParagraphStyle_getTextAlign(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ParagraphStyle_getTextAlign(ptr) + } + throw new Error("Not implemented") + } + static _ParagraphStyle_getTextIndent(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ParagraphStyle_getTextIndent(ptr) + } + throw new Error("Not implemented") + } + static _ParagraphStyle_getMaxLines(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ParagraphStyle_getMaxLines(ptr) + } + throw new Error("Not implemented") + } + static _ParagraphStyle_getOverflow(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ParagraphStyle_getOverflow(ptr) + } + throw new Error("Not implemented") + } + static _ParagraphStyle_getWordBreak(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ParagraphStyle_getWordBreak(ptr) + } + throw new Error("Not implemented") + } + static _ParagraphStyle_getLeadingMargin(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ParagraphStyle_getLeadingMargin(ptr) + } + throw new Error("Not implemented") + } + static _LineHeightStyle_ctor(lineHeight: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LineHeightStyle_ctor(lineHeight) + } + throw new Error("Not implemented") + } + static _LineHeightStyle_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LineHeightStyle_getFinalizer() + } + throw new Error("Not implemented") + } + static _LineHeightStyle_getLineHeight(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._LineHeightStyle_getLineHeight(ptr) + } + throw new Error("Not implemented") + } + static _UrlStyle_ctor(url: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UrlStyle_ctor(url) + } + throw new Error("Not implemented") + } + static _UrlStyle_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UrlStyle_getFinalizer() + } + throw new Error("Not implemented") + } + static _UrlStyle_getUrl(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._UrlStyle_getUrl(ptr) + } + throw new Error("Not implemented") + } + static _MutableStyledString_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_ctor() + } + throw new Error("Not implemented") + } + static _MutableStyledString_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_getFinalizer() + } + throw new Error("Not implemented") + } + static _MutableStyledString_replaceString(ptr: KPointer, start: number, length: number, other: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_replaceString(ptr, start, length, other) + } + throw new Error("Not implemented") + } + static _MutableStyledString_insertString(ptr: KPointer, start: number, other: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_insertString(ptr, start, other) + } + throw new Error("Not implemented") + } + static _MutableStyledString_removeString(ptr: KPointer, start: number, length: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_removeString(ptr, start, length) + } + throw new Error("Not implemented") + } + static _MutableStyledString_replaceStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_replaceStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MutableStyledString_setStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_setStyle(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _MutableStyledString_removeStyle(ptr: KPointer, start: number, length: number, styledKey: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_removeStyle(ptr, start, length, styledKey) + } + throw new Error("Not implemented") + } + static _MutableStyledString_removeStyles(ptr: KPointer, start: number, length: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_removeStyles(ptr, start, length) + } + throw new Error("Not implemented") + } + static _MutableStyledString_clearStyles(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_clearStyles(ptr) + } + throw new Error("Not implemented") + } + static _MutableStyledString_replaceStyledString(ptr: KPointer, start: number, length: number, other: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_replaceStyledString(ptr, start, length, other) + } + throw new Error("Not implemented") + } + static _MutableStyledString_insertStyledString(ptr: KPointer, start: number, other: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_insertStyledString(ptr, start, other) + } + throw new Error("Not implemented") + } + static _MutableStyledString_appendStyledString(ptr: KPointer, other: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._MutableStyledString_appendStyledString(ptr, other) + } + throw new Error("Not implemented") + } + static _ImageAttachment_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttachment_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ImageAttachment_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttachment_getFinalizer() + } + throw new Error("Not implemented") + } + static _ImageAttachment_getValue(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttachment_getValue(ptr) + } + throw new Error("Not implemented") + } + static _ImageAttachment_getSize(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttachment_getSize(ptr) + } + throw new Error("Not implemented") + } + static _ImageAttachment_getVerticalAlign(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttachment_getVerticalAlign(ptr) + } + throw new Error("Not implemented") + } + static _ImageAttachment_getObjectFit(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttachment_getObjectFit(ptr) + } + throw new Error("Not implemented") + } + static _ImageAttachment_getLayoutStyle(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttachment_getLayoutStyle(ptr) + } + throw new Error("Not implemented") + } + static _CustomSpan_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CustomSpan_ctor() + } + throw new Error("Not implemented") + } + static _CustomSpan_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CustomSpan_getFinalizer() + } + throw new Error("Not implemented") + } + static _CustomSpan_onMeasure(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._CustomSpan_onMeasure(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CustomSpan_onDraw(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CustomSpan_onDraw(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CustomSpan_invalidate(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._CustomSpan_invalidate(ptr) + } + throw new Error("Not implemented") + } + static _LinearIndicatorController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorController_ctor() + } + throw new Error("Not implemented") + } + static _LinearIndicatorController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorController_getFinalizer() + } + throw new Error("Not implemented") + } + static _LinearIndicatorController_setProgress(ptr: KPointer, index: number, progress: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorController_setProgress(ptr, index, progress) + } + throw new Error("Not implemented") + } + static _LinearIndicatorController_start(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorController_start(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LinearIndicatorController_pause(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorController_pause(ptr) + } + throw new Error("Not implemented") + } + static _LinearIndicatorController_stop(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._LinearIndicatorController_stop(ptr) + } + throw new Error("Not implemented") + } + static _GlobalScope_getContext(thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_getContext(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_postCardAction(thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_postCardAction(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_dollar_r(value: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_dollar_r(value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_dollar_rawfile(value: KStringPtr): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_dollar_rawfile(value) + } + throw new Error("Not implemented") + } + static _GlobalScope_animateTo(thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_animateTo(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_animateToImmediately(thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_animateToImmediately(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_vp2px(value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_vp2px(value) + } + throw new Error("Not implemented") + } + static _GlobalScope_px2vp(value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_px2vp(value) + } + throw new Error("Not implemented") + } + static _GlobalScope_fp2px(value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_fp2px(value) + } + throw new Error("Not implemented") + } + static _GlobalScope_px2fp(value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_px2fp(value) + } + throw new Error("Not implemented") + } + static _GlobalScope_lpx2px(value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_lpx2px(value) + } + throw new Error("Not implemented") + } + static _GlobalScope_px2lpx(value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_px2lpx(value) + } + throw new Error("Not implemented") + } + static _GlobalScope_getInspectorNodes(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_getInspectorNodes() + } + throw new Error("Not implemented") + } + static _GlobalScope_getInspectorNodeById(id: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_getInspectorNodeById(id) + } + throw new Error("Not implemented") + } + static _GlobalScope_setAppBgColor(value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_setAppBgColor(value) + } + throw new Error("Not implemented") + } + static _GlobalScope_Profiler_registerVsyncCallback(thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_Profiler_registerVsyncCallback(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_Profiler_unregisterVsyncCallback(): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_Profiler_unregisterVsyncCallback() + } + throw new Error("Not implemented") + } + static _GlobalScope_cursorControl_setCursor(value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_cursorControl_setCursor(value) + } + throw new Error("Not implemented") + } + static _GlobalScope_cursorControl_restoreDefault(): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_cursorControl_restoreDefault() + } + throw new Error("Not implemented") + } + static _GlobalScope_focusControl_requestFocus(value: KStringPtr): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_focusControl_requestFocus(value) + } + throw new Error("Not implemented") + } +} diff --git a/arkoala/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts b/arkoala/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts index 9646bc2d6c421bd8fb613e972089670c7fa0ef78..35e7b24dacdbd2d3e1fdf4c35283d4d09866dc97 100644 --- a/arkoala/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -70,11 +66,11 @@ import { ReceiveCallback, UIExtensionOptions, UIExtensionComponentAttribute, Dpi import { UIExtensionProxy } from "./../ArkUIExtensionProxyMaterialized" import { TerminationInfo } from "./../ArkEmbeddedComponentInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkVideoPeer.ts b/arkoala/arkui/src/generated/peers/ArkVideoPeer.ts index e72f07a9f5f7d6ac72906296708c9a372f6b56ce..20a170a377f30f7dca7f2b1770c8bf5d19b63883 100644 --- a/arkoala/arkui/src/generated/peers/ArkVideoPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkVideoPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, VoidCallback } from "./../ArkUnitsInterfaces" @@ -71,11 +67,11 @@ import { FullscreenInfo, PreparedInfo, PlaybackInfo, VideoOptions, VideoAttribut import { VideoController } from "./../ArkVideoControllerMaterialized" import { ImageAnalyzerController } from "./../ArkImageAnalyzerControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkWaterFlowPeer.ts b/arkoala/arkui/src/generated/peers/ArkWaterFlowPeer.ts index 9610a4a39070930454db72f0e392042524713bab..14c7101b9555454e03444b168d28b3abdcb8e330 100644 --- a/arkoala/arkui/src/generated/peers/ArkWaterFlowPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkWaterFlowPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { ScrollableCommonMethod, CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -72,11 +68,11 @@ import { Scroller } from "./../ArkScrollerMaterialized" import { WaterFlowSections } from "./../ArkWaterFlowSectionsMaterialized" import { ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, OffsetResult, ScrollAlign, ScrollToIndexOptions, ScrollAnimationOptions } from "./../ArkScrollInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkWebPeer.ts b/arkoala/arkui/src/generated/peers/ArkWebPeer.ts index b898b004c08c6110207c5b01178aed4cf402676f..b7ee914d8a96628b58c174137e173bc6dab52dec 100644 --- a/arkoala/arkui/src/generated/peers/ArkWebPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkWebPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason, NestedScrollOptions } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -92,11 +88,11 @@ import { DataResubmissionHandler } from "./../ArkDataResubmissionHandlerMaterial import { EventResult } from "./../ArkEventResultMaterialized" import { TextMenuItemId } from "./../ArkTextMenuItemIdMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkWindowScenePeer.ts b/arkoala/arkui/src/generated/peers/ArkWindowScenePeer.ts index 6f204a788bbf4a2d769019ac14bce6956af7915b..1d05856650856fa0f29059f627c581c91e4ed654 100644 --- a/arkoala/arkui/src/generated/peers/ArkWindowScenePeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkWindowScenePeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font } from "./../ArkUnitsInterfaces" @@ -68,11 +64,11 @@ import { GestureControl } from "./../ArkGestureControlNamespace" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { WindowSceneAttribute } from "./../ArkWindowSceneInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/ArkXcomponentPeer.ts b/arkoala/arkui/src/generated/peers/ArkXcomponentPeer.ts index 78f2fa5bbd50972edd1c1f9b72a11e763b412588..e28b20a717f075a8555e75e973c3c2cb0423aa0e 100644 --- a/arkoala/arkui/src/generated/peers/ArkXcomponentPeer.ts +++ b/arkoala/arkui/src/generated/peers/ArkXcomponentPeer.ts @@ -16,15 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, float32 } from "@koalaui/common" -import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { runtimeType, RuntimeType } from "@koalaui/interop" +import { int32, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" import { Serializer } from "./Serializer" -import { ComponentBase } from "../../ComponentBase" -import { PeerNode } from "../../PeerNode" -import { isInstanceOf } from "@koalaui/interop" -import { isResource, isPadding } from "../../utils" -import { ArkUIGeneratedNativeModule } from "../ArkUIGeneratedNativeModule" +import { ComponentBase } from "./../../ComponentBase" +import { PeerNode } from "./../../PeerNode" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, Rectangle, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, CustomBuilder, DragItemInfo, MotionPathOptions, ShadowOptions, ShadowStyle, 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, DrawContext, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, LinearGradient_common, FinishCallbackType, ExpectedFrameRateRange, TransitionEffects, TransitionEdge, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, ShadowType, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, ImageModifier, OverlayOffset, TransitionHierarchyStrategy, PopupMessageOptions, SymbolGlyphModifier, MenuPreviewMode, ContextMenuAnimationOptions, BindOptions, SheetSize, SheetType, SheetTitleOptions, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SourceTool, RectResult, TouchTestStrategy, EventTarget, SourceType, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, DismissPopupAction, DismissContentCoverAction, SheetDismiss, DismissSheetAction, SpringBackAction, DismissReason } from "./../ArkCommonInterfaces" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage, Area, Bias, Font, VoidCallback } from "./../ArkUnitsInterfaces" @@ -71,11 +67,11 @@ import { XComponentController } from "./../ArkXComponentControllerMaterialized" import { ImageAnalyzerConfig, ImageAIOptions, ImageAnalyzerType } from "./../ArkImageCommonInterfaces" import { ImageAnalyzerController } from "./../ArkImageAnalyzerControllerMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" +import { isResource, isPadding } from "./../../utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" -import { unsafeCast } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./Deserializer" -import { MaterializedBase, toPeerPtr, wrapCallback } from "@koalaui/interop" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Deserializer } from "./Deserializer" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts index 5af4b6180194da0f3ece58cb582dd8a2dd838581..944ba9948ef63afd197b0a73c94faa0512716ffe 100644 --- a/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -13,6 +13,9 @@ * limitations under the License. */ + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { CallbackKind } from "./CallbackKind" import { Deserializer } from "./Deserializer" import { int32, float32, int64 } from "@koalaui/common" @@ -156,7 +159,6 @@ import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" - export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as AccessibilityCallback) @@ -1536,7 +1538,8 @@ export function deserializeAndCallMenuOnAppearCallback(thisDeserializer: Deseria export function deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as NavExtender_OnUpdateStack) - _call() + let name: string = (thisDeserializer.readString() as string) + _call(name) } export function deserializeAndCallOnAdsBlockedCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() @@ -2300,4 +2303,4 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void } console.log("Unknown callback kind") } -wrapSystemCallback(1, (buffer: KSerializerBuffer, len:int32) => { deserializeAndCallCallback(new Deserializer(buffer, len)); return 0 }) \ No newline at end of file +wrapSystemCallback(1, (buffer: KSerializerBuffer, len:int32) => { deserializeAndCallCallback(new Deserializer(buffer, len)); return 0 }) diff --git a/arkoala/arkui/src/generated/peers/Deserializer.ts b/arkoala/arkui/src/generated/peers/Deserializer.ts index d4c0fb94131e0b5d3bc7af88b56066541a58bef2..988258bbaec6ee3dde8c3ee64d8359cc76307316 100644 --- a/arkoala/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala/arkui/src/generated/peers/Deserializer.ts @@ -13,31 +13,31 @@ * limitations under the License. */ -import { runtimeType, Tags, RuntimeType, SerializerBase, DeserializerBase, CallbackResource } from "@koalaui/interop" -import { KPointer, InteropNativeModule } from "@koalaui/interop" -import { MaterializedBase } from "@koalaui/interop" -import { int32, float32, unsafeCast } from "@koalaui/common" + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, ResourceHolder, isInstanceOf, NativeBuffer, KSerializerBuffer, Finalizable } from "@koalaui/interop" +import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CallbackKind } from "./CallbackKind" import { Serializer } from "./Serializer" - -import { NativeBuffer, KSerializerBuffer, Finalizable } from "@koalaui/interop" +import { isResource, isPadding } from "./../../utils" import { CallbackTransformer } from "./CallbackTransformer" -import { AccessibilityCallback, CustomBuilder, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, SymbolGlyphModifier, ShadowOptions, ShadowType, DrawContext, EventTarget, SourceType, SourceTool, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, FinishCallbackType, ExpectedFrameRateRange, DismissPopupAction, DismissReason, Rectangle, PickerTextStyle, PickerDialogButtonStyle, BlurOptions, UIContext, SheetType, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ContextMenuAnimationOptions, PopupMessageOptions, OverlayOffset, ImageModifier, MotionPathOptions, LinearGradient_common, ScrollableCommonMethod, CommonMethod, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, TransitionOptions, MotionBlurOptions, InvertOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, DragItemInfo, ShadowStyle, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, TransitionHierarchyStrategy, MenuPreviewMode, BindOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, RectResult, TouchTestStrategy, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, HoverModeAreaType, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, MenuPolicy, ContentModifier, CommonConfiguration, LayoutSafeAreaType, LayoutSafeAreaEdge, ItemDragInfo, VisibleAreaEventOptions, MeasureResult, SizeResult, Context, LightSource, MultiShadowOptions, KeyboardAvoidMode, PointLightStyle } from "./../ArkCommonInterfaces" +import { AccessibilityCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, SymbolGlyphModifier, ShadowOptions, ShadowType, DrawContext, EventTarget, SourceType, SourceTool, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, FinishCallbackType, ExpectedFrameRateRange, DismissPopupAction, DismissReason, Rectangle, PickerTextStyle, PickerDialogButtonStyle, BlurOptions, CustomBuilder, UIContext, SheetType, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ContextMenuAnimationOptions, PopupMessageOptions, OverlayOffset, ImageModifier, MotionPathOptions, LinearGradient_common, ScrollableCommonMethod, CommonMethod, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, TransitionOptions, MotionBlurOptions, InvertOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, DragItemInfo, ShadowStyle, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, TransitionHierarchyStrategy, MenuPreviewMode, BindOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, RectResult, TouchTestStrategy, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, HoverModeAreaType, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, MenuPolicy, ContentModifier, CommonConfiguration, LayoutSafeAreaType, LayoutSafeAreaEdge, ItemDragInfo, VisibleAreaEventOptions, MeasureResult, SizeResult, Context, LightSource, MultiShadowOptions, KeyboardAvoidMode, PointLightStyle } from "./../ArkCommonInterfaces" import { ButtonTriggerClickCallback, ButtonType, ButtonStyleMode, ButtonRole, LabelStyle, ControlSize, ButtonOptions } from "./../ArkButtonInterfaces" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../ArkAnimationExtenderInterfaces" import { Callback_RangeUpdate } from "./../ArkArkuiCustomInterfaces" import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, IndicatorStyle, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ArrowStyle, SwiperAutoFill, SwiperAnimationEvent } from "./../ArkSwiperInterfaces" import { CustomNodeBuilder } from "./../ArkCustomBuilderInterfaces" import { EditableTextOnChangeCallback, OnDidChangeCallback, DecorationStyleResult, Affinity, TextRange, StyledStringChangeValue, TextMenuItem, MenuType, CaretStyle, InsertValue, DeleteValue, TextDeleteDirection, LineMetrics, PositionWithAffinity, PreviewText, TextBox, TextDataDetectorConfig, FontSettingOptions, TextDataDetectorType, StyledStringChangedListener } from "./../ArkTextCommonInterfaces" -import { ErrorCallback, LengthUnit, WebHeader, TextModifier, Want, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, RectWidthStyle, RectHeightStyle, SymbolEffect, MeasureOptions, FontInfo, FontOptions, SnapshotOptions, EffectScope, EffectDirection, NodeController } from "./../ArkArkuiExternalInterfaces" +import { ErrorCallback, LengthUnit, WebHeader, TextModifier, Want, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, RectWidthStyle, RectHeightStyle, MeasureOptions, FontInfo, FontOptions, SnapshotOptions, EffectScope, EffectDirection, NodeController } from "./../ArkArkuiExternalInterfaces" import { GetItemMainSizeByIndex, WaterFlowAttribute, SectionOptions, WaterFlowOptions, WaterFlowLayoutMode } from "./../ArkWaterFlowInterfaces" import { ImageCompleteCallback, ImageLoadResult } from "./../ArkImageSpanInterfaces" -import { ImageErrorCallback, ResizableOptions, DrawingLattice, DrawableDescriptor, DrawingColorFilter, ResolutionQuality, ImageError, ImageSourceSize } from "./../ArkImageInterfaces" +import { ImageErrorCallback, ResizableOptions, DrawingLattice, DrawingColorFilter, ResolutionQuality, ImageError, ImageSourceSize } from "./../ArkImageInterfaces" import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavContentInfo, NavigationOptions, NavigationInterception, LaunchMode, NavigationMode, NavBar, NavigationOperation, NavigationAnimatedTransition, NavigationMenuItem, SystemBarStyle, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, BarStyle, ToolbarItemStatus, NavigationTitleMode } from "./../ArkNavigationInterfaces" -import { IsolatedComponentInterface, RestrictedWorker, IsolatedOptions, IsolatedComponentAttribute } from "./../ArkIsolatedComponentInterfaces" +import { IsolatedComponentInterface, RestrictedWorker, IsolatedComponentAttribute, IsolatedOptions } from "./../ArkIsolatedComponentInterfaces" import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyleResult, RichEditorSpanPosition, RichEditorParagraphStyle, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorImageSpanStyle, RichEditorTextStyle, RichEditorGesture, KeyboardOptions, PasteEvent, SelectionMenuOptions, RichEditorRange, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan, RichEditorSpanStyleOptions, RichEditorAttribute, RichEditorSpanType, RichEditorResponseType, PlaceholderStyle, RichEditorInsertValue, RichEditorDeleteValue, RichEditorChangeValue, CutEvent, CopyEvent, RichEditorDeleteDirection, RichEditorStyledStringOptions, RichEditorOptions } from "./../ArkRichEditorInterfaces" import { NavExtender_OnUpdateStack } from "./../ArkNavigationExtenderInterfaces" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, HitTestType, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeMediaPlayerConfig, ExpandedMenuItemOptions, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, 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, RenderExitReason, SslError, NativeEmbedStatus, NativeEmbedInfo, MessageLevel, FileSelectorMode, ScreenCaptureConfig, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, WebCaptureMode, WebKeyboardOptions, AdsBlockedDetails, WebKeyboardCallbackInfo, ViewportFit, RenderProcessNotRespondingData, RenderProcessNotRespondingReason, NativeEmbedVisibilityInfo, IntelligentTrackingPreventionDetails, LoadCommittedDetails, WebNavigationType, ThreatType, LargestContentfulPaint, FirstMeaningfulPaint, SslErrorEvent, FullScreenEnterEvent, WebOptions, RenderMode } from "./../ArkWebInterfaces" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, HitTestType, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeMediaPlayerConfig, ExpandedMenuItemOptions, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, 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, RenderExitReason, SslError, NativeEmbedStatus, NativeEmbedInfo, MessageLevel, FileSelectorMode, ScreenCaptureConfig, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, WebCaptureMode, WebKeyboardOptions, WebOptions, RenderMode, FullScreenEnterEvent, ThreatType, WebKeyboardCallbackInfo, AdsBlockedDetails, ViewportFit, RenderProcessNotRespondingData, RenderProcessNotRespondingReason, NativeEmbedVisibilityInfo, IntelligentTrackingPreventionDetails, FirstMeaningfulPaint, LargestContentfulPaint, SslErrorEvent, LoadCommittedDetails, WebNavigationType } from "./../ArkWebInterfaces" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, AlphabetIndexerAttribute, IndexerAlign, AlphabetIndexerOptions } from "./../ArkAlphabetIndexerInterfaces" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../ArkCheckboxInterfaces" import { OnCheckboxGroupChangeCallback, CheckboxGroupResult, SelectStatus, CheckboxGroupOptions } from "./../ArkCheckboxgroupInterfaces" @@ -49,12 +49,12 @@ import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallbac import { OnScrollVisibleContentChangeCallback, ScrollState, ScrollSnapAlign, ListDividerOptions, ListAttribute, ListItemAlign, ChainAnimationOptions, StickyStyle, ChainEdgeEffect, VisibleListContentInfo, ListItemGroupArea, CloseSwipeActionOptions, ListOptions } from "./../ArkListInterfaces" import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, DividerStyle, TabsAttribute, BarPosition, BarMode, AnimationMode, BarGridColumnOptions, ScrollableBarModeOptions, LayoutStyle, TabContentAnimatedTransition, TabsAnimationEvent, TabsOptions } from "./../ArkTabsInterfaces" import { PageTransitionCallback, RouteType } from "./../ArkPageTransitionInterfaces" -import { PluginErrorCallback, PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../ArkPluginComponentInterfaces" +import { PluginErrorCallback, PluginComponentTemplate, PluginComponentOptions, PluginErrorData } from "./../ArkPluginComponentInterfaces" import { SearchSubmitCallback, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, CancelButtonStyle, SearchAttribute, SearchType, SearchButtonOptions, SearchOptions } from "./../ArkSearchInterfaces" import { SliderTriggerChangeCallback, SliderAttribute, SliderBlockStyle, SliderInteraction, SliderConfiguration, SlideRange, SliderChangeMode, SliderBlockType, SliderOptions, SliderStyle } from "./../ArkSliderInterfaces" import { TextAreaSubmitCallback, ContentType, TextAreaAttribute, TextAreaType, TextAreaOptions } from "./../ArkTextAreaInterfaces" import { VoidCallback, Dimension, PX, VP, FP, LPX, Percentage, ResourceColor, BorderRadiuses, Length, Margin, Padding, SizeOptions, Position, Area, ResourceStr, Font, LocalizedPadding, LocalizedEdgeColors, LocalizedEdgeWidths, LocalizedBorderRadiuses, LengthMetricsUnit, ConstraintSizeOptions, ChainWeightOptions, LocalizedMargin, BorderOptions, EdgeStyles, EdgeWidths, EdgeColors, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, Bias, Offset, DividerStyleOptions, LengthConstrain, DirectionalEdgesT, MarkStyle } from "./../ArkUnitsInterfaces" -import { WithThemeInterface, CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" +import { WithThemeInterface, CustomTheme, WithThemeAttribute, WithThemeOptions } from "./../ArkWithThemeInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { PixelMap, PixelMapInternal } from "./../ArkPixelMapMaterialized" import { LengthMetrics, LengthMetricsInternal } from "./../ArkLengthMetricsMaterialized" @@ -86,21 +86,21 @@ import { TransitionEffect, TransitionEffectInternal } from "./../ArkTransitionEf import { CanvasPattern, CanvasPatternInternal } from "./../ArkCanvasPatternMaterialized" import { Matrix2D, Matrix2DInternal } from "./../ArkMatrix2DMaterialized" import { CanvasGradient, CanvasGradientInternal } from "./../ArkCanvasGradientMaterialized" -import { NavigationTransitionProxy, NavigationTransitionProxyInternal } from "./../ArkNavigationTransitionProxyMaterialized" -import { NavDestinationMode, RouteMapConfig, NavDestinationAttribute, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle } from "./../ArkNavDestinationInterfaces" import { ColorMetrics, ColorMetricsInternal } from "./../ArkColorMetricsMaterialized" 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 { WebResourceRequest, WebResourceRequestInternal } from "./../ArkWebResourceRequestMaterialized" import { DateTimeOptions, TimePickerResult, TimePickerDialogOptions, TimePickerOptions, TimePickerFormat } from "./../ArkTimePickerInterfaces" import { TextPickerResult, TextPickerDialogOptions, TextPickerOptions, TextPickerRangeContent, TextCascadePickerRangeContent, DividerOptions } from "./../ArkTextPickerInterfaces" import { TextMenuItemId, TextMenuItemIdInternal } from "./../ArkTextMenuItemIdMaterialized" import { TabContentTransitionProxy, TabContentTransitionProxyInternal } from "./../ArkTabContentTransitionProxyMaterialized" import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphAttribute, EffectFillStyle } from "./../ArkSymbolglyphInterfaces" import { StyledString, StyledStringInternal } from "./../ArkStyledStringMaterialized" +import { NavigationTransitionProxy, NavigationTransitionProxyInternal } from "./../ArkNavigationTransitionProxyMaterialized" +import { NavDestinationMode, RouteMapConfig, NavDestinationAttribute, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle } from "./../ArkNavDestinationInterfaces" import { NavPathStack, NavPathStackInternal } from "./../ArkNavPathStackMaterialized" import { NavDestinationContext, NavDestinationContextInternal } from "./../ArkNavDestinationContextMaterialized" import { GridColColumnOption, GridColOptions } from "./../ArkGridColInterfaces" @@ -163,8 +163,8 @@ import { ClientAuthenticationHandler, ClientAuthenticationHandlerInternal } from import { ControllerHandler, ControllerHandlerInternal } from "./../ArkControllerHandlerMaterialized" import { DataResubmissionHandler, DataResubmissionHandlerInternal } from "./../ArkDataResubmissionHandlerMaterialized" import { EventResult, EventResultInternal } from "./../ArkEventResultMaterialized" -import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { FullScreenExitHandler, FullScreenExitHandlerInternal } from "./../ArkFullScreenExitHandlerMaterialized" +import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { VideoController, VideoControllerInternal } from "./../ArkVideoControllerMaterialized" import { SeekMode, PlaybackInfo, PreparedInfo, FullscreenInfo, VideoOptions, PlaybackSpeed } from "./../ArkVideoInterfaces" import { TextTimerController, TextTimerControllerInternal } from "./../ArkTextTimerControllerMaterialized" @@ -179,6 +179,7 @@ import { TextController, TextControllerInternal } from "./../ArkTextControllerMa import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { TabsController, TabsControllerInternal } from "./../ArkTabsControllerMaterialized" +import { SymbolEffect, SymbolEffectInternal } from "./../ArkSymbolEffectMaterialized" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { Indicator } from "./../ArkIndicatorBuilder" import { DotIndicator } from "./../ArkDotIndicatorBuilder" @@ -200,6 +201,7 @@ import { CircleStyleOptions, PatternLockChallengeResult } from "./../ArkPatternL import { PanelMode } from "./../ArkPanelInterfaces" import { MenuItemOptions } from "./../ArkMenuItemInterfaces" import { ASTCResource } from "./../ArkMediaCachedImageInterfaces" +import { DrawableDescriptor, DrawableDescriptorInternal } from "./../ArkDrawableDescriptorMaterialized" import { ChildrenMainSize, ChildrenMainSizeInternal } from "./../ArkChildrenMainSizeMaterialized" import { ColorFilter, ColorFilterInternal } from "./../ArkColorFilterMaterialized" import { GridAttribute, GridDirection, GridItemAlignment, ComputedBarAttribute, GridLayoutOptions } from "./../ArkGridInterfaces" @@ -218,7 +220,7 @@ import { RenderingContextSettings, RenderingContextSettingsInternal } from "./.. import { OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal } from "./../ArkOffscreenCanvasRenderingContext2DMaterialized" import { CalendarDialogOptions, CalendarOptions, CalendarPickerAttribute, CalendarAlign } from "./../ArkCalendarPickerInterfaces" import { CalendarController, CalendarControllerInternal } from "./../ArkCalendarControllerMaterialized" -import { MonthData, CalendarDay, CalendarRequestedData, CalendarSelectedDate, WorkStateStyle, WeekStyle, TodayStyle, NonCurrentDayStyle, CurrentDayStyle } from "./../ArkCalendarInterfaces" +import { MonthData, CalendarDay, WorkStateStyle, WeekStyle, TodayStyle, NonCurrentDayStyle, CurrentDayStyle, CalendarRequestedData, CalendarSelectedDate } from "./../ArkCalendarInterfaces" import { BadgeStyle, BadgeParamWithString, BadgeParam, BadgePosition, BadgeParamWithNumber } from "./../ArkBadgeInterfaces" import { BaseShape, BaseShapeInternal } from "./../ArkBaseShapeMaterialized" import { CommonShape, CommonShapeInternal } from "./../ArkCommonShapeMaterialized" @@ -228,6 +230,7 @@ import { SwitchStyle, ToggleOptions, ToggleType } from "./../ArkToggleInterfaces import { TextTimerOptions } from "./../ArkTextTimerInterfaces" import { SubmitEvent, SubmitEventInternal } from "./../ArkSubmitEventMaterialized" import { TextClockOptions } from "./../ArkTextClockInterfaces" +import { PulseSymbolEffect, PulseSymbolEffectInternal } from "./../ArkPulseSymbolEffectMaterialized" import { BounceSymbolEffect, BounceSymbolEffectInternal } from "./../ArkBounceSymbolEffectMaterialized" import { DisappearSymbolEffect, DisappearSymbolEffectInternal } from "./../ArkDisappearSymbolEffectMaterialized" import { AppearSymbolEffect, AppearSymbolEffectInternal } from "./../ArkAppearSymbolEffectMaterialized" @@ -268,7 +271,6 @@ import { TapGestureEvent, TapGestureEventInternal } from "./../ArkTapGestureEven import { GaugeIndicatorOptions, GaugeShadowOptions, GaugeOptions } from "./../ArkGaugeInterfaces" import { FormLinkOptions } from "./../ArkFormLinkInterfaces" import { FormCallbackInfo, FormInfo, FormDimension, FormRenderingMode, FormShape } from "./../ArkFormComponentInterfaces" -import { BusinessError } from "./../ArkBaseInterfaces" import { TerminationInfo } from "./../ArkEmbeddedComponentInterfaces" import { EllipseOptions } from "./../ArkEllipseInterfaces" import { CustomDialogControllerOptions } from "./../ArkCustomDialogControllerInterfaces" @@ -287,6 +289,11 @@ import { FrictionMotion, FrictionMotionInternal } from "./../ArkFrictionMotionMa import { SpringMotion, SpringMotionInternal } from "./../ArkSpringMotionMaterialized" import { ReplaceSymbolEffect, ReplaceSymbolEffectInternal } from "./../ArkReplaceSymbolEffectMaterialized" import { ScaleSymbolEffect, ScaleSymbolEffectInternal } from "./../ArkScaleSymbolEffectMaterialized" +import { BusinessError } from "./../ArkBaseInterfaces" +import { AnimationOptions } from "./../ArkArkuiDrawabledescriptorInterfaces" +import { AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal } from "./../ArkAnimatedDrawableDescriptorMaterialized" +import { PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal } from "./../ArkPixelMapDrawableDescriptorMaterialized" +import { LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal } from "./../ArkLayeredDrawableDescriptorMaterialized" export class Deserializer extends DeserializerBase { readResource(): Resource { @@ -1455,34 +1462,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationTransitionProxy_Void(isSync: boolean = false): ((transitionProxy: NavigationTransitionProxy) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (transitionProxy: NavigationTransitionProxy): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNavigationTransitionProxy(transitionProxy); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1375731066, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1375731066, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCallback_Boolean_Void(isSync: boolean = false): ((parameter: boolean) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: boolean): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeBoolean(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(313269291, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(313269291, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readColorMetrics(): ColorMetrics { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -1510,6 +1489,16 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return ImageAnalyzerControllerInternal.fromPtr(ptr) } + readWebviewController(): WebviewController { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return WebviewControllerInternal.fromPtr(ptr) + } + readWebController(): WebController { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return WebControllerInternal.fromPtr(ptr) + } readEventTarget(): EventTarget { let valueDeserializer: Deserializer = this const area_result: Area = valueDeserializer.readArea() @@ -1521,16 +1510,6 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return WebResourceRequestInternal.fromPtr(ptr) } - readWebviewController(): WebviewController { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return WebviewControllerInternal.fromPtr(ptr) - } - readWebController(): WebController { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return WebControllerInternal.fromPtr(ptr) - } readCallback_String_Void(isSync: boolean = false): ((breakpoints: string) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -2657,6 +2636,34 @@ export class Deserializer extends DeserializerBase { let value: RichEditorGesture = ({onClick: onClick_result, onLongPress: onLongPress_result} as RichEditorGesture) return value } + readCallback_NavigationTransitionProxy_Void(isSync: boolean = false): ((transitionProxy: NavigationTransitionProxy) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (transitionProxy: NavigationTransitionProxy): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNavigationTransitionProxy(transitionProxy); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1375731066, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1375731066, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_Boolean_Void(isSync: boolean = false): ((parameter: boolean) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: boolean): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(313269291, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(313269291, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readNavPathStack(): NavPathStack { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -3790,138 +3797,11 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCustomTheme(): CustomTheme { - let valueDeserializer: Deserializer = this - const _CustomThemeStub_result: string = (valueDeserializer.readString() as string) - let value: CustomTheme = ({_CustomThemeStub: _CustomThemeStub_result} as CustomTheme) - return value - } - readRestrictedWorker(): RestrictedWorker { - let valueDeserializer: Deserializer = this - const _RestrictedWorkerStub_result: string = (valueDeserializer.readString() as string) - let value: RestrictedWorker = ({_RestrictedWorkerStub: _RestrictedWorkerStub_result} as RestrictedWorker) - return value - } - readWant(): Want { - let valueDeserializer: Deserializer = this - const bundleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bundleName_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bundleName_buf_runtimeType)) - { - bundleName_buf = (valueDeserializer.readString() as string) - } - const bundleName_result: string | undefined|undefined = bundleName_buf - const abilityName_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let abilityName_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (abilityName_buf_runtimeType)) - { - abilityName_buf = (valueDeserializer.readString() as string) - } - const abilityName_result: string | undefined|undefined = abilityName_buf - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readString() as string) - } - const deviceId_result: string | undefined|undefined = deviceId_buf - const uri_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let uri_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (uri_buf_runtimeType)) - { - uri_buf = (valueDeserializer.readString() as string) - } - const uri_result: string | undefined|undefined = uri_buf - const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let type_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) - { - type_buf = (valueDeserializer.readString() as string) - } - const type_result: string | undefined|undefined = type_buf - const flags_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let flags_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (flags_buf_runtimeType)) - { - flags_buf = (valueDeserializer.readNumber() as number) - } - const flags_result: number | undefined|undefined = flags_buf - const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let action_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) - { - action_buf = (valueDeserializer.readString() as string) - } - const action_result: string | undefined|undefined = action_buf - const parameters_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let parameters_buf: Map | undefined|undefined - if ((RuntimeType.UNDEFINED) != (parameters_buf_runtimeType)) - { - const parameters_buf__size: int32 = valueDeserializer.readInt32() - let parameters_buf_: Map = new Map() - // TODO: TS map resize - for (let parameters_buf__i = 0; parameters_buf__i < parameters_buf__size; parameters_buf__i++) { - const parameters_buf__key: string = (valueDeserializer.readString() as string) - const parameters_buf__value: Object = (valueDeserializer.readCustomObject("Object") as Object) - parameters_buf_.set(parameters_buf__key, parameters_buf__value) - } - parameters_buf = parameters_buf_ - } - const parameters_result: Map | undefined|undefined = parameters_buf - const entities_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let entities_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (entities_buf_runtimeType)) - { - const entities_buf__length: int32 = valueDeserializer.readInt32() - let entities_buf_: Array = new Array(entities_buf__length) - for (let entities_buf__i = 0; entities_buf__i < entities_buf__length; entities_buf__i++) { - entities_buf_[entities_buf__i] = (valueDeserializer.readString() as string) - } - entities_buf = entities_buf_ - } - const entities_result: Array | undefined|undefined = entities_buf - const moduleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let moduleName_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (moduleName_buf_runtimeType)) - { - moduleName_buf = (valueDeserializer.readString() as string) - } - const moduleName_result: string | undefined|undefined = moduleName_buf - let value: Want = ({bundleName: bundleName_result, abilityName: abilityName_result, deviceId: deviceId_result, uri: uri_result, type: type_result, flags: flags_result, action: action_result, parameters: parameters_result, entities: entities_result, moduleName: moduleName_result} as Want) - return value - } readStyledString(): StyledString { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return StyledStringInternal.fromPtr(ptr) } - readNavigationAnimatedTransition(): NavigationAnimatedTransition { - let valueDeserializer: Deserializer = this - const onTransitionEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onTransitionEnd_buf: ((parameter: boolean) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onTransitionEnd_buf_runtimeType)) - { - onTransitionEnd_buf = valueDeserializer.readCallback_Boolean_Void() - } - const onTransitionEnd_result: ((parameter: boolean) => void) | undefined|undefined = onTransitionEnd_buf - const timeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let timeout_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (timeout_buf_runtimeType)) - { - timeout_buf = (valueDeserializer.readNumber() as number) - } - const timeout_result: number | undefined|undefined = timeout_buf - const isInteractive_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let isInteractive_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (isInteractive_buf_runtimeType)) - { - isInteractive_buf = valueDeserializer.readBoolean() - } - const isInteractive_result: boolean | undefined|undefined = isInteractive_buf - const transition_result: ((transitionProxy: NavigationTransitionProxy) => void) = valueDeserializer.readCallback_NavigationTransitionProxy_Void() - let value: NavigationAnimatedTransition = ({onTransitionEnd: onTransitionEnd_result, timeout: timeout_result, isInteractive: isInteractive_result, transition: transition_result} as NavigationAnimatedTransition) - return value - } readProfiler_Callback_String_Void(isSync: boolean = false): ((info: string) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -4097,42 +3977,136 @@ export class Deserializer extends DeserializerBase { let value: SpanStyle = ({start: start_result, length: length_result, styledKey: styledKey_result, styledValue: styledValue_result} as SpanStyle) return value } - readCallback_UIExtensionProxy_Void(isSync: boolean = false): ((parameter: UIExtensionProxy) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: UIExtensionProxy): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeUIExtensionProxy(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1063506522, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1063506522, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readWaterFlowAttribute(): WaterFlowAttribute { - let value: WaterFlowAttribute = ({} as WaterFlowAttribute) - return value - } - readWaterFlowSections(): WaterFlowSections { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return WaterFlowSectionsInternal.fromPtr(ptr) - } - readScroller(): Scroller { + readRestrictedWorker(): RestrictedWorker { let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return ScrollerInternal.fromPtr(ptr) + const _RestrictedWorkerStub_result: string = (valueDeserializer.readString() as string) + let value: RestrictedWorker = ({_RestrictedWorkerStub: _RestrictedWorkerStub_result} as RestrictedWorker) + return value } - readSectionOptions(): SectionOptions { + readWant(): Want { let valueDeserializer: Deserializer = this - const itemsCount_result: number = (valueDeserializer.readNumber() as number) - const crossCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let crossCount_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (crossCount_buf_runtimeType)) + const bundleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bundleName_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bundleName_buf_runtimeType)) { - crossCount_buf = (valueDeserializer.readNumber() as number) + bundleName_buf = (valueDeserializer.readString() as string) + } + const bundleName_result: string | undefined|undefined = bundleName_buf + const abilityName_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let abilityName_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (abilityName_buf_runtimeType)) + { + abilityName_buf = (valueDeserializer.readString() as string) + } + const abilityName_result: string | undefined|undefined = abilityName_buf + const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let deviceId_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) + { + deviceId_buf = (valueDeserializer.readString() as string) + } + const deviceId_result: string | undefined|undefined = deviceId_buf + const uri_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let uri_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (uri_buf_runtimeType)) + { + uri_buf = (valueDeserializer.readString() as string) + } + const uri_result: string | undefined|undefined = uri_buf + const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let type_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) + { + type_buf = (valueDeserializer.readString() as string) + } + const type_result: string | undefined|undefined = type_buf + const flags_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let flags_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (flags_buf_runtimeType)) + { + flags_buf = (valueDeserializer.readNumber() as number) + } + const flags_result: number | undefined|undefined = flags_buf + const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let action_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) + { + action_buf = (valueDeserializer.readString() as string) + } + const action_result: string | undefined|undefined = action_buf + const parameters_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let parameters_buf: Map | undefined|undefined + if ((RuntimeType.UNDEFINED) != (parameters_buf_runtimeType)) + { + const parameters_buf__size: int32 = valueDeserializer.readInt32() + let parameters_buf_: Map = new Map() + // TODO: TS map resize + for (let parameters_buf__i = 0; parameters_buf__i < parameters_buf__size; parameters_buf__i++) { + const parameters_buf__key: string = (valueDeserializer.readString() as string) + const parameters_buf__value: Object = (valueDeserializer.readCustomObject("Object") as Object) + parameters_buf_.set(parameters_buf__key, parameters_buf__value) + } + parameters_buf = parameters_buf_ + } + const parameters_result: Map | undefined|undefined = parameters_buf + const entities_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let entities_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (entities_buf_runtimeType)) + { + const entities_buf__length: int32 = valueDeserializer.readInt32() + let entities_buf_: Array = new Array(entities_buf__length) + for (let entities_buf__i = 0; entities_buf__i < entities_buf__length; entities_buf__i++) { + entities_buf_[entities_buf__i] = (valueDeserializer.readString() as string) + } + entities_buf = entities_buf_ + } + const entities_result: Array | undefined|undefined = entities_buf + const moduleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let moduleName_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (moduleName_buf_runtimeType)) + { + moduleName_buf = (valueDeserializer.readString() as string) + } + const moduleName_result: string | undefined|undefined = moduleName_buf + let value: Want = ({bundleName: bundleName_result, abilityName: abilityName_result, deviceId: deviceId_result, uri: uri_result, type: type_result, flags: flags_result, action: action_result, parameters: parameters_result, entities: entities_result, moduleName: moduleName_result} as Want) + return value + } + readCallback_UIExtensionProxy_Void(isSync: boolean = false): ((parameter: UIExtensionProxy) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: UIExtensionProxy): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeUIExtensionProxy(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1063506522, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1063506522, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readWaterFlowAttribute(): WaterFlowAttribute { + let value: WaterFlowAttribute = ({} as WaterFlowAttribute) + return value + } + readWaterFlowSections(): WaterFlowSections { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return WaterFlowSectionsInternal.fromPtr(ptr) + } + readScroller(): Scroller { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return ScrollerInternal.fromPtr(ptr) + } + readSectionOptions(): SectionOptions { + let valueDeserializer: Deserializer = this + const itemsCount_result: number = (valueDeserializer.readNumber() as number) + const crossCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let crossCount_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (crossCount_buf_runtimeType)) + { + crossCount_buf = (valueDeserializer.readNumber() as number) } const crossCount_result: number | undefined|undefined = crossCount_buf const onGetItemMainSizeByIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -4429,11 +4403,6 @@ export class Deserializer extends DeserializerBase { let value: SelectionMenuOptionsExt = ({onAppear: onAppear_result, onDisappear: onDisappear_result, preview: preview_result, menuType: menuType_result} as SelectionMenuOptionsExt) return value } - readWebKeyboardController(): WebKeyboardController { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return WebKeyboardControllerInternal.fromPtr(ptr) - } readCallback_Literal_String_plainText_Void(isSync: boolean = false): ((selectedText: { plainText: string }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -4449,6 +4418,46 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + readNestedScrollOptionsExt(): NestedScrollOptionsExt { + let valueDeserializer: Deserializer = this + const scrollUp_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollUp_buf: NestedScrollMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scrollUp_buf_runtimeType)) + { + scrollUp_buf = (valueDeserializer.readInt32() as NestedScrollMode) + } + const scrollUp_result: NestedScrollMode | undefined|undefined = scrollUp_buf + const scrollDown_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollDown_buf: NestedScrollMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scrollDown_buf_runtimeType)) + { + scrollDown_buf = (valueDeserializer.readInt32() as NestedScrollMode) + } + const scrollDown_result: NestedScrollMode | undefined|undefined = scrollDown_buf + const scrollRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollRight_buf: NestedScrollMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scrollRight_buf_runtimeType)) + { + scrollRight_buf = (valueDeserializer.readInt32() as NestedScrollMode) + } + const scrollRight_result: NestedScrollMode | undefined|undefined = scrollRight_buf + const scrollLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollLeft_buf: NestedScrollMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scrollLeft_buf_runtimeType)) + { + scrollLeft_buf = (valueDeserializer.readInt32() as NestedScrollMode) + } + const scrollLeft_result: NestedScrollMode | undefined|undefined = scrollLeft_buf + let value: NestedScrollOptionsExt = ({scrollUp: scrollUp_result, scrollDown: scrollDown_result, scrollRight: scrollRight_result, scrollLeft: scrollLeft_result} as NestedScrollOptionsExt) + return value + } + readNestedScrollOptions(): NestedScrollOptions { + let valueDeserializer: Deserializer = this + const scrollForward_result: NestedScrollMode = (valueDeserializer.readInt32() as NestedScrollMode) + const scrollBackward_result: NestedScrollMode = (valueDeserializer.readInt32() as NestedScrollMode) + let value: NestedScrollOptions = ({scrollForward: scrollForward_result, scrollBackward: scrollBackward_result} as NestedScrollOptions) + return value + } readEventResult(): EventResult { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -4535,46 +4544,6 @@ export class Deserializer extends DeserializerBase { let value: NativeEmbedInfo = ({id: id_result, type: type_result, src: src_result, position: position_result, width: width_result, height: height_result, url: url_result, tag: tag_result, params: params_result} as NativeEmbedInfo) return value } - readNestedScrollOptionsExt(): NestedScrollOptionsExt { - let valueDeserializer: Deserializer = this - const scrollUp_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollUp_buf: NestedScrollMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scrollUp_buf_runtimeType)) - { - scrollUp_buf = (valueDeserializer.readInt32() as NestedScrollMode) - } - const scrollUp_result: NestedScrollMode | undefined|undefined = scrollUp_buf - const scrollDown_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollDown_buf: NestedScrollMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scrollDown_buf_runtimeType)) - { - scrollDown_buf = (valueDeserializer.readInt32() as NestedScrollMode) - } - const scrollDown_result: NestedScrollMode | undefined|undefined = scrollDown_buf - const scrollRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollRight_buf: NestedScrollMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scrollRight_buf_runtimeType)) - { - scrollRight_buf = (valueDeserializer.readInt32() as NestedScrollMode) - } - const scrollRight_result: NestedScrollMode | undefined|undefined = scrollRight_buf - const scrollLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollLeft_buf: NestedScrollMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scrollLeft_buf_runtimeType)) - { - scrollLeft_buf = (valueDeserializer.readInt32() as NestedScrollMode) - } - const scrollLeft_result: NestedScrollMode | undefined|undefined = scrollLeft_buf - let value: NestedScrollOptionsExt = ({scrollUp: scrollUp_result, scrollDown: scrollDown_result, scrollRight: scrollRight_result, scrollLeft: scrollLeft_result} as NestedScrollOptionsExt) - return value - } - readNestedScrollOptions(): NestedScrollOptions { - let valueDeserializer: Deserializer = this - const scrollForward_result: NestedScrollMode = (valueDeserializer.readInt32() as NestedScrollMode) - const scrollBackward_result: NestedScrollMode = (valueDeserializer.readInt32() as NestedScrollMode) - let value: NestedScrollOptions = ({scrollForward: scrollForward_result, scrollBackward: scrollBackward_result} as NestedScrollOptions) - return value - } readDataResubmissionHandler(): DataResubmissionHandler { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -4620,11 +4589,6 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return HttpAuthHandlerInternal.fromPtr(ptr) } - readFullScreenExitHandler(): FullScreenExitHandler { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return FullScreenExitHandlerInternal.fromPtr(ptr) - } readFileSelectorParam(): FileSelectorParam { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -4671,11 +4635,27 @@ export class Deserializer extends DeserializerBase { let value: ScreenCaptureConfig = ({captureMode: captureMode_result} as ScreenCaptureConfig) return value } + readFullScreenExitHandler(): FullScreenExitHandler { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return FullScreenExitHandlerInternal.fromPtr(ptr) + } + readWebKeyboardController(): WebKeyboardController { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return WebKeyboardControllerInternal.fromPtr(ptr) + } readVideoController(): VideoController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return VideoControllerInternal.fromPtr(ptr) } + readCustomTheme(): CustomTheme { + let valueDeserializer: Deserializer = this + const _CustomThemeStub_result: string = (valueDeserializer.readString() as string) + let value: CustomTheme = ({_CustomThemeStub: _CustomThemeStub_result} as CustomTheme) + return value + } readTimePickerDialogOptions(): TimePickerDialogOptions { let valueDeserializer: Deserializer = this const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -5765,8 +5745,9 @@ export class Deserializer extends DeserializerBase { return value } readSymbolEffect(): SymbolEffect { - let value: SymbolEffect = ({} as SymbolEffect) - return value + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return SymbolEffectInternal.fromPtr(ptr) } readDigitIndicator(): DigitIndicator { throw new Error("Can not deserialize builder class") @@ -7036,6 +7017,33 @@ export class Deserializer extends DeserializerBase { let value: NavContentInfo = ({name: name_result, index: index_result, mode: mode_result, param: param_result, navDestinationId: navDestinationId_result} as NavContentInfo) return value } + readNavigationAnimatedTransition(): NavigationAnimatedTransition { + let valueDeserializer: Deserializer = this + const onTransitionEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onTransitionEnd_buf: ((parameter: boolean) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onTransitionEnd_buf_runtimeType)) + { + onTransitionEnd_buf = valueDeserializer.readCallback_Boolean_Void() + } + const onTransitionEnd_result: ((parameter: boolean) => void) | undefined|undefined = onTransitionEnd_buf + const timeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let timeout_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (timeout_buf_runtimeType)) + { + timeout_buf = (valueDeserializer.readNumber() as number) + } + const timeout_result: number | undefined|undefined = timeout_buf + const isInteractive_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isInteractive_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isInteractive_buf_runtimeType)) + { + isInteractive_buf = valueDeserializer.readBoolean() + } + const isInteractive_result: boolean | undefined|undefined = isInteractive_buf + const transition_result: ((transitionProxy: NavigationTransitionProxy) => void) = valueDeserializer.readCallback_NavigationTransitionProxy_Void() + let value: NavigationAnimatedTransition = ({onTransitionEnd: onTransitionEnd_result, timeout: timeout_result, isInteractive: isInteractive_result, transition: transition_result} as NavigationAnimatedTransition) + return value + } readNavDestinationContext(): NavDestinationContext { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -7434,9 +7442,8 @@ export class Deserializer extends DeserializerBase { } readDrawableDescriptor(): DrawableDescriptor { let valueDeserializer: Deserializer = this - const _DrawableDescriptorStub_result: string = (valueDeserializer.readString() as string) - let value: DrawableDescriptor = ({_DrawableDescriptorStub: _DrawableDescriptorStub_result} as DrawableDescriptor) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return DrawableDescriptorInternal.fromPtr(ptr) } readMatrix2D(): Matrix2D { let valueDeserializer: Deserializer = this @@ -12626,11 +12633,12 @@ export class Deserializer extends DeserializerBase { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (): void => { + return (name: string): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); + _argsSerializer.writeString(name); (isSync) ? (InteropNativeModule._CallCallbackSync(-588228933, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-588228933, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } @@ -13191,149 +13199,6 @@ export class Deserializer extends DeserializerBase { let value: DoubleAnimationParam = ({propertyName: propertyName_result, startValue: startValue_result, endValue: endValue_result, duration: duration_result, delay: delay_result, curve: curve_result, onProgress: onProgress_result, onFinish: onFinish_result} as DoubleAnimationParam) return value } - readWithThemeOptions(): WithThemeOptions { - let valueDeserializer: Deserializer = this - const theme_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let theme_buf: CustomTheme | undefined|undefined - if ((RuntimeType.UNDEFINED) != (theme_buf_runtimeType)) - { - theme_buf = valueDeserializer.readCustomTheme() - } - const theme_result: CustomTheme | undefined|undefined = theme_buf - const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colorMode_buf: ThemeColorMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) - { - colorMode_buf = (valueDeserializer.readInt32() as ThemeColorMode) - } - const colorMode_result: ThemeColorMode | undefined|undefined = colorMode_buf - let value: WithThemeOptions = ({theme: theme_result, colorMode: colorMode_result} as WithThemeOptions) - return value - } - readWithThemeInterface(isSync: boolean = false): WithThemeInterface { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (options: WithThemeOptions): WithThemeAttribute => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeWithThemeOptions(options); - let _continuationValue: WithThemeAttribute | undefined|undefined ; - const _continuationCallback: ((value: WithThemeAttribute) => void) = (value: WithThemeAttribute): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(219587748, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(219587748, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as WithThemeAttribute); } - } - readType_NavigationAttribute_customNavContentTransition_delegate(isSync: boolean = false): ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation): NavigationAnimatedTransition | undefined => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNavContentInfo(from); - _argsSerializer.writeNavContentInfo(to); - _argsSerializer.writeInt32(operation.valueOf()); - let _continuationValue: NavigationAnimatedTransition | undefined|undefined ; - const _continuationCallback: ((value: NavigationAnimatedTransition | undefined) => void) = (value?: NavigationAnimatedTransition | undefined): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(1044833488, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1044833488, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as NavigationAnimatedTransition); } - } - readSliderTriggerChangeCallback(isSync: boolean = false): SliderTriggerChangeCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (value: number, mode: SliderChangeMode): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(value); - _argsSerializer.writeInt32(mode.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(711649376, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(711649376, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (type: RouteType, progress: number): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(type.valueOf()); - _argsSerializer.writeNumber(progress); - (isSync) ? (InteropNativeModule._CallCallbackSync(1627123591, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1627123591, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readOnScrollCallback(isSync: boolean = false): OnScrollCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (scrollOffset: number, scrollState: ScrollState): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(scrollOffset); - _argsSerializer.writeInt32(scrollState.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(-160015401, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-160015401, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readOnMoveHandler(isSync: boolean = false): OnMoveHandler { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (from: number, to: number): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(from); - _argsSerializer.writeNumber(to); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1200281222, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1200281222, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readIsolatedOptions(): IsolatedOptions { - let valueDeserializer: Deserializer = this - const want_result: Want = valueDeserializer.readWant() - const worker_result: RestrictedWorker = valueDeserializer.readRestrictedWorker() - let value: IsolatedOptions = ({want: want_result, worker: worker_result} as IsolatedOptions) - return value - } - readIsolatedComponentInterface(isSync: boolean = false): IsolatedComponentInterface { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (options: IsolatedOptions): IsolatedComponentAttribute => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeIsolatedOptions(options); - let _continuationValue: IsolatedComponentAttribute | undefined|undefined ; - const _continuationCallback: ((value: IsolatedComponentAttribute) => void) = (value: IsolatedComponentAttribute): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(2139680213, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(2139680213, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as IsolatedComponentAttribute); } - } - readWithThemeAttribute(): WithThemeAttribute { - let value: WithThemeAttribute = ({} as WithThemeAttribute) - return value - } readCallback_WithThemeAttribute_Void(isSync: boolean = false): ((value: WithThemeAttribute) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -13453,21 +13318,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_String_Unknown_Void(isSync: boolean = false): ((name: string, param: unknown) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (name: string, param: unknown): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(name); - _argsSerializer.writeCustomObject("Any", param); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCallback_Pointer_Void(isSync: boolean = false): ((value: KPointer) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -13605,34 +13455,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationTitleMode_Void(isSync: boolean = false): ((titleMode: NavigationTitleMode) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (titleMode: NavigationTitleMode): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(titleMode.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(1685437830, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1685437830, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCallback_NavigationMode_Void(isSync: boolean = false): ((mode: NavigationMode) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (mode: NavigationMode): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(mode.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(960690982, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(960690982, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCallback_Literal_Number_offsetRemain_Void(isSync: boolean = false): ((value: { offsetRemain: number }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -13648,10 +13470,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readIsolatedComponentAttribute(): IsolatedComponentAttribute { - let value: IsolatedComponentAttribute = ({} as IsolatedComponentAttribute) - return value - } readCallback_IsolatedComponentAttribute_Void(isSync: boolean = false): ((value: IsolatedComponentAttribute) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -13754,21 +13572,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readButtonTriggerClickCallback(isSync: boolean = false): ButtonTriggerClickCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (xPos: number, yPos: number): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(xPos); - _argsSerializer.writeNumber(yPos); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1964292933, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1964292933, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readLinearIndicatorController(): LinearIndicatorController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -14032,6 +13835,40 @@ export class Deserializer extends DeserializerBase { let value: StyleOptions = ({start: start_result, length: length_result, styledKey: styledKey_result, styledValue: styledValue_result} as StyleOptions) return value } + readIsolatedComponentAttribute(): IsolatedComponentAttribute { + let value: IsolatedComponentAttribute = ({} as IsolatedComponentAttribute) + return value + } + readIsolatedOptions(): IsolatedOptions { + let valueDeserializer: Deserializer = this + const want_result: Want = valueDeserializer.readWant() + const worker_result: RestrictedWorker = valueDeserializer.readRestrictedWorker() + let value: IsolatedOptions = ({want: want_result, worker: worker_result} as IsolatedOptions) + return value + } + readIsolatedComponentInterface(isSync: boolean = false): IsolatedComponentInterface { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (options: IsolatedOptions): IsolatedComponentAttribute => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeIsolatedOptions(options); + let _continuationValue: IsolatedComponentAttribute | undefined|undefined ; + const _continuationCallback: ((value: IsolatedComponentAttribute) => void) = (value: IsolatedComponentAttribute): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(2139680213, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(2139680213, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as IsolatedComponentAttribute); } + } + readReceiveCallback(): ReceiveCallback { + let valueDeserializer: Deserializer = this + const _ReceiveCallbackStub_result: string = (valueDeserializer.readString() as string) + let value: ReceiveCallback = ({_ReceiveCallbackStub: _ReceiveCallbackStub_result} as ReceiveCallback) + return value + } readCallback_Literal_Number_code_Want_want_Void(isSync: boolean = false): ((parameter: { code: number, want?: Want }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -14055,12 +13892,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readReceiveCallback(): ReceiveCallback { - let valueDeserializer: Deserializer = this - const _ReceiveCallbackStub_result: string = (valueDeserializer.readString() as string) - let value: ReceiveCallback = ({_ReceiveCallbackStub: _ReceiveCallbackStub_result} as ReceiveCallback) - return value - } readUIExtensionOptions(): UIExtensionOptions { let valueDeserializer: Deserializer = this const isTransferringCaller_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -14223,99 +14054,7 @@ export class Deserializer extends DeserializerBase { let value: XComponentOptions = ({type: type_result, controller: controller_result, imageAIOptions: imageAIOptions_result} as XComponentOptions) return value } - readAdsBlockedDetails(): AdsBlockedDetails { - let valueDeserializer: Deserializer = this - const url_result: string = (valueDeserializer.readString() as string) - const adsBlocked_buf_length: int32 = valueDeserializer.readInt32() - let adsBlocked_buf: Array = new Array(adsBlocked_buf_length) - for (let adsBlocked_buf_i = 0; adsBlocked_buf_i < adsBlocked_buf_length; adsBlocked_buf_i++) { - adsBlocked_buf[adsBlocked_buf_i] = (valueDeserializer.readString() as string) - } - const adsBlocked_result: Array = adsBlocked_buf - let value: AdsBlockedDetails = ({url: url_result, adsBlocked: adsBlocked_result} as AdsBlockedDetails) - return value - } - readOnAdsBlockedCallback(isSync: boolean = false): OnAdsBlockedCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (details: AdsBlockedDetails): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeAdsBlockedDetails(details); - (isSync) ? (InteropNativeModule._CallCallbackSync(1572284740, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1572284740, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readWebKeyboardOptions(): WebKeyboardOptions { - let valueDeserializer: Deserializer = this - const useSystemKeyboard_result: boolean = valueDeserializer.readBoolean() - const enterKeyType_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enterKeyType_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enterKeyType_buf_runtimeType)) - { - enterKeyType_buf = (valueDeserializer.readNumber() as number) - } - const enterKeyType_result: number | undefined|undefined = enterKeyType_buf - const customKeyboard_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let customKeyboard_buf: CustomBuilder | undefined|undefined - if ((RuntimeType.UNDEFINED) != (customKeyboard_buf_runtimeType)) - { - customKeyboard_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - } - const customKeyboard_result: CustomBuilder | undefined|undefined = customKeyboard_buf - let value: WebKeyboardOptions = ({useSystemKeyboard: useSystemKeyboard_result, enterKeyType: enterKeyType_result, customKeyboard: customKeyboard_result} as WebKeyboardOptions) - return value - } - readWebKeyboardCallbackInfo(): WebKeyboardCallbackInfo { - let valueDeserializer: Deserializer = this - const controller_result: WebKeyboardController = (valueDeserializer.readWebKeyboardController() as WebKeyboardController) - const attributes_buf_size: int32 = valueDeserializer.readInt32() - let attributes_buf: Map = new Map() - // TODO: TS map resize - for (let attributes_buf_i = 0; attributes_buf_i < attributes_buf_size; attributes_buf_i++) { - const attributes_buf_key: string = (valueDeserializer.readString() as string) - const attributes_buf_value: string = (valueDeserializer.readString() as string) - attributes_buf.set(attributes_buf_key, attributes_buf_value) - } - const attributes_result: Map = attributes_buf - let value: WebKeyboardCallbackInfo = ({controller: controller_result, attributes: attributes_result} as WebKeyboardCallbackInfo) - return value - } - readWebKeyboardCallback(isSync: boolean = false): WebKeyboardCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (keyboardCallbackInfo: WebKeyboardCallbackInfo): WebKeyboardOptions => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeWebKeyboardCallbackInfo(keyboardCallbackInfo); - let _continuationValue: WebKeyboardOptions | undefined|undefined ; - const _continuationCallback: ((value: WebKeyboardOptions) => void) = (value: WebKeyboardOptions): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1829763354, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1829763354, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as WebKeyboardOptions); } - } - readOnViewportFitChangedCallback(isSync: boolean = false): OnViewportFitChangedCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (viewportFit: ViewportFit): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(viewportFit.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(1847083191, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1847083191, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readExpandedMenuItemOptions(): ExpandedMenuItemOptions { + readExpandedMenuItemOptions(): ExpandedMenuItemOptions { let valueDeserializer: Deserializer = this const content_buf_selector: number = valueDeserializer.readInt8() let content_buf: string | Resource | undefined|undefined @@ -14351,41 +14090,6 @@ export class Deserializer extends DeserializerBase { let value: ExpandedMenuItemOptions = ({content: content_result, startIcon: startIcon_result, action: action_result} as ExpandedMenuItemOptions) return value } - readOnRenderProcessRespondingCallback(isSync: boolean = false): OnRenderProcessRespondingCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - (isSync) ? (InteropNativeModule._CallCallbackSync(1334389194, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1334389194, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readRenderProcessNotRespondingData(): RenderProcessNotRespondingData { - let valueDeserializer: Deserializer = this - const jsStack_result: string = (valueDeserializer.readString() as string) - const pid_result: number = (valueDeserializer.readNumber() as number) - const reason_result: RenderProcessNotRespondingReason = (valueDeserializer.readInt32() as RenderProcessNotRespondingReason) - let value: RenderProcessNotRespondingData = ({jsStack: jsStack_result, pid: pid_result, reason: reason_result} as RenderProcessNotRespondingData) - return value - } - readOnRenderProcessNotRespondingCallback(isSync: boolean = false): OnRenderProcessNotRespondingCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (data: RenderProcessNotRespondingData): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeRenderProcessNotRespondingData(data); - (isSync) ? (InteropNativeModule._CallCallbackSync(47282303, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(47282303, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readNativeMediaPlayerConfig(): NativeMediaPlayerConfig { let valueDeserializer: Deserializer = this const enable_result: boolean = valueDeserializer.readBoolean() @@ -14393,22 +14097,80 @@ export class Deserializer extends DeserializerBase { let value: NativeMediaPlayerConfig = ({enable: enable_result, shouldOverlay: shouldOverlay_result} as NativeMediaPlayerConfig) return value } - readOnOverrideUrlLoadingCallback(isSync: boolean = false): OnOverrideUrlLoadingCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (webResourceRequest: WebResourceRequest): boolean => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeWebResourceRequest(webResourceRequest); - let _continuationValue: boolean | undefined|undefined ; - const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(865258467, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(865258467, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } + readScriptItem(): ScriptItem { + let valueDeserializer: Deserializer = this + const script_result: string = (valueDeserializer.readString() as string) + const scriptRules_buf_length: int32 = valueDeserializer.readInt32() + let scriptRules_buf: Array = new Array(scriptRules_buf_length) + for (let scriptRules_buf_i = 0; scriptRules_buf_i < scriptRules_buf_length; scriptRules_buf_i++) { + scriptRules_buf[scriptRules_buf_i] = (valueDeserializer.readString() as string) + } + const scriptRules_result: Array = scriptRules_buf + let value: ScriptItem = ({script: script_result, scriptRules: scriptRules_result} as ScriptItem) + return value + } + readWebMediaOptions(): WebMediaOptions { + let valueDeserializer: Deserializer = this + const resumeInterval_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let resumeInterval_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (resumeInterval_buf_runtimeType)) + { + resumeInterval_buf = (valueDeserializer.readNumber() as number) + } + const resumeInterval_result: number | undefined|undefined = resumeInterval_buf + const audioExclusive_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let audioExclusive_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (audioExclusive_buf_runtimeType)) + { + audioExclusive_buf = valueDeserializer.readBoolean() + } + const audioExclusive_result: boolean | undefined|undefined = audioExclusive_buf + let value: WebMediaOptions = ({resumeInterval: resumeInterval_result, audioExclusive: audioExclusive_result} as WebMediaOptions) + return value + } + readJavaScriptProxy(): JavaScriptProxy { + let valueDeserializer: Deserializer = this + const object__result: Object = (valueDeserializer.readCustomObject("Object") as Object) + const name_result: string = (valueDeserializer.readString() as string) + const methodList_buf_length: int32 = valueDeserializer.readInt32() + let methodList_buf: Array = new Array(methodList_buf_length) + for (let methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { + methodList_buf[methodList_buf_i] = (valueDeserializer.readString() as string) + } + const methodList_result: Array = methodList_buf + const controller_buf_selector: number = valueDeserializer.readInt8() + let controller_buf: WebController | WebviewController | undefined|undefined + if (controller_buf_selector == 0) { + controller_buf = (valueDeserializer.readWebController() as WebController) + } + else if (controller_buf_selector == 1) { + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) + } + else { + throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") + } + const controller_result: WebController | WebviewController = (controller_buf as WebController | WebviewController) + const asyncMethodList_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let asyncMethodList_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (asyncMethodList_buf_runtimeType)) + { + const asyncMethodList_buf__length: int32 = valueDeserializer.readInt32() + let asyncMethodList_buf_: Array = new Array(asyncMethodList_buf__length) + for (let asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { + asyncMethodList_buf_[asyncMethodList_buf__i] = (valueDeserializer.readString() as string) + } + asyncMethodList_buf = asyncMethodList_buf_ + } + const asyncMethodList_result: Array | undefined|undefined = asyncMethodList_buf + const permission_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let permission_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (permission_buf_runtimeType)) + { + permission_buf = (valueDeserializer.readString() as string) + } + const permission_result: string | undefined|undefined = permission_buf + let value: JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) + return value } readNativeEmbedTouchInfo(): NativeEmbedTouchInfo { let valueDeserializer: Deserializer = this @@ -14450,27 +14212,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readNativeEmbedVisibilityInfo(): NativeEmbedVisibilityInfo { - let valueDeserializer: Deserializer = this - const visibility_result: boolean = valueDeserializer.readBoolean() - const embedId_result: string = (valueDeserializer.readString() as string) - let value: NativeEmbedVisibilityInfo = ({visibility: visibility_result, embedId: embedId_result} as NativeEmbedVisibilityInfo) - return value - } - readOnNativeEmbedVisibilityChangeCallback(isSync: boolean = false): OnNativeEmbedVisibilityChangeCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (nativeEmbedVisibilityInfo: NativeEmbedVisibilityInfo): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNativeEmbedVisibilityInfo(nativeEmbedVisibilityInfo); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1641338704, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1641338704, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readNativeEmbedDataInfo(): NativeEmbedDataInfo { let valueDeserializer: Deserializer = this const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -14518,89 +14259,18 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readScriptItem(): ScriptItem { - let valueDeserializer: Deserializer = this - const script_result: string = (valueDeserializer.readString() as string) - const scriptRules_buf_length: int32 = valueDeserializer.readInt32() - let scriptRules_buf: Array = new Array(scriptRules_buf_length) - for (let scriptRules_buf_i = 0; scriptRules_buf_i < scriptRules_buf_length; scriptRules_buf_i++) { - scriptRules_buf[scriptRules_buf_i] = (valueDeserializer.readString() as string) - } - const scriptRules_result: Array = scriptRules_buf - let value: ScriptItem = ({script: script_result, scriptRules: scriptRules_result} as ScriptItem) - return value - } - readIntelligentTrackingPreventionDetails(): IntelligentTrackingPreventionDetails { + readOnOverScrollEvent(): OnOverScrollEvent { let valueDeserializer: Deserializer = this - const host_result: string = (valueDeserializer.readString() as string) - const trackerHost_result: string = (valueDeserializer.readString() as string) - let value: IntelligentTrackingPreventionDetails = ({host: host_result, trackerHost: trackerHost_result} as IntelligentTrackingPreventionDetails) + const xOffset_result: number = (valueDeserializer.readNumber() as number) + const yOffset_result: number = (valueDeserializer.readNumber() as number) + let value: OnOverScrollEvent = ({xOffset: xOffset_result, yOffset: yOffset_result} as OnOverScrollEvent) return value } - readOnIntelligentTrackingPreventionCallback(isSync: boolean = false): OnIntelligentTrackingPreventionCallback { + readCallback_OnOverScrollEvent_Void(isSync: boolean = false): ((parameter: OnOverScrollEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (details: IntelligentTrackingPreventionDetails): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeIntelligentTrackingPreventionDetails(details); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1377876844, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1377876844, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readLoadCommittedDetails(): LoadCommittedDetails { - let valueDeserializer: Deserializer = this - const isMainFrame_result: boolean = valueDeserializer.readBoolean() - const isSameDocument_result: boolean = valueDeserializer.readBoolean() - const didReplaceEntry_result: boolean = valueDeserializer.readBoolean() - const navigationType_result: WebNavigationType = (valueDeserializer.readInt32() as WebNavigationType) - const url_result: string = (valueDeserializer.readString() as string) - let value: LoadCommittedDetails = ({isMainFrame: isMainFrame_result, isSameDocument: isSameDocument_result, didReplaceEntry: didReplaceEntry_result, navigationType: navigationType_result, url: url_result} as LoadCommittedDetails) - return value - } - readOnNavigationEntryCommittedCallback(isSync: boolean = false): OnNavigationEntryCommittedCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (loadCommittedDetails: LoadCommittedDetails): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeLoadCommittedDetails(loadCommittedDetails); - (isSync) ? (InteropNativeModule._CallCallbackSync(-398722176, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-398722176, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readOnSafeBrowsingCheckResultCallback(isSync: boolean = false): OnSafeBrowsingCheckResultCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (threatType: ThreatType): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(threatType.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1099824577, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1099824577, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readOnOverScrollEvent(): OnOverScrollEvent { - let valueDeserializer: Deserializer = this - const xOffset_result: number = (valueDeserializer.readNumber() as number) - const yOffset_result: number = (valueDeserializer.readNumber() as number) - let value: OnOverScrollEvent = ({xOffset: xOffset_result, yOffset: yOffset_result} as OnOverScrollEvent) - return value - } - readCallback_OnOverScrollEvent_Void(isSync: boolean = false): ((parameter: OnOverScrollEvent) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: OnOverScrollEvent): void => { + return (parameter: OnOverScrollEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); @@ -14633,100 +14303,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readLargestContentfulPaint(): LargestContentfulPaint { - let valueDeserializer: Deserializer = this - const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let navigationStartTime_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (navigationStartTime_buf_runtimeType)) - { - navigationStartTime_buf = (valueDeserializer.readNumber() as number) - } - const navigationStartTime_result: number | undefined|undefined = navigationStartTime_buf - const largestImagePaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let largestImagePaintTime_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (largestImagePaintTime_buf_runtimeType)) - { - largestImagePaintTime_buf = (valueDeserializer.readNumber() as number) - } - const largestImagePaintTime_result: number | undefined|undefined = largestImagePaintTime_buf - const largestTextPaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let largestTextPaintTime_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (largestTextPaintTime_buf_runtimeType)) - { - largestTextPaintTime_buf = (valueDeserializer.readNumber() as number) - } - const largestTextPaintTime_result: number | undefined|undefined = largestTextPaintTime_buf - const imageBPP_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let imageBPP_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (imageBPP_buf_runtimeType)) - { - imageBPP_buf = (valueDeserializer.readNumber() as number) - } - const imageBPP_result: number | undefined|undefined = imageBPP_buf - const largestImageLoadStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let largestImageLoadStartTime_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (largestImageLoadStartTime_buf_runtimeType)) - { - largestImageLoadStartTime_buf = (valueDeserializer.readNumber() as number) - } - const largestImageLoadStartTime_result: number | undefined|undefined = largestImageLoadStartTime_buf - const largestImageLoadEndTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let largestImageLoadEndTime_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (largestImageLoadEndTime_buf_runtimeType)) - { - largestImageLoadEndTime_buf = (valueDeserializer.readNumber() as number) - } - const largestImageLoadEndTime_result: number | undefined|undefined = largestImageLoadEndTime_buf - let value: LargestContentfulPaint = ({navigationStartTime: navigationStartTime_result, largestImagePaintTime: largestImagePaintTime_result, largestTextPaintTime: largestTextPaintTime_result, imageBPP: imageBPP_result, largestImageLoadStartTime: largestImageLoadStartTime_result, largestImageLoadEndTime: largestImageLoadEndTime_result} as LargestContentfulPaint) - return value - } - readOnLargestContentfulPaintCallback(isSync: boolean = false): OnLargestContentfulPaintCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (largestContentfulPaint: LargestContentfulPaint): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeLargestContentfulPaint(largestContentfulPaint); - (isSync) ? (InteropNativeModule._CallCallbackSync(1390640532, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1390640532, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readFirstMeaningfulPaint(): FirstMeaningfulPaint { - let valueDeserializer: Deserializer = this - const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let navigationStartTime_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (navigationStartTime_buf_runtimeType)) - { - navigationStartTime_buf = (valueDeserializer.readNumber() as number) - } - const navigationStartTime_result: number | undefined|undefined = navigationStartTime_buf - const firstMeaningfulPaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let firstMeaningfulPaintTime_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (firstMeaningfulPaintTime_buf_runtimeType)) - { - firstMeaningfulPaintTime_buf = (valueDeserializer.readNumber() as number) - } - const firstMeaningfulPaintTime_result: number | undefined|undefined = firstMeaningfulPaintTime_buf - let value: FirstMeaningfulPaint = ({navigationStartTime: navigationStartTime_result, firstMeaningfulPaintTime: firstMeaningfulPaintTime_result} as FirstMeaningfulPaint) - return value - } - readOnFirstMeaningfulPaintCallback(isSync: boolean = false): OnFirstMeaningfulPaintCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (firstMeaningfulPaint: FirstMeaningfulPaint): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeFirstMeaningfulPaint(firstMeaningfulPaint); - (isSync) ? (InteropNativeModule._CallCallbackSync(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOnFirstContentfulPaintEvent(): OnFirstContentfulPaintEvent { let valueDeserializer: Deserializer = this const navigationStartTick_result: number = (valueDeserializer.readNumber() as number) @@ -14906,32 +14482,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readSslErrorEvent(): SslErrorEvent { - let valueDeserializer: Deserializer = this - const handler_result: SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) - const error_result: SslError = (valueDeserializer.readInt32() as SslError) - const url_result: string = (valueDeserializer.readString() as string) - const originalUrl_result: string = (valueDeserializer.readString() as string) - const referrer_result: string = (valueDeserializer.readString() as string) - const isFatalError_result: boolean = valueDeserializer.readBoolean() - const isMainFrame_result: boolean = valueDeserializer.readBoolean() - let value: SslErrorEvent = ({handler: handler_result, error: error_result, url: url_result, originalUrl: originalUrl_result, referrer: referrer_result, isFatalError: isFatalError_result, isMainFrame: isMainFrame_result} as SslErrorEvent) - return value - } - readOnSslErrorEventCallback(isSync: boolean = false): OnSslErrorEventCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (sslErrorEvent: SslErrorEvent): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeSslErrorEvent(sslErrorEvent); - (isSync) ? (InteropNativeModule._CallCallbackSync(-399603614, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-399603614, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOnSslErrorEventReceiveEvent(): OnSslErrorEventReceiveEvent { let valueDeserializer: Deserializer = this const handler_result: SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) @@ -15008,19 +14558,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnContextMenuHideCallback(isSync: boolean = false): OnContextMenuHideCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - (isSync) ? (InteropNativeModule._CallCallbackSync(1788572278, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1788572278, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOnContextMenuShowEvent(): OnContextMenuShowEvent { let valueDeserializer: Deserializer = this const param_result: WebContextMenuParam = (valueDeserializer.readWebContextMenuParam() as WebContextMenuParam) @@ -15154,40 +14691,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readFullScreenEnterEvent(): FullScreenEnterEvent { - let valueDeserializer: Deserializer = this - const handler_result: FullScreenExitHandler = (valueDeserializer.readFullScreenExitHandler() as FullScreenExitHandler) - const videoWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let videoWidth_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (videoWidth_buf_runtimeType)) - { - videoWidth_buf = (valueDeserializer.readNumber() as number) - } - const videoWidth_result: number | undefined|undefined = videoWidth_buf - const videoHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let videoHeight_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (videoHeight_buf_runtimeType)) - { - videoHeight_buf = (valueDeserializer.readNumber() as number) - } - const videoHeight_result: number | undefined|undefined = videoHeight_buf - let value: FullScreenEnterEvent = ({handler: handler_result, videoWidth: videoWidth_result, videoHeight: videoHeight_result} as FullScreenEnterEvent) - return value - } - readOnFullScreenEnterCallback(isSync: boolean = false): OnFullScreenEnterCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: FullScreenEnterEvent): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeFullScreenEnterEvent(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(81230317, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(81230317, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOnResourceLoadEvent(): OnResourceLoadEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) @@ -15591,204 +15094,532 @@ export class Deserializer extends DeserializerBase { } readOnTitleReceiveEvent(): OnTitleReceiveEvent { let valueDeserializer: Deserializer = this - const title_result: string = (valueDeserializer.readString() as string) - let value: OnTitleReceiveEvent = ({title: title_result} as OnTitleReceiveEvent) + const title_result: string = (valueDeserializer.readString() as string) + let value: OnTitleReceiveEvent = ({title: title_result} as OnTitleReceiveEvent) + return value + } + readCallback_OnTitleReceiveEvent_Void(isSync: boolean = false): ((parameter: OnTitleReceiveEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: OnTitleReceiveEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeOnTitleReceiveEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-318085495, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-318085495, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnProgressChangeEvent(): OnProgressChangeEvent { + let valueDeserializer: Deserializer = this + const newProgress_result: number = (valueDeserializer.readNumber() as number) + let value: OnProgressChangeEvent = ({newProgress: newProgress_result} as OnProgressChangeEvent) + return value + } + readCallback_OnProgressChangeEvent_Void(isSync: boolean = false): ((parameter: OnProgressChangeEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: OnProgressChangeEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeOnProgressChangeEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(1018740377, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1018740377, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnPageBeginEvent(): OnPageBeginEvent { + let valueDeserializer: Deserializer = this + const url_result: string = (valueDeserializer.readString() as string) + let value: OnPageBeginEvent = ({url: url_result} as OnPageBeginEvent) + return value + } + readCallback_OnPageBeginEvent_Void(isSync: boolean = false): ((parameter: OnPageBeginEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: OnPageBeginEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeOnPageBeginEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-2040193994, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2040193994, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnPageEndEvent(): OnPageEndEvent { + let valueDeserializer: Deserializer = this + const url_result: string = (valueDeserializer.readString() as string) + let value: OnPageEndEvent = ({url: url_result} as OnPageEndEvent) + return value + } + readCallback_OnPageEndEvent_Void(isSync: boolean = false): ((parameter: OnPageEndEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: OnPageEndEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeOnPageEndEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-130135362, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-130135362, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readWebOptions(): WebOptions { + let valueDeserializer: Deserializer = this + const src_buf_selector: number = valueDeserializer.readInt8() + let src_buf: string | Resource | undefined|undefined + if (src_buf_selector == 0) { + src_buf = (valueDeserializer.readString() as string) + } + else if (src_buf_selector == 1) { + src_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for src_buf has to be chosen through deserialisation.") + } + const src_result: string | Resource = (src_buf as string | Resource) + const controller_buf_selector: number = valueDeserializer.readInt8() + let controller_buf: WebController | WebviewController | undefined|undefined + if (controller_buf_selector == 0) { + controller_buf = (valueDeserializer.readWebController() as WebController) + } + else if (controller_buf_selector == 1) { + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) + } + else { + throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") + } + const controller_result: WebController | WebviewController = (controller_buf as WebController | WebviewController) + const renderMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let renderMode_buf: RenderMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (renderMode_buf_runtimeType)) + { + renderMode_buf = (valueDeserializer.readInt32() as RenderMode) + } + const renderMode_result: RenderMode | undefined|undefined = renderMode_buf + const incognitoMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let incognitoMode_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (incognitoMode_buf_runtimeType)) + { + incognitoMode_buf = valueDeserializer.readBoolean() + } + const incognitoMode_result: boolean | undefined|undefined = incognitoMode_buf + const sharedRenderProcessToken_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sharedRenderProcessToken_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (sharedRenderProcessToken_buf_runtimeType)) + { + sharedRenderProcessToken_buf = (valueDeserializer.readString() as string) + } + const sharedRenderProcessToken_result: string | undefined|undefined = sharedRenderProcessToken_buf + let value: WebOptions = ({src: src_result, controller: controller_result, renderMode: renderMode_result, incognitoMode: incognitoMode_result, sharedRenderProcessToken: sharedRenderProcessToken_result} as WebOptions) + return value + } + readHeader(): Header { + let valueDeserializer: Deserializer = this + const headerKey_result: string = (valueDeserializer.readString() as string) + const headerValue_result: string = (valueDeserializer.readString() as string) + let value: Header = ({headerKey: headerKey_result, headerValue: headerValue_result} as Header) + return value + } + readOnContextMenuHideCallback(isSync: boolean = false): OnContextMenuHideCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + (isSync) ? (InteropNativeModule._CallCallbackSync(1788572278, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1788572278, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readFullScreenEnterEvent(): FullScreenEnterEvent { + let valueDeserializer: Deserializer = this + const handler_result: FullScreenExitHandler = (valueDeserializer.readFullScreenExitHandler() as FullScreenExitHandler) + const videoWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let videoWidth_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (videoWidth_buf_runtimeType)) + { + videoWidth_buf = (valueDeserializer.readNumber() as number) + } + const videoWidth_result: number | undefined|undefined = videoWidth_buf + const videoHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let videoHeight_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (videoHeight_buf_runtimeType)) + { + videoHeight_buf = (valueDeserializer.readNumber() as number) + } + const videoHeight_result: number | undefined|undefined = videoHeight_buf + let value: FullScreenEnterEvent = ({handler: handler_result, videoWidth: videoWidth_result, videoHeight: videoHeight_result} as FullScreenEnterEvent) + return value + } + readOnFullScreenEnterCallback(isSync: boolean = false): OnFullScreenEnterCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: FullScreenEnterEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeFullScreenEnterEvent(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(81230317, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(81230317, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnSafeBrowsingCheckResultCallback(isSync: boolean = false): OnSafeBrowsingCheckResultCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (threatType: ThreatType): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(threatType.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1099824577, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1099824577, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readWebKeyboardOptions(): WebKeyboardOptions { + let valueDeserializer: Deserializer = this + const useSystemKeyboard_result: boolean = valueDeserializer.readBoolean() + const enterKeyType_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enterKeyType_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enterKeyType_buf_runtimeType)) + { + enterKeyType_buf = (valueDeserializer.readNumber() as number) + } + const enterKeyType_result: number | undefined|undefined = enterKeyType_buf + const customKeyboard_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let customKeyboard_buf: CustomBuilder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (customKeyboard_buf_runtimeType)) + { + customKeyboard_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + } + const customKeyboard_result: CustomBuilder | undefined|undefined = customKeyboard_buf + let value: WebKeyboardOptions = ({useSystemKeyboard: useSystemKeyboard_result, enterKeyType: enterKeyType_result, customKeyboard: customKeyboard_result} as WebKeyboardOptions) + return value + } + readWebKeyboardCallbackInfo(): WebKeyboardCallbackInfo { + let valueDeserializer: Deserializer = this + const controller_result: WebKeyboardController = (valueDeserializer.readWebKeyboardController() as WebKeyboardController) + const attributes_buf_size: int32 = valueDeserializer.readInt32() + let attributes_buf: Map = new Map() + // TODO: TS map resize + for (let attributes_buf_i = 0; attributes_buf_i < attributes_buf_size; attributes_buf_i++) { + const attributes_buf_key: string = (valueDeserializer.readString() as string) + const attributes_buf_value: string = (valueDeserializer.readString() as string) + attributes_buf.set(attributes_buf_key, attributes_buf_value) + } + const attributes_result: Map = attributes_buf + let value: WebKeyboardCallbackInfo = ({controller: controller_result, attributes: attributes_result} as WebKeyboardCallbackInfo) + return value + } + readWebKeyboardCallback(isSync: boolean = false): WebKeyboardCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (keyboardCallbackInfo: WebKeyboardCallbackInfo): WebKeyboardOptions => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeWebKeyboardCallbackInfo(keyboardCallbackInfo); + let _continuationValue: WebKeyboardOptions | undefined|undefined ; + const _continuationCallback: ((value: WebKeyboardOptions) => void) = (value: WebKeyboardOptions): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1829763354, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1829763354, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as WebKeyboardOptions); } + } + readAdsBlockedDetails(): AdsBlockedDetails { + let valueDeserializer: Deserializer = this + const url_result: string = (valueDeserializer.readString() as string) + const adsBlocked_buf_length: int32 = valueDeserializer.readInt32() + let adsBlocked_buf: Array = new Array(adsBlocked_buf_length) + for (let adsBlocked_buf_i = 0; adsBlocked_buf_i < adsBlocked_buf_length; adsBlocked_buf_i++) { + adsBlocked_buf[adsBlocked_buf_i] = (valueDeserializer.readString() as string) + } + const adsBlocked_result: Array = adsBlocked_buf + let value: AdsBlockedDetails = ({url: url_result, adsBlocked: adsBlocked_result} as AdsBlockedDetails) + return value + } + readOnAdsBlockedCallback(isSync: boolean = false): OnAdsBlockedCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (details: AdsBlockedDetails): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeAdsBlockedDetails(details); + (isSync) ? (InteropNativeModule._CallCallbackSync(1572284740, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1572284740, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnViewportFitChangedCallback(isSync: boolean = false): OnViewportFitChangedCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (viewportFit: ViewportFit): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(viewportFit.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(1847083191, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1847083191, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnRenderProcessRespondingCallback(isSync: boolean = false): OnRenderProcessRespondingCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + (isSync) ? (InteropNativeModule._CallCallbackSync(1334389194, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1334389194, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readRenderProcessNotRespondingData(): RenderProcessNotRespondingData { + let valueDeserializer: Deserializer = this + const jsStack_result: string = (valueDeserializer.readString() as string) + const pid_result: number = (valueDeserializer.readNumber() as number) + const reason_result: RenderProcessNotRespondingReason = (valueDeserializer.readInt32() as RenderProcessNotRespondingReason) + let value: RenderProcessNotRespondingData = ({jsStack: jsStack_result, pid: pid_result, reason: reason_result} as RenderProcessNotRespondingData) + return value + } + readOnRenderProcessNotRespondingCallback(isSync: boolean = false): OnRenderProcessNotRespondingCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (data: RenderProcessNotRespondingData): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeRenderProcessNotRespondingData(data); + (isSync) ? (InteropNativeModule._CallCallbackSync(47282303, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(47282303, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readNativeEmbedVisibilityInfo(): NativeEmbedVisibilityInfo { + let valueDeserializer: Deserializer = this + const visibility_result: boolean = valueDeserializer.readBoolean() + const embedId_result: string = (valueDeserializer.readString() as string) + let value: NativeEmbedVisibilityInfo = ({visibility: visibility_result, embedId: embedId_result} as NativeEmbedVisibilityInfo) + return value + } + readOnNativeEmbedVisibilityChangeCallback(isSync: boolean = false): OnNativeEmbedVisibilityChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (nativeEmbedVisibilityInfo: NativeEmbedVisibilityInfo): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNativeEmbedVisibilityInfo(nativeEmbedVisibilityInfo); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1641338704, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1641338704, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readIntelligentTrackingPreventionDetails(): IntelligentTrackingPreventionDetails { + let valueDeserializer: Deserializer = this + const host_result: string = (valueDeserializer.readString() as string) + const trackerHost_result: string = (valueDeserializer.readString() as string) + let value: IntelligentTrackingPreventionDetails = ({host: host_result, trackerHost: trackerHost_result} as IntelligentTrackingPreventionDetails) + return value + } + readOnIntelligentTrackingPreventionCallback(isSync: boolean = false): OnIntelligentTrackingPreventionCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (details: IntelligentTrackingPreventionDetails): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeIntelligentTrackingPreventionDetails(details); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1377876844, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1377876844, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnOverrideUrlLoadingCallback(isSync: boolean = false): OnOverrideUrlLoadingCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (webResourceRequest: WebResourceRequest): boolean => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeWebResourceRequest(webResourceRequest); + let _continuationValue: boolean | undefined|undefined ; + const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(865258467, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(865258467, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + readFirstMeaningfulPaint(): FirstMeaningfulPaint { + let valueDeserializer: Deserializer = this + const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let navigationStartTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (navigationStartTime_buf_runtimeType)) + { + navigationStartTime_buf = (valueDeserializer.readNumber() as number) + } + const navigationStartTime_result: number | undefined|undefined = navigationStartTime_buf + const firstMeaningfulPaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let firstMeaningfulPaintTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (firstMeaningfulPaintTime_buf_runtimeType)) + { + firstMeaningfulPaintTime_buf = (valueDeserializer.readNumber() as number) + } + const firstMeaningfulPaintTime_result: number | undefined|undefined = firstMeaningfulPaintTime_buf + let value: FirstMeaningfulPaint = ({navigationStartTime: navigationStartTime_result, firstMeaningfulPaintTime: firstMeaningfulPaintTime_result} as FirstMeaningfulPaint) return value } - readCallback_OnTitleReceiveEvent_Void(isSync: boolean = false): ((parameter: OnTitleReceiveEvent) => void) { + readOnFirstMeaningfulPaintCallback(isSync: boolean = false): OnFirstMeaningfulPaintCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (parameter: OnTitleReceiveEvent): void => { + return (firstMeaningfulPaint: FirstMeaningfulPaint): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeOnTitleReceiveEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-318085495, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-318085495, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeFirstMeaningfulPaint(firstMeaningfulPaint); + (isSync) ? (InteropNativeModule._CallCallbackSync(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readOnProgressChangeEvent(): OnProgressChangeEvent { + readLargestContentfulPaint(): LargestContentfulPaint { let valueDeserializer: Deserializer = this - const newProgress_result: number = (valueDeserializer.readNumber() as number) - let value: OnProgressChangeEvent = ({newProgress: newProgress_result} as OnProgressChangeEvent) + const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let navigationStartTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (navigationStartTime_buf_runtimeType)) + { + navigationStartTime_buf = (valueDeserializer.readNumber() as number) + } + const navigationStartTime_result: number | undefined|undefined = navigationStartTime_buf + const largestImagePaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let largestImagePaintTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (largestImagePaintTime_buf_runtimeType)) + { + largestImagePaintTime_buf = (valueDeserializer.readNumber() as number) + } + const largestImagePaintTime_result: number | undefined|undefined = largestImagePaintTime_buf + const largestTextPaintTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let largestTextPaintTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (largestTextPaintTime_buf_runtimeType)) + { + largestTextPaintTime_buf = (valueDeserializer.readNumber() as number) + } + const largestTextPaintTime_result: number | undefined|undefined = largestTextPaintTime_buf + const imageBPP_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let imageBPP_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (imageBPP_buf_runtimeType)) + { + imageBPP_buf = (valueDeserializer.readNumber() as number) + } + const imageBPP_result: number | undefined|undefined = imageBPP_buf + const largestImageLoadStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let largestImageLoadStartTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (largestImageLoadStartTime_buf_runtimeType)) + { + largestImageLoadStartTime_buf = (valueDeserializer.readNumber() as number) + } + const largestImageLoadStartTime_result: number | undefined|undefined = largestImageLoadStartTime_buf + const largestImageLoadEndTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let largestImageLoadEndTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (largestImageLoadEndTime_buf_runtimeType)) + { + largestImageLoadEndTime_buf = (valueDeserializer.readNumber() as number) + } + const largestImageLoadEndTime_result: number | undefined|undefined = largestImageLoadEndTime_buf + let value: LargestContentfulPaint = ({navigationStartTime: navigationStartTime_result, largestImagePaintTime: largestImagePaintTime_result, largestTextPaintTime: largestTextPaintTime_result, imageBPP: imageBPP_result, largestImageLoadStartTime: largestImageLoadStartTime_result, largestImageLoadEndTime: largestImageLoadEndTime_result} as LargestContentfulPaint) return value } - readCallback_OnProgressChangeEvent_Void(isSync: boolean = false): ((parameter: OnProgressChangeEvent) => void) { + readOnLargestContentfulPaintCallback(isSync: boolean = false): OnLargestContentfulPaintCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (parameter: OnProgressChangeEvent): void => { + return (largestContentfulPaint: LargestContentfulPaint): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeOnProgressChangeEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(1018740377, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1018740377, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeLargestContentfulPaint(largestContentfulPaint); + (isSync) ? (InteropNativeModule._CallCallbackSync(1390640532, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1390640532, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readOnPageBeginEvent(): OnPageBeginEvent { + readSslErrorEvent(): SslErrorEvent { let valueDeserializer: Deserializer = this + const handler_result: SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) + const error_result: SslError = (valueDeserializer.readInt32() as SslError) const url_result: string = (valueDeserializer.readString() as string) - let value: OnPageBeginEvent = ({url: url_result} as OnPageBeginEvent) + const originalUrl_result: string = (valueDeserializer.readString() as string) + const referrer_result: string = (valueDeserializer.readString() as string) + const isFatalError_result: boolean = valueDeserializer.readBoolean() + const isMainFrame_result: boolean = valueDeserializer.readBoolean() + let value: SslErrorEvent = ({handler: handler_result, error: error_result, url: url_result, originalUrl: originalUrl_result, referrer: referrer_result, isFatalError: isFatalError_result, isMainFrame: isMainFrame_result} as SslErrorEvent) return value } - readCallback_OnPageBeginEvent_Void(isSync: boolean = false): ((parameter: OnPageBeginEvent) => void) { + readOnSslErrorEventCallback(isSync: boolean = false): OnSslErrorEventCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (parameter: OnPageBeginEvent): void => { + return (sslErrorEvent: SslErrorEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeOnPageBeginEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-2040193994, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2040193994, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeSslErrorEvent(sslErrorEvent); + (isSync) ? (InteropNativeModule._CallCallbackSync(-399603614, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-399603614, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readOnPageEndEvent(): OnPageEndEvent { + readLoadCommittedDetails(): LoadCommittedDetails { let valueDeserializer: Deserializer = this + const isMainFrame_result: boolean = valueDeserializer.readBoolean() + const isSameDocument_result: boolean = valueDeserializer.readBoolean() + const didReplaceEntry_result: boolean = valueDeserializer.readBoolean() + const navigationType_result: WebNavigationType = (valueDeserializer.readInt32() as WebNavigationType) const url_result: string = (valueDeserializer.readString() as string) - let value: OnPageEndEvent = ({url: url_result} as OnPageEndEvent) + let value: LoadCommittedDetails = ({isMainFrame: isMainFrame_result, isSameDocument: isSameDocument_result, didReplaceEntry: didReplaceEntry_result, navigationType: navigationType_result, url: url_result} as LoadCommittedDetails) return value } - readCallback_OnPageEndEvent_Void(isSync: boolean = false): ((parameter: OnPageEndEvent) => void) { + readOnNavigationEntryCommittedCallback(isSync: boolean = false): OnNavigationEntryCommittedCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (parameter: OnPageEndEvent): void => { + return (loadCommittedDetails: LoadCommittedDetails): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeOnPageEndEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-130135362, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-130135362, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeLoadCommittedDetails(loadCommittedDetails); + (isSync) ? (InteropNativeModule._CallCallbackSync(-398722176, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-398722176, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readWebMediaOptions(): WebMediaOptions { - let valueDeserializer: Deserializer = this - const resumeInterval_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let resumeInterval_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (resumeInterval_buf_runtimeType)) - { - resumeInterval_buf = (valueDeserializer.readNumber() as number) - } - const resumeInterval_result: number | undefined|undefined = resumeInterval_buf - const audioExclusive_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let audioExclusive_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (audioExclusive_buf_runtimeType)) - { - audioExclusive_buf = valueDeserializer.readBoolean() - } - const audioExclusive_result: boolean | undefined|undefined = audioExclusive_buf - let value: WebMediaOptions = ({resumeInterval: resumeInterval_result, audioExclusive: audioExclusive_result} as WebMediaOptions) - return value - } - readJavaScriptProxy(): JavaScriptProxy { - let valueDeserializer: Deserializer = this - const object__result: Object = (valueDeserializer.readCustomObject("Object") as Object) - const name_result: string = (valueDeserializer.readString() as string) - const methodList_buf_length: int32 = valueDeserializer.readInt32() - let methodList_buf: Array = new Array(methodList_buf_length) - for (let methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { - methodList_buf[methodList_buf_i] = (valueDeserializer.readString() as string) - } - const methodList_result: Array = methodList_buf - const controller_buf_selector: number = valueDeserializer.readInt8() - let controller_buf: WebController | WebviewController | undefined|undefined - if (controller_buf_selector == 0) { - controller_buf = (valueDeserializer.readWebController() as WebController) - } - else if (controller_buf_selector == 1) { - controller_buf = (valueDeserializer.readWebviewController() as WebviewController) - } - else { - throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") - } - const controller_result: WebController | WebviewController = (controller_buf as WebController | WebviewController) - const asyncMethodList_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let asyncMethodList_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (asyncMethodList_buf_runtimeType)) - { - const asyncMethodList_buf__length: int32 = valueDeserializer.readInt32() - let asyncMethodList_buf_: Array = new Array(asyncMethodList_buf__length) - for (let asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { - asyncMethodList_buf_[asyncMethodList_buf__i] = (valueDeserializer.readString() as string) - } - asyncMethodList_buf = asyncMethodList_buf_ - } - const asyncMethodList_result: Array | undefined|undefined = asyncMethodList_buf - const permission_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let permission_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (permission_buf_runtimeType)) - { - permission_buf = (valueDeserializer.readString() as string) - } - const permission_result: string | undefined|undefined = permission_buf - let value: JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) - return value - } - readWebOptions(): WebOptions { - let valueDeserializer: Deserializer = this - const src_buf_selector: number = valueDeserializer.readInt8() - let src_buf: string | Resource | undefined|undefined - if (src_buf_selector == 0) { - src_buf = (valueDeserializer.readString() as string) - } - else if (src_buf_selector == 1) { - src_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for src_buf has to be chosen through deserialisation.") - } - const src_result: string | Resource = (src_buf as string | Resource) - const controller_buf_selector: number = valueDeserializer.readInt8() - let controller_buf: WebController | WebviewController | undefined|undefined - if (controller_buf_selector == 0) { - controller_buf = (valueDeserializer.readWebController() as WebController) - } - else if (controller_buf_selector == 1) { - controller_buf = (valueDeserializer.readWebviewController() as WebviewController) - } - else { - throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") - } - const controller_result: WebController | WebviewController = (controller_buf as WebController | WebviewController) - const renderMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let renderMode_buf: RenderMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (renderMode_buf_runtimeType)) - { - renderMode_buf = (valueDeserializer.readInt32() as RenderMode) - } - const renderMode_result: RenderMode | undefined|undefined = renderMode_buf - const incognitoMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let incognitoMode_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (incognitoMode_buf_runtimeType)) - { - incognitoMode_buf = valueDeserializer.readBoolean() - } - const incognitoMode_result: boolean | undefined|undefined = incognitoMode_buf - const sharedRenderProcessToken_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let sharedRenderProcessToken_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (sharedRenderProcessToken_buf_runtimeType)) - { - sharedRenderProcessToken_buf = (valueDeserializer.readString() as string) - } - const sharedRenderProcessToken_result: string | undefined|undefined = sharedRenderProcessToken_buf - let value: WebOptions = ({src: src_result, controller: controller_result, renderMode: renderMode_result, incognitoMode: incognitoMode_result, sharedRenderProcessToken: sharedRenderProcessToken_result} as WebOptions) - return value - } - readHeader(): Header { - let valueDeserializer: Deserializer = this - const headerKey_result: string = (valueDeserializer.readString() as string) - const headerValue_result: string = (valueDeserializer.readString() as string) - let value: Header = ({headerKey: headerKey_result, headerValue: headerValue_result} as Header) - return value - } readPlaybackInfo(): PlaybackInfo { let valueDeserializer: Deserializer = this const time_result: number = (valueDeserializer.readNumber() as number) @@ -15915,19 +15746,59 @@ export class Deserializer extends DeserializerBase { let controller_buf: VideoController | undefined|undefined if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) { - controller_buf = (valueDeserializer.readVideoController() as VideoController) + controller_buf = (valueDeserializer.readVideoController() as VideoController) + } + const controller_result: VideoController | undefined|undefined = controller_buf + const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let imageAIOptions_buf: ImageAIOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) + { + imageAIOptions_buf = valueDeserializer.readImageAIOptions() + } + const imageAIOptions_result: ImageAIOptions | undefined|undefined = imageAIOptions_buf + let value: VideoOptions = ({src: src_result, currentProgressRate: currentProgressRate_result, previewUri: previewUri_result, controller: controller_result, imageAIOptions: imageAIOptions_result} as VideoOptions) + return value + } + readWithThemeAttribute(): WithThemeAttribute { + let value: WithThemeAttribute = ({} as WithThemeAttribute) + return value + } + readWithThemeOptions(): WithThemeOptions { + let valueDeserializer: Deserializer = this + const theme_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let theme_buf: CustomTheme | undefined|undefined + if ((RuntimeType.UNDEFINED) != (theme_buf_runtimeType)) + { + theme_buf = valueDeserializer.readCustomTheme() } - const controller_result: VideoController | undefined|undefined = controller_buf - const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let imageAIOptions_buf: ImageAIOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) + const theme_result: CustomTheme | undefined|undefined = theme_buf + const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorMode_buf: ThemeColorMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) { - imageAIOptions_buf = valueDeserializer.readImageAIOptions() + colorMode_buf = (valueDeserializer.readInt32() as ThemeColorMode) } - const imageAIOptions_result: ImageAIOptions | undefined|undefined = imageAIOptions_buf - let value: VideoOptions = ({src: src_result, currentProgressRate: currentProgressRate_result, previewUri: previewUri_result, controller: controller_result, imageAIOptions: imageAIOptions_result} as VideoOptions) + const colorMode_result: ThemeColorMode | undefined|undefined = colorMode_buf + let value: WithThemeOptions = ({theme: theme_result, colorMode: colorMode_result} as WithThemeOptions) return value } + readWithThemeInterface(isSync: boolean = false): WithThemeInterface { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (options: WithThemeOptions): WithThemeAttribute => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeWithThemeOptions(options); + let _continuationValue: WithThemeAttribute | undefined|undefined ; + const _continuationCallback: ((value: WithThemeAttribute) => void) = (value: WithThemeAttribute): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(219587748, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(219587748, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as WithThemeAttribute); } + } readSwitchStyle(): SwitchStyle { let valueDeserializer: Deserializer = this const pointRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -16502,6 +16373,20 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + readCallback_EnterKeyType_Void(isSync: boolean = false): ((enterKey: EnterKeyType) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (enterKey: EnterKeyType): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(enterKey.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1802605016, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1802605016, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readTextAreaSubmitCallback(isSync: boolean = false): TextAreaSubmitCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -16523,20 +16408,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_EnterKeyType_Void(isSync: boolean = false): ((enterKey: EnterKeyType) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (enterKey: EnterKeyType): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(enterKey.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1802605016, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1802605016, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readTextAreaOptions(): TextAreaOptions { let valueDeserializer: Deserializer = this const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -16597,6 +16468,46 @@ export class Deserializer extends DeserializerBase { let value: TextOptions = ({controller: controller_result} as TextOptions) return value } + readBarGridColumnOptions(): BarGridColumnOptions { + let valueDeserializer: Deserializer = this + const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sm_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) + { + sm_buf = (valueDeserializer.readNumber() as number) + } + const sm_result: number | undefined|undefined = sm_buf + const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let md_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) + { + md_buf = (valueDeserializer.readNumber() as number) + } + const md_result: number | undefined|undefined = md_buf + const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lg_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) + { + lg_buf = (valueDeserializer.readNumber() as number) + } + const lg_result: number | undefined|undefined = lg_buf + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + { + margin_buf = (valueDeserializer.readLength() as Dimension) + } + const margin_result: Dimension | undefined|undefined = margin_buf + const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let gutter_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (gutter_buf_runtimeType)) + { + gutter_buf = (valueDeserializer.readLength() as Dimension) + } + const gutter_result: Dimension | undefined|undefined = gutter_buf + let value: BarGridColumnOptions = ({sm: sm_result, md: md_result, lg: lg_result, margin: margin_result, gutter: gutter_result} as BarGridColumnOptions) + return value + } readOnTabsContentWillChangeCallback(isSync: boolean = false): OnTabsContentWillChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -16638,46 +16549,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as TabContentAnimatedTransition); } } - readBarGridColumnOptions(): BarGridColumnOptions { - let valueDeserializer: Deserializer = this - const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let sm_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) - { - sm_buf = (valueDeserializer.readNumber() as number) - } - const sm_result: number | undefined|undefined = sm_buf - const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let md_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) - { - md_buf = (valueDeserializer.readNumber() as number) - } - const md_result: number | undefined|undefined = md_buf - const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lg_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) - { - lg_buf = (valueDeserializer.readNumber() as number) - } - const lg_result: number | undefined|undefined = lg_buf - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) - { - margin_buf = (valueDeserializer.readLength() as Dimension) - } - const margin_result: Dimension | undefined|undefined = margin_buf - const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let gutter_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (gutter_buf_runtimeType)) - { - gutter_buf = (valueDeserializer.readLength() as Dimension) - } - const gutter_result: Dimension | undefined|undefined = gutter_buf - let value: BarGridColumnOptions = ({sm: sm_result, md: md_result, lg: lg_result, margin: margin_result, gutter: gutter_result} as BarGridColumnOptions) - return value - } readOnTabsGestureSwipeCallback(isSync: boolean = false): OnTabsGestureSwipeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -16758,6 +16629,11 @@ export class Deserializer extends DeserializerBase { let value: TabsOptions = ({barPosition: barPosition_result, index: index_result, controller: controller_result} as TabsOptions) return value } + readPulseSymbolEffect(): PulseSymbolEffect { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return PulseSymbolEffectInternal.fromPtr(ptr) + } readBounceSymbolEffect(): BounceSymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -16813,6 +16689,11 @@ export class Deserializer extends DeserializerBase { let value: SwiperContentAnimatedTransition = ({timeout: timeout_result, transition: transition_result} as SwiperContentAnimatedTransition) return value } + readIndicatorComponentController(): IndicatorComponentController { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return IndicatorComponentControllerInternal.fromPtr(ptr) + } readOnSwiperGestureSwipeCallback(isSync: boolean = false): OnSwiperGestureSwipeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -16867,11 +16748,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readIndicatorComponentController(): IndicatorComponentController { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return IndicatorComponentControllerInternal.fromPtr(ptr) - } readSwiperController(): SwiperController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -17008,6 +16884,21 @@ export class Deserializer extends DeserializerBase { let value: SliderOptions = ({value: value_result, min: min_result, max: max_result, step: step_result, style: style_result, direction: direction_result, reverse: reverse_result} as SliderOptions) return value } + readSliderTriggerChangeCallback(isSync: boolean = false): SliderTriggerChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (value: number, mode: SliderChangeMode): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(value); + _argsSerializer.writeInt32(mode.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(711649376, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(711649376, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readViewportRect(): ViewportRect { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -17133,91 +17024,14 @@ export class Deserializer extends DeserializerBase { } const icon_result: ResourceStr | undefined|undefined = icon_buf const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() - } - const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf - let value: SelectOption = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result} as SelectOption) - return value - } - readCallback_DeleteValue_Void(isSync: boolean = false): ((parameter: DeleteValue) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: DeleteValue): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeDeleteValue(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-126251459, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-126251459, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readDeleteValue(): DeleteValue { - let valueDeserializer: Deserializer = this - const deleteOffset_result: number = (valueDeserializer.readNumber() as number) - const direction_result: TextDeleteDirection = (valueDeserializer.readInt32() as TextDeleteDirection) - const deleteValue_result: string = (valueDeserializer.readString() as string) - let value: DeleteValue = ({deleteOffset: deleteOffset_result, direction: direction_result, deleteValue: deleteValue_result} as DeleteValue) - return value - } - readCallback_DeleteValue_Boolean(isSync: boolean = false): ((parameter: DeleteValue) => boolean) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: DeleteValue): boolean => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeDeleteValue(parameter); - let _continuationValue: boolean | undefined|undefined ; - const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1357792883, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1357792883, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } - } - readCallback_InsertValue_Void(isSync: boolean = false): ((parameter: InsertValue) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: InsertValue): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInsertValue(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1121207885, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1121207885, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readInsertValue(): InsertValue { - let valueDeserializer: Deserializer = this - const insertOffset_result: number = (valueDeserializer.readNumber() as number) - const insertValue_result: string = (valueDeserializer.readString() as string) - let value: InsertValue = ({insertOffset: insertOffset_result, insertValue: insertValue_result} as InsertValue) - return value - } - readCallback_InsertValue_Boolean(isSync: boolean = false): ((parameter: InsertValue) => boolean) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: InsertValue): boolean => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInsertValue(parameter); - let _continuationValue: boolean | undefined|undefined ; - const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-383025085, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-383025085, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } + let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) + { + symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() + } + const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf + let value: SelectOption = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result} as SelectOption) + return value } readTextDecorationOptions(): TextDecorationOptions { let valueDeserializer: Deserializer = this @@ -17322,27 +17136,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readSearchSubmitCallback(isSync: boolean = false): SearchSubmitCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (searchContent: string, event?: SubmitEvent | undefined): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(searchContent); - let event_type: int32 = RuntimeType.UNDEFINED; - event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type); - if ((RuntimeType.UNDEFINED) != (event_type)) { - const event_value = event!; - _argsSerializer.writeSubmitEvent(event_value); - } - (isSync) ? (InteropNativeModule._CallCallbackSync(1717691617, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1717691617, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCaretStyle(): CaretStyle { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -17379,6 +17172,104 @@ export class Deserializer extends DeserializerBase { let value: CaretStyle = ({width: width_result, color: color_result} as CaretStyle) return value } + readCallback_DeleteValue_Void(isSync: boolean = false): ((parameter: DeleteValue) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: DeleteValue): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeDeleteValue(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-126251459, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-126251459, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readDeleteValue(): DeleteValue { + let valueDeserializer: Deserializer = this + const deleteOffset_result: number = (valueDeserializer.readNumber() as number) + const direction_result: TextDeleteDirection = (valueDeserializer.readInt32() as TextDeleteDirection) + const deleteValue_result: string = (valueDeserializer.readString() as string) + let value: DeleteValue = ({deleteOffset: deleteOffset_result, direction: direction_result, deleteValue: deleteValue_result} as DeleteValue) + return value + } + readCallback_DeleteValue_Boolean(isSync: boolean = false): ((parameter: DeleteValue) => boolean) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: DeleteValue): boolean => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeDeleteValue(parameter); + let _continuationValue: boolean | undefined|undefined ; + const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1357792883, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1357792883, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + readCallback_InsertValue_Void(isSync: boolean = false): ((parameter: InsertValue) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: InsertValue): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInsertValue(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1121207885, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1121207885, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readInsertValue(): InsertValue { + let valueDeserializer: Deserializer = this + const insertOffset_result: number = (valueDeserializer.readNumber() as number) + const insertValue_result: string = (valueDeserializer.readString() as string) + let value: InsertValue = ({insertOffset: insertOffset_result, insertValue: insertValue_result} as InsertValue) + return value + } + readCallback_InsertValue_Boolean(isSync: boolean = false): ((parameter: InsertValue) => boolean) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: InsertValue): boolean => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInsertValue(parameter); + let _continuationValue: boolean | undefined|undefined ; + const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-383025085, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-383025085, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + readSearchSubmitCallback(isSync: boolean = false): SearchSubmitCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (searchContent: string, event?: SubmitEvent | undefined): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeString(searchContent); + let event_type: int32 = RuntimeType.UNDEFINED; + event_type = runtimeType(event); + _argsSerializer.writeInt8(event_type); + if ((RuntimeType.UNDEFINED) != (event_type)) { + const event_value = event!; + _argsSerializer.writeSubmitEvent(event_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(1717691617, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1717691617, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readSearchOptions(): SearchOptions { let valueDeserializer: Deserializer = this const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -17505,6 +17396,22 @@ export class Deserializer extends DeserializerBase { let value: ScrollSnapOptions = ({snapAlign: snapAlign_result, snapPagination: snapPagination_result, enableSnapToStart: enableSnapToStart_result, enableSnapToEnd: enableSnapToEnd_result} as ScrollSnapOptions) return value } + readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (xOffset: number, yOffset: number, scrollState: ScrollState): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(xOffset); + _argsSerializer.writeNumber(yOffset); + _argsSerializer.writeInt32(scrollState.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1265626662, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1265626662, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readOnScrollFrameBeginHandlerResult(): OnScrollFrameBeginHandlerResult { let valueDeserializer: Deserializer = this const offsetRemain_result: number = (valueDeserializer.readNumber() as number) @@ -17543,22 +17450,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (xOffset: number, yOffset: number, scrollState: ScrollState): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(xOffset); - _argsSerializer.writeNumber(yOffset); - _argsSerializer.writeInt32(scrollState.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1265626662, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1265626662, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCallback_ClickEvent_SaveButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent, result: SaveButtonOnClickResult) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -17623,119 +17514,26 @@ export class Deserializer extends DeserializerBase { let value: RowOptions = ({space: space_result} as RowOptions) return value } - readRootSceneSession(): RootSceneSession { - let value: RootSceneSession = ({} as RootSceneSession) - return value - } - readRichEditorStyledStringOptions(): RichEditorStyledStringOptions { - let valueDeserializer: Deserializer = this - const controller_result: RichEditorStyledStringController = (valueDeserializer.readRichEditorStyledStringController() as RichEditorStyledStringController) - let value: RichEditorStyledStringOptions = ({controller: controller_result} as RichEditorStyledStringOptions) - return value - } - readRichEditorOptions(): RichEditorOptions { - let valueDeserializer: Deserializer = this - const controller_result: RichEditorController = (valueDeserializer.readRichEditorController() as RichEditorController) - let value: RichEditorOptions = ({controller: controller_result} as RichEditorOptions) - return value - } - readEditMenuOptions(): EditMenuOptions { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return EditMenuOptionsInternal.fromPtr(ptr) - } - readCopyEvent(): CopyEvent { - let valueDeserializer: Deserializer = this - const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let preventDefault_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (preventDefault_buf_runtimeType)) - { - preventDefault_buf = valueDeserializer.readCallback_Void() - } - const preventDefault_result: (() => void) | undefined|undefined = preventDefault_buf - let value: CopyEvent = ({preventDefault: preventDefault_result} as CopyEvent) - return value - } - readCallback_CopyEvent_Void(isSync: boolean = false): ((parameter: CopyEvent) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: CopyEvent): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCopyEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCutEvent(): CutEvent { - let valueDeserializer: Deserializer = this - const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let preventDefault_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (preventDefault_buf_runtimeType)) - { - preventDefault_buf = valueDeserializer.readCallback_Void() - } - const preventDefault_result: (() => void) | undefined|undefined = preventDefault_buf - let value: CutEvent = ({preventDefault: preventDefault_result} as CutEvent) - return value - } - readCallback_CutEvent_Void(isSync: boolean = false): ((parameter: CutEvent) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: CutEvent): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCutEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1875695871, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1875695871, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readRichEditorChangeValue(): RichEditorChangeValue { - let valueDeserializer: Deserializer = this - const rangeBefore_result: TextRange = valueDeserializer.readTextRange() - const replacedSpans_buf_length: int32 = valueDeserializer.readInt32() - let replacedSpans_buf: Array = new Array(replacedSpans_buf_length) - for (let replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { - replacedSpans_buf[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() - } - const replacedSpans_result: Array = replacedSpans_buf - const replacedImageSpans_buf_length: int32 = valueDeserializer.readInt32() - let replacedImageSpans_buf: Array = new Array(replacedImageSpans_buf_length) - for (let replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { - replacedImageSpans_buf[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult() - } - const replacedImageSpans_result: Array = replacedImageSpans_buf - const replacedSymbolSpans_buf_length: int32 = valueDeserializer.readInt32() - let replacedSymbolSpans_buf: Array = new Array(replacedSymbolSpans_buf_length) - for (let replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { - replacedSymbolSpans_buf[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() - } - const replacedSymbolSpans_result: Array = replacedSymbolSpans_buf - let value: RichEditorChangeValue = ({rangeBefore: rangeBefore_result, replacedSpans: replacedSpans_result, replacedImageSpans: replacedImageSpans_result, replacedSymbolSpans: replacedSymbolSpans_result} as RichEditorChangeValue) - return value - } - readCallback_RichEditorChangeValue_Boolean(isSync: boolean = false): ((parameter: RichEditorChangeValue) => boolean) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: RichEditorChangeValue): boolean => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeRichEditorChangeValue(parameter); - let _continuationValue: boolean | undefined|undefined ; - const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(1465860515, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1465860515, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } + readRootSceneSession(): RootSceneSession { + let value: RootSceneSession = ({} as RootSceneSession) + return value + } + readRichEditorStyledStringOptions(): RichEditorStyledStringOptions { + let valueDeserializer: Deserializer = this + const controller_result: RichEditorStyledStringController = (valueDeserializer.readRichEditorStyledStringController() as RichEditorStyledStringController) + let value: RichEditorStyledStringOptions = ({controller: controller_result} as RichEditorStyledStringOptions) + return value + } + readRichEditorOptions(): RichEditorOptions { + let valueDeserializer: Deserializer = this + const controller_result: RichEditorController = (valueDeserializer.readRichEditorController() as RichEditorController) + let value: RichEditorOptions = ({controller: controller_result} as RichEditorOptions) + return value + } + readEditMenuOptions(): EditMenuOptions { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return EditMenuOptionsInternal.fromPtr(ptr) } readSubmitEvent(): SubmitEvent { let valueDeserializer: Deserializer = this @@ -17838,6 +17636,99 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + readCopyEvent(): CopyEvent { + let valueDeserializer: Deserializer = this + const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let preventDefault_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (preventDefault_buf_runtimeType)) + { + preventDefault_buf = valueDeserializer.readCallback_Void() + } + const preventDefault_result: (() => void) | undefined|undefined = preventDefault_buf + let value: CopyEvent = ({preventDefault: preventDefault_result} as CopyEvent) + return value + } + readCallback_CopyEvent_Void(isSync: boolean = false): ((parameter: CopyEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: CopyEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeCopyEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCutEvent(): CutEvent { + let valueDeserializer: Deserializer = this + const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let preventDefault_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (preventDefault_buf_runtimeType)) + { + preventDefault_buf = valueDeserializer.readCallback_Void() + } + const preventDefault_result: (() => void) | undefined|undefined = preventDefault_buf + let value: CutEvent = ({preventDefault: preventDefault_result} as CutEvent) + return value + } + readCallback_CutEvent_Void(isSync: boolean = false): ((parameter: CutEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: CutEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeCutEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1875695871, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1875695871, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readRichEditorChangeValue(): RichEditorChangeValue { + let valueDeserializer: Deserializer = this + const rangeBefore_result: TextRange = valueDeserializer.readTextRange() + const replacedSpans_buf_length: int32 = valueDeserializer.readInt32() + let replacedSpans_buf: Array = new Array(replacedSpans_buf_length) + for (let replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { + replacedSpans_buf[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() + } + const replacedSpans_result: Array = replacedSpans_buf + const replacedImageSpans_buf_length: int32 = valueDeserializer.readInt32() + let replacedImageSpans_buf: Array = new Array(replacedImageSpans_buf_length) + for (let replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { + replacedImageSpans_buf[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult() + } + const replacedImageSpans_result: Array = replacedImageSpans_buf + const replacedSymbolSpans_buf_length: int32 = valueDeserializer.readInt32() + let replacedSymbolSpans_buf: Array = new Array(replacedSymbolSpans_buf_length) + for (let replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { + replacedSymbolSpans_buf[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() + } + const replacedSymbolSpans_result: Array = replacedSymbolSpans_buf + let value: RichEditorChangeValue = ({rangeBefore: rangeBefore_result, replacedSpans: replacedSpans_result, replacedImageSpans: replacedImageSpans_result, replacedSymbolSpans: replacedSymbolSpans_result} as RichEditorChangeValue) + return value + } + readCallback_RichEditorChangeValue_Boolean(isSync: boolean = false): ((parameter: RichEditorChangeValue) => boolean) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: RichEditorChangeValue): boolean => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeRichEditorChangeValue(parameter); + let _continuationValue: boolean | undefined|undefined ; + const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1465860515, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1465860515, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } readRichEditorDeleteValue(): RichEditorDeleteValue { let valueDeserializer: Deserializer = this const offset_result: number = (valueDeserializer.readNumber() as number) @@ -18358,6 +18249,13 @@ export class Deserializer extends DeserializerBase { let value: PolygonOptions = ({width: width_result, height: height_result} as PolygonOptions) return value } + readPluginComponentOptions(): PluginComponentOptions { + let valueDeserializer: Deserializer = this + const template_result: PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() + const data_result: string = (valueDeserializer.readString() as string) + let value: PluginComponentOptions = ({template: template_result, data: data_result} as PluginComponentOptions) + return value + } readPluginErrorData(): PluginErrorData { let valueDeserializer: Deserializer = this const errcode_result: number = (valueDeserializer.readNumber() as number) @@ -18379,13 +18277,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readPluginComponentOptions(): PluginComponentOptions { - let valueDeserializer: Deserializer = this - const template_result: PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() - const data_result: string = (valueDeserializer.readString() as string) - let value: PluginComponentOptions = ({template: template_result, data: data_result} as PluginComponentOptions) - return value - } readCallback_Array_Number_Void(isSync: boolean = false): ((input: Array) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -18457,72 +18348,149 @@ export class Deserializer extends DeserializerBase { let value: PathOptions = ({width: width_result, height: height_result, commands: commands_result} as PathOptions) return value } - readCallback_ClickEvent_PasteButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent, result: PasteButtonOnClickResult) => void) { + readCallback_ClickEvent_PasteButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent, result: PasteButtonOnClickResult) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: ClickEvent, result: PasteButtonOnClickResult): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeClickEvent(event); + _argsSerializer.writeInt32(result.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(659292561, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(659292561, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readPasteButtonOptions(): PasteButtonOptions { + let valueDeserializer: Deserializer = this + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: PasteIconStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + { + icon_buf = (valueDeserializer.readInt32() as PasteIconStyle) + } + const icon_result: PasteIconStyle | undefined|undefined = icon_buf + const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let text_buf: PasteDescription | undefined|undefined + if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + { + text_buf = (valueDeserializer.readInt32() as PasteDescription) + } + const text_result: PasteDescription | undefined|undefined = text_buf + const buttonType_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let buttonType_buf: ButtonType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (buttonType_buf_runtimeType)) + { + buttonType_buf = (valueDeserializer.readInt32() as ButtonType) + } + const buttonType_result: ButtonType | undefined|undefined = buttonType_buf + let value: PasteButtonOptions = ({icon: icon_result, text: text_result, buttonType: buttonType_result} as PasteButtonOptions) + return value + } + readCallback_Number_Number_PanelMode_Void(isSync: boolean = false): ((width: number, height: number, mode: PanelMode) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (width: number, height: number, mode: PanelMode): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(width); + _argsSerializer.writeNumber(height); + _argsSerializer.writeInt32(mode.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(1613628570, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1613628570, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (type: RouteType, progress: number): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(type.valueOf()); + _argsSerializer.writeNumber(progress); + (isSync) ? (InteropNativeModule._CallCallbackSync(1627123591, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1627123591, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readNodeController(): NodeController { + let value: NodeController = ({} as NodeController) + return value + } + readNavigationTransitionProxy(): NavigationTransitionProxy { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return NavigationTransitionProxyInternal.fromPtr(ptr) + } + readType_NavigationAttribute_customNavContentTransition_delegate(isSync: boolean = false): ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation): NavigationAnimatedTransition | undefined => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNavContentInfo(from); + _argsSerializer.writeNavContentInfo(to); + _argsSerializer.writeInt32(operation.valueOf()); + let _continuationValue: NavigationAnimatedTransition | undefined|undefined ; + const _continuationCallback: ((value: NavigationAnimatedTransition | undefined) => void) = (value?: NavigationAnimatedTransition | undefined): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1044833488, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1044833488, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as NavigationAnimatedTransition); } + } + readCallback_String_Unknown_Void(isSync: boolean = false): ((name: string, param: unknown) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (name: string, param: unknown): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeString(name); + _argsSerializer.writeCustomObject("Any", param); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_NavigationMode_Void(isSync: boolean = false): ((mode: NavigationMode) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (event: ClickEvent, result: PasteButtonOnClickResult): void => { + return (mode: NavigationMode): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeClickEvent(event); - _argsSerializer.writeInt32(result.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(659292561, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(659292561, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeInt32(mode.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(960690982, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(960690982, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readPasteButtonOptions(): PasteButtonOptions { - let valueDeserializer: Deserializer = this - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: PasteIconStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) - { - icon_buf = (valueDeserializer.readInt32() as PasteIconStyle) - } - const icon_result: PasteIconStyle | undefined|undefined = icon_buf - const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let text_buf: PasteDescription | undefined|undefined - if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) - { - text_buf = (valueDeserializer.readInt32() as PasteDescription) - } - const text_result: PasteDescription | undefined|undefined = text_buf - const buttonType_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let buttonType_buf: ButtonType | undefined|undefined - if ((RuntimeType.UNDEFINED) != (buttonType_buf_runtimeType)) - { - buttonType_buf = (valueDeserializer.readInt32() as ButtonType) - } - const buttonType_result: ButtonType | undefined|undefined = buttonType_buf - let value: PasteButtonOptions = ({icon: icon_result, text: text_result, buttonType: buttonType_result} as PasteButtonOptions) - return value - } - readCallback_Number_Number_PanelMode_Void(isSync: boolean = false): ((width: number, height: number, mode: PanelMode) => void) { + readCallback_NavigationTitleMode_Void(isSync: boolean = false): ((titleMode: NavigationTitleMode) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (width: number, height: number, mode: PanelMode): void => { + return (titleMode: NavigationTitleMode): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNumber(width); - _argsSerializer.writeNumber(height); - _argsSerializer.writeInt32(mode.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(1613628570, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1613628570, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeInt32(titleMode.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(1685437830, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1685437830, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readNodeController(): NodeController { - let value: NodeController = ({} as NodeController) - return value - } - readNavigationTransitionProxy(): NavigationTransitionProxy { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return NavigationTransitionProxyInternal.fromPtr(ptr) - } readRouteInfo(): RouteInfo { let valueDeserializer: Deserializer = this const name_result: string = (valueDeserializer.readString() as string) @@ -18617,20 +18585,6 @@ export class Deserializer extends DeserializerBase { let value: ToolbarItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, action: action_result, status: status_result, activeIcon: activeIcon_result, activeSymbolIcon: activeSymbolIcon_result} as ToolbarItem) return value } - readCallback_NavDestinationContext_Void(isSync: boolean = false): ((parameter: NavDestinationContext) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: NavDestinationContext): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeNavDestinationContext(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1642725259, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1642725259, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readNavigationMenuItem(): NavigationMenuItem { let valueDeserializer: Deserializer = this const value_buf_selector: number = valueDeserializer.readInt8() @@ -18687,6 +18641,20 @@ export class Deserializer extends DeserializerBase { let value: NavigationMenuItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, isEnabled: isEnabled_result, action: action_result} as NavigationMenuItem) return value } + readCallback_NavDestinationContext_Void(isSync: boolean = false): ((parameter: NavDestinationContext) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: NavDestinationContext): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNavDestinationContext(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1642725259, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1642725259, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readCallback_Boolean(isSync: boolean = false): (() => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -18967,6 +18935,48 @@ export class Deserializer extends DeserializerBase { let value: ListItemOptions = ({style: style_result} as ListItemOptions) return value } + readChainAnimationOptions(): ChainAnimationOptions { + let valueDeserializer: Deserializer = this + const minSpace_result: Length = (valueDeserializer.readLength() as Length) + const maxSpace_result: Length = (valueDeserializer.readLength() as Length) + const conductivity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let conductivity_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (conductivity_buf_runtimeType)) + { + conductivity_buf = (valueDeserializer.readNumber() as number) + } + const conductivity_result: number | undefined|undefined = conductivity_buf + const intensity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let intensity_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (intensity_buf_runtimeType)) + { + intensity_buf = (valueDeserializer.readNumber() as number) + } + const intensity_result: number | undefined|undefined = intensity_buf + const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let edgeEffect_buf: ChainEdgeEffect | undefined|undefined + if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) + { + edgeEffect_buf = (valueDeserializer.readInt32() as ChainEdgeEffect) + } + const edgeEffect_result: ChainEdgeEffect | undefined|undefined = edgeEffect_buf + const stiffness_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let stiffness_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (stiffness_buf_runtimeType)) + { + stiffness_buf = (valueDeserializer.readNumber() as number) + } + const stiffness_result: number | undefined|undefined = stiffness_buf + const damping_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let damping_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (damping_buf_runtimeType)) + { + damping_buf = (valueDeserializer.readNumber() as number) + } + const damping_result: number | undefined|undefined = damping_buf + let value: ChainAnimationOptions = ({minSpace: minSpace_result, maxSpace: maxSpace_result, conductivity: conductivity_result, intensity: intensity_result, edgeEffect: edgeEffect_result, stiffness: stiffness_result, damping: damping_result} as ChainAnimationOptions) + return value + } readCallback_Number_Number_Boolean(isSync: boolean = false): ((from: number, to: number) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -19002,21 +19012,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readOnScrollVisibleContentChangeCallback(isSync: boolean = false): OnScrollVisibleContentChangeCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (start: VisibleListContentInfo, end: VisibleListContentInfo): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeVisibleListContentInfo(start); - _argsSerializer.writeVisibleListContentInfo(end); - (isSync) ? (InteropNativeModule._CallCallbackSync(625641334, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(625641334, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readCallback_Number_Number_Number_Void(isSync: boolean = false): ((start: number, end: number, center: number) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -19033,48 +19028,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readChainAnimationOptions(): ChainAnimationOptions { - let valueDeserializer: Deserializer = this - const minSpace_result: Length = (valueDeserializer.readLength() as Length) - const maxSpace_result: Length = (valueDeserializer.readLength() as Length) - const conductivity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let conductivity_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (conductivity_buf_runtimeType)) - { - conductivity_buf = (valueDeserializer.readNumber() as number) - } - const conductivity_result: number | undefined|undefined = conductivity_buf - const intensity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let intensity_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (intensity_buf_runtimeType)) - { - intensity_buf = (valueDeserializer.readNumber() as number) - } - const intensity_result: number | undefined|undefined = intensity_buf - const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let edgeEffect_buf: ChainEdgeEffect | undefined|undefined - if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) - { - edgeEffect_buf = (valueDeserializer.readInt32() as ChainEdgeEffect) - } - const edgeEffect_result: ChainEdgeEffect | undefined|undefined = edgeEffect_buf - const stiffness_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let stiffness_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (stiffness_buf_runtimeType)) - { - stiffness_buf = (valueDeserializer.readNumber() as number) - } - const stiffness_result: number | undefined|undefined = stiffness_buf - const damping_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let damping_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (damping_buf_runtimeType)) - { - damping_buf = (valueDeserializer.readNumber() as number) - } - const damping_result: number | undefined|undefined = damping_buf - let value: ChainAnimationOptions = ({minSpace: minSpace_result, maxSpace: maxSpace_result, conductivity: conductivity_result, intensity: intensity_result, edgeEffect: edgeEffect_result, stiffness: stiffness_result, damping: damping_result} as ChainAnimationOptions) - return value - } readListOptions(): ListOptions { let valueDeserializer: Deserializer = this const initialIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -19117,6 +19070,21 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return ListScrollerInternal.fromPtr(ptr) } + readOnScrollVisibleContentChangeCallback(isSync: boolean = false): OnScrollVisibleContentChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (start: VisibleListContentInfo, end: VisibleListContentInfo): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeVisibleListContentInfo(start); + _argsSerializer.writeVisibleListContentInfo(end); + (isSync) ? (InteropNativeModule._CallCallbackSync(625641334, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(625641334, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readLineOptions(): LineOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -19313,6 +19281,13 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + readImageSourceSize(): ImageSourceSize { + let valueDeserializer: Deserializer = this + const width_result: number = (valueDeserializer.readNumber() as number) + const height_result: number = (valueDeserializer.readNumber() as number) + let value: ImageSourceSize = ({width: width_result, height: height_result} as ImageSourceSize) + return value + } readCallback_Type_ImageAttribute_onComplete_callback_event_Void(isSync: boolean = false): ((event?: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -19350,13 +19325,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readImageSourceSize(): ImageSourceSize { - let valueDeserializer: Deserializer = this - const width_result: number = (valueDeserializer.readNumber() as number) - const height_result: number = (valueDeserializer.readNumber() as number) - let value: ImageSourceSize = ({width: width_result, height: height_result} as ImageSourceSize) - return value - } readGridRowOptions(): GridRowOptions { let valueDeserializer: Deserializer = this const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20149,35 +20117,6 @@ export class Deserializer extends DeserializerBase { let value: FlexOptions = ({direction: direction_result, wrap: wrap_result, justifyContent: justifyContent_result, alignItems: alignItems_result, alignContent: alignContent_result, space: space_result} as FlexOptions) return value } - readBusinessError(): BusinessError { - let valueDeserializer: Deserializer = this - const name_result: string = (valueDeserializer.readString() as string) - const message_result: string = (valueDeserializer.readString() as string) - const stack_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let stack_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (stack_buf_runtimeType)) - { - stack_buf = (valueDeserializer.readString() as string) - } - const stack_result: string | undefined|undefined = stack_buf - const code_result: number = (valueDeserializer.readNumber() as number) - let value: BusinessError = ({name: name_result, message: message_result, stack: stack_result, code: code_result} as BusinessError) - return value - } - readErrorCallback(isSync: boolean = false): ErrorCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (err: BusinessError): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeBusinessError(err); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1936519453, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1936519453, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readTerminationInfo(): TerminationInfo { let valueDeserializer: Deserializer = this const code_result: number = (valueDeserializer.readNumber() as number) @@ -20966,10 +20905,40 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return UICommonEventInternal.fromPtr(ptr) } - readChildrenMainSize(): ChildrenMainSize { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return ChildrenMainSizeInternal.fromPtr(ptr) + readChildrenMainSize(): ChildrenMainSize { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return ChildrenMainSizeInternal.fromPtr(ptr) + } + readOnMoveHandler(isSync: boolean = false): OnMoveHandler { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (from: number, to: number): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(from); + _argsSerializer.writeNumber(to); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1200281222, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1200281222, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readOnScrollCallback(isSync: boolean = false): OnScrollCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (scrollOffset: number, scrollState: ScrollState): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(scrollOffset); + _argsSerializer.writeInt32(scrollState.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(-160015401, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-160015401, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } } readCallback_Number_Number_Void(isSync: boolean = false): ((first: number, last: number) => void) { const _resource: CallbackResource = this.readCallbackResource() @@ -21001,32 +20970,6 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return MeasurableInternal.fromPtr(ptr) } - readSpringBackAction(): SpringBackAction { - let valueDeserializer: Deserializer = this - const springBack_result: (() => void) = valueDeserializer.readCallback_Void() - let value: SpringBackAction = ({springBack: springBack_result} as SpringBackAction) - return value - } - readDismissSheetAction(): DismissSheetAction { - let valueDeserializer: Deserializer = this - const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() - const reason_result: DismissReason = (valueDeserializer.readInt32() as DismissReason) - let value: DismissSheetAction = ({dismiss: dismiss_result, reason: reason_result} as DismissSheetAction) - return value - } - readSheetDismiss(): SheetDismiss { - let valueDeserializer: Deserializer = this - const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() - let value: SheetDismiss = ({dismiss: dismiss_result} as SheetDismiss) - return value - } - readDismissContentCoverAction(): DismissContentCoverAction { - let valueDeserializer: Deserializer = this - const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() - const reason_result: DismissReason = (valueDeserializer.readInt32() as DismissReason) - let value: DismissContentCoverAction = ({dismiss: dismiss_result, reason: reason_result} as DismissContentCoverAction) - return value - } readMenuElement(): MenuElement { let valueDeserializer: Deserializer = this const value_buf_selector: number = valueDeserializer.readInt8() @@ -21077,106 +21020,6 @@ export class Deserializer extends DeserializerBase { let value: MenuElement = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, enabled: enabled_result, action: action_result} as MenuElement) return value } - readDismissPopupAction(): DismissPopupAction { - let valueDeserializer: Deserializer = this - const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() - const reason_result: DismissReason = (valueDeserializer.readInt32() as DismissReason) - let value: DismissPopupAction = ({dismiss: dismiss_result, reason: reason_result} as DismissPopupAction) - return value - } - readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: TouchEvent): HitTestMode => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeTouchEvent(parameter); - let _continuationValue: HitTestMode | undefined|undefined ; - const _continuationCallback: ((value: HitTestMode) => void) = (value: HitTestMode): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-274419246, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-274419246, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as HitTestMode); } - } - readShouldBuiltInRecognizerParallelWithCallback(isSync: boolean = false): ShouldBuiltInRecognizerParallelWithCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (current: GestureRecognizer, others: Array): GestureRecognizer => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeGestureRecognizer(current); - _argsSerializer.writeInt32(others.length); - for (let i = 0; i < others.length; i++) { - const others_element: GestureRecognizer = others[i]; - _argsSerializer.writeGestureRecognizer(others_element); - } - let _continuationValue: GestureRecognizer | undefined|undefined ; - const _continuationCallback: ((value: GestureRecognizer) => void) = (value: GestureRecognizer): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-250780276, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-250780276, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as GestureRecognizer); } - } - readGestureRecognizer(): GestureRecognizer { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return GestureRecognizerInternal.fromPtr(ptr) - } - readFingerInfo(): FingerInfo { - let valueDeserializer: Deserializer = this - const id_result: number = (valueDeserializer.readNumber() as number) - const globalX_result: number = (valueDeserializer.readNumber() as number) - const globalY_result: number = (valueDeserializer.readNumber() as number) - const localX_result: number = (valueDeserializer.readNumber() as number) - const localY_result: number = (valueDeserializer.readNumber() as number) - const displayX_result: number = (valueDeserializer.readNumber() as number) - const displayY_result: number = (valueDeserializer.readNumber() as number) - let value: FingerInfo = ({id: id_result, globalX: globalX_result, globalY: globalY_result, localX: localX_result, localY: localY_result, displayX: displayX_result, displayY: displayY_result} as FingerInfo) - return value - } - readBaseGestureEvent(): BaseGestureEvent { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return BaseGestureEventInternal.fromPtr(ptr) - } - readGestureInfo(): GestureInfo { - let valueDeserializer: Deserializer = this - const tag_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let tag_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (tag_buf_runtimeType)) - { - tag_buf = (valueDeserializer.readString() as string) - } - const tag_result: string | undefined|undefined = tag_buf - const type_result: GestureControl.GestureType = (valueDeserializer.readInt32() as GestureControl.GestureType) - const isSystemGesture_result: boolean = valueDeserializer.readBoolean() - let value: GestureInfo = ({tag: tag_result, type: type_result, isSystemGesture: isSystemGesture_result} as GestureInfo) - return value - } - readCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(isSync: boolean = false): ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (gestureInfo: GestureInfo, event: BaseGestureEvent): GestureJudgeResult => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeGestureInfo(gestureInfo); - _argsSerializer.writeBaseGestureEvent(event); - let _continuationValue: GestureJudgeResult | undefined|undefined ; - const _continuationCallback: ((value: GestureJudgeResult) => void) = (value: GestureJudgeResult): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(1319043556, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1319043556, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as GestureJudgeResult); } - } readBackgroundBrightnessOptions(): BackgroundBrightnessOptions { let valueDeserializer: Deserializer = this const rate_result: number = (valueDeserializer.readNumber() as number) @@ -21269,71 +21112,12 @@ export class Deserializer extends DeserializerBase { let value: StateStyles = ({normal: normal_result, pressed: pressed_result, disabled: disabled_result, focused: focused_result, clicked: clicked_result, selected: selected_result} as StateStyles) return value } - readCallback_PreDragStatus_Void(isSync: boolean = false): ((parameter: PreDragStatus) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: PreDragStatus): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeInt32(parameter.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(463894668, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(463894668, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readUniformDataType(): UniformDataType { let valueDeserializer: Deserializer = this const _UniformDataTypeStub_result: string = (valueDeserializer.readString() as string) let value: UniformDataType = ({_UniformDataTypeStub: _UniformDataTypeStub_result} as UniformDataType) return value } - readCallback_DragEvent_String_Void(isSync: boolean = false): ((event: DragEvent, extraParams?: string) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: DragEvent, extraParams?: string | undefined): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeDragEvent(event); - let extraParams_type: int32 = RuntimeType.UNDEFINED; - extraParams_type = runtimeType(extraParams); - _argsSerializer.writeInt8(extraParams_type); - if ((RuntimeType.UNDEFINED) != (extraParams_type)) { - const extraParams_value = extraParams!; - _argsSerializer.writeString(extraParams_value); - } - (isSync) ? (InteropNativeModule._CallCallbackSync(-17167687, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-17167687, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: DragEvent, extraParams?: string | undefined): CustomBuilder | DragItemInfo => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeDragEvent(event); - let extraParams_type: int32 = RuntimeType.UNDEFINED; - extraParams_type = runtimeType(extraParams); - _argsSerializer.writeInt8(extraParams_type); - if ((RuntimeType.UNDEFINED) != (extraParams_type)) { - const extraParams_value = extraParams!; - _argsSerializer.writeString(extraParams_value); - } - let _continuationValue: CustomBuilder | DragItemInfo | undefined|undefined ; - const _continuationCallback: ((value: CustomBuilder | DragItemInfo) => void) = (value: CustomBuilder | DragItemInfo): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(480978023, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(480978023, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as CustomBuilder | DragItemInfo); } - } readLocalizedAlignRuleOptions(): LocalizedAlignRuleOptions { let valueDeserializer: Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -21454,21 +21238,6 @@ export class Deserializer extends DeserializerBase { let value: AlignRuleOption = ({left: left_result, right: right_result, middle: middle_result, top: top_result, bottom: bottom_result, center: center_result, bias: bias_result} as AlignRuleOption) return value } - readCallback_Area_Area_Void(isSync: boolean = false): ((oldValue: Area, newValue: Area) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (oldValue: Area, newValue: Area): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeArea(oldValue); - _argsSerializer.writeArea(newValue); - (isSync) ? (InteropNativeModule._CallCallbackSync(-2024393616, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2024393616, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readMotionBlurOptions(): MotionBlurOptions { let valueDeserializer: Deserializer = this const radius_result: number = (valueDeserializer.readNumber() as number) @@ -21485,39 +21254,22 @@ export class Deserializer extends DeserializerBase { margin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const margin_result: LengthMetrics | undefined|undefined = margin_buf - const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeColor_buf: ColorMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) - { - strokeColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) - } - const strokeColor_result: ColorMetrics | undefined|undefined = strokeColor_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) - { - strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf - let value: FocusBoxStyle = ({margin: margin_result, strokeColor: strokeColor_result, strokeWidth: strokeWidth_result} as FocusBoxStyle) - return value - } - readCallback_KeyEvent_Boolean(isSync: boolean = false): ((parameter: KeyEvent) => boolean) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (parameter: KeyEvent): boolean => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeKeyEvent(parameter); - let _continuationValue: boolean | undefined|undefined ; - const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-2061548092, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2061548092, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return (_continuationValue as boolean); } + const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeColor_buf: ColorMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) + { + strokeColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + } + const strokeColor_result: ColorMetrics | undefined|undefined = strokeColor_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf + let value: FocusBoxStyle = ({margin: margin_result, strokeColor: strokeColor_result, strokeWidth: strokeWidth_result} as FocusBoxStyle) + return value } readAccessibilityCallback(isSync: boolean = false): AccessibilityCallback { const _resource: CallbackResource = this.readCallbackResource() @@ -21534,21 +21286,6 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean, event: HoverEvent) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (isHover: boolean, event: HoverEvent): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeBoolean(isHover); - _argsSerializer.writeHoverEvent(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(-916602978, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-916602978, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readOutlineOptions(): OutlineOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -22600,6 +22337,161 @@ export class Deserializer extends DeserializerBase { let value: ChainWeightOptions = ({horizontal: horizontal_result, vertical: vertical_result} as ChainWeightOptions) return value } + readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: TouchEvent): HitTestMode => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeTouchEvent(parameter); + let _continuationValue: HitTestMode | undefined|undefined ; + const _continuationCallback: ((value: HitTestMode) => void) = (value: HitTestMode): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-274419246, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-274419246, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as HitTestMode); } + } + readGestureInfo(): GestureInfo { + let valueDeserializer: Deserializer = this + const tag_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let tag_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (tag_buf_runtimeType)) + { + tag_buf = (valueDeserializer.readString() as string) + } + const tag_result: string | undefined|undefined = tag_buf + const type_result: GestureControl.GestureType = (valueDeserializer.readInt32() as GestureControl.GestureType) + const isSystemGesture_result: boolean = valueDeserializer.readBoolean() + let value: GestureInfo = ({tag: tag_result, type: type_result, isSystemGesture: isSystemGesture_result} as GestureInfo) + return value + } + readCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(isSync: boolean = false): ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (gestureInfo: GestureInfo, event: BaseGestureEvent): GestureJudgeResult => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeGestureInfo(gestureInfo); + _argsSerializer.writeBaseGestureEvent(event); + let _continuationValue: GestureJudgeResult | undefined|undefined ; + const _continuationCallback: ((value: GestureJudgeResult) => void) = (value: GestureJudgeResult): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1319043556, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1319043556, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as GestureJudgeResult); } + } + readCallback_PreDragStatus_Void(isSync: boolean = false): ((parameter: PreDragStatus) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: PreDragStatus): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(parameter.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(463894668, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(463894668, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_DragEvent_String_Void(isSync: boolean = false): ((event: DragEvent, extraParams?: string) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: DragEvent, extraParams?: string | undefined): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeDragEvent(event); + let extraParams_type: int32 = RuntimeType.UNDEFINED; + extraParams_type = runtimeType(extraParams); + _argsSerializer.writeInt8(extraParams_type); + if ((RuntimeType.UNDEFINED) != (extraParams_type)) { + const extraParams_value = extraParams!; + _argsSerializer.writeString(extraParams_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-17167687, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-17167687, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: DragEvent, extraParams?: string | undefined): CustomBuilder | DragItemInfo => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeDragEvent(event); + let extraParams_type: int32 = RuntimeType.UNDEFINED; + extraParams_type = runtimeType(extraParams); + _argsSerializer.writeInt8(extraParams_type); + if ((RuntimeType.UNDEFINED) != (extraParams_type)) { + const extraParams_value = extraParams!; + _argsSerializer.writeString(extraParams_value); + } + let _continuationValue: CustomBuilder | DragItemInfo | undefined|undefined ; + const _continuationCallback: ((value: CustomBuilder | DragItemInfo) => void) = (value: CustomBuilder | DragItemInfo): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(480978023, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(480978023, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as CustomBuilder | DragItemInfo); } + } + readCallback_Area_Area_Void(isSync: boolean = false): ((oldValue: Area, newValue: Area) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (oldValue: Area, newValue: Area): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeArea(oldValue); + _argsSerializer.writeArea(newValue); + (isSync) ? (InteropNativeModule._CallCallbackSync(-2024393616, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2024393616, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCallback_KeyEvent_Boolean(isSync: boolean = false): ((parameter: KeyEvent) => boolean) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: KeyEvent): boolean => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeKeyEvent(parameter); + let _continuationValue: boolean | undefined|undefined ; + const _continuationCallback: ((parameter: boolean) => void) = (value: boolean): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-2061548092, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2061548092, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean, event: HoverEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (isHover: boolean, event: HoverEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(isHover); + _argsSerializer.writeHoverEvent(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-916602978, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-916602978, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readTouchResult(): TouchResult { let valueDeserializer: Deserializer = this const strategy_result: TouchTestStrategy = (valueDeserializer.readInt32() as TouchTestStrategy) @@ -22640,27 +22532,104 @@ export class Deserializer extends DeserializerBase { const value_element: TouchTestInfo = value[i]; _argsSerializer.writeTouchTestInfo(value_element); } - let _continuationValue: TouchResult | undefined|undefined ; - const _continuationCallback: ((value: TouchResult) => void) = (value: TouchResult): void => { _continuationValue = value; } + let _continuationValue: TouchResult | undefined|undefined ; + const _continuationCallback: ((value: TouchResult) => void) = (value: TouchResult): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-547276916, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-547276916, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as TouchResult); } + } + readDismissPopupAction(): DismissPopupAction { + let valueDeserializer: Deserializer = this + const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() + const reason_result: DismissReason = (valueDeserializer.readInt32() as DismissReason) + let value: DismissPopupAction = ({dismiss: dismiss_result, reason: reason_result} as DismissPopupAction) + return value + } + readSpringBackAction(): SpringBackAction { + let valueDeserializer: Deserializer = this + const springBack_result: (() => void) = valueDeserializer.readCallback_Void() + let value: SpringBackAction = ({springBack: springBack_result} as SpringBackAction) + return value + } + readDismissSheetAction(): DismissSheetAction { + let valueDeserializer: Deserializer = this + const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() + const reason_result: DismissReason = (valueDeserializer.readInt32() as DismissReason) + let value: DismissSheetAction = ({dismiss: dismiss_result, reason: reason_result} as DismissSheetAction) + return value + } + readSheetDismiss(): SheetDismiss { + let valueDeserializer: Deserializer = this + const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() + let value: SheetDismiss = ({dismiss: dismiss_result} as SheetDismiss) + return value + } + readDismissContentCoverAction(): DismissContentCoverAction { + let valueDeserializer: Deserializer = this + const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() + const reason_result: DismissReason = (valueDeserializer.readInt32() as DismissReason) + let value: DismissContentCoverAction = ({dismiss: dismiss_result, reason: reason_result} as DismissContentCoverAction) + return value + } + readKeyEvent(): KeyEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return KeyEventInternal.fromPtr(ptr) + } + readDragEvent(): DragEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return DragEventInternal.fromPtr(ptr) + } + readPixelMapMock(): PixelMapMock { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return PixelMapMockInternal.fromPtr(ptr) + } + readShouldBuiltInRecognizerParallelWithCallback(isSync: boolean = false): ShouldBuiltInRecognizerParallelWithCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (current: GestureRecognizer, others: Array): GestureRecognizer => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeGestureRecognizer(current); + _argsSerializer.writeInt32(others.length); + for (let i = 0; i < others.length; i++) { + const others_element: GestureRecognizer = others[i]; + _argsSerializer.writeGestureRecognizer(others_element); + } + let _continuationValue: GestureRecognizer | undefined|undefined ; + const _continuationCallback: ((value: GestureRecognizer) => void) = (value: GestureRecognizer): void => { _continuationValue = value; } _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-547276916, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-547276916, _argsSerializer.asBuffer(), _argsSerializer.length())); + (isSync) ? (InteropNativeModule._CallCallbackSync(-250780276, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-250780276, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); - return (_continuationValue as TouchResult); } + return (_continuationValue as GestureRecognizer); } } - readKeyEvent(): KeyEvent { + readGestureRecognizer(): GestureRecognizer { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() - return KeyEventInternal.fromPtr(ptr) + return GestureRecognizerInternal.fromPtr(ptr) } - readDragEvent(): DragEvent { + readFingerInfo(): FingerInfo { let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return DragEventInternal.fromPtr(ptr) + const id_result: number = (valueDeserializer.readNumber() as number) + const globalX_result: number = (valueDeserializer.readNumber() as number) + const globalY_result: number = (valueDeserializer.readNumber() as number) + const localX_result: number = (valueDeserializer.readNumber() as number) + const localY_result: number = (valueDeserializer.readNumber() as number) + const displayX_result: number = (valueDeserializer.readNumber() as number) + const displayY_result: number = (valueDeserializer.readNumber() as number) + let value: FingerInfo = ({id: id_result, globalX: globalX_result, globalY: globalY_result, localX: localX_result, localY: localY_result, displayX: displayX_result, displayY: displayY_result} as FingerInfo) + return value } - readPixelMapMock(): PixelMapMock { + readBaseGestureEvent(): BaseGestureEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() - return PixelMapMockInternal.fromPtr(ptr) + return BaseGestureEventInternal.fromPtr(ptr) } readHistoricalPoint(): HistoricalPoint { let valueDeserializer: Deserializer = this @@ -22819,20 +22788,6 @@ export class Deserializer extends DeserializerBase { let value: CheckboxGroupOptions = ({group: group_result} as CheckboxGroupOptions) return value } - readOnCheckboxChangeCallback(isSync: boolean = false): OnCheckboxChangeCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (value: boolean): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeBoolean(value); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1198592337, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1198592337, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readMarkStyle(): MarkStyle { let valueDeserializer: Deserializer = this const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -22876,6 +22831,20 @@ export class Deserializer extends DeserializerBase { let value: MarkStyle = ({strokeColor: strokeColor_result, size: size_result, strokeWidth: strokeWidth_result} as MarkStyle) return value } + readOnCheckboxChangeCallback(isSync: boolean = false): OnCheckboxChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (value: boolean): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1198592337, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1198592337, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readCheckboxOptions(): CheckboxOptions { let valueDeserializer: Deserializer = this const name_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -22953,52 +22922,6 @@ export class Deserializer extends DeserializerBase { let value: CalendarOptions = ({hintRadius: hintRadius_result, selected: selected_result} as CalendarOptions) return value } - readCalendarRequestedData(): CalendarRequestedData { - let valueDeserializer: Deserializer = this - const year_result: number = (valueDeserializer.readNumber() as number) - const month_result: number = (valueDeserializer.readNumber() as number) - const currentYear_result: number = (valueDeserializer.readNumber() as number) - const currentMonth_result: number = (valueDeserializer.readNumber() as number) - const monthState_result: number = (valueDeserializer.readNumber() as number) - let value: CalendarRequestedData = ({year: year_result, month: month_result, currentYear: currentYear_result, currentMonth: currentMonth_result, monthState: monthState_result} as CalendarRequestedData) - return value - } - readCallback_CalendarRequestedData_Void(isSync: boolean = false): ((event: CalendarRequestedData) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: CalendarRequestedData): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCalendarRequestedData(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCalendarSelectedDate(): CalendarSelectedDate { - let valueDeserializer: Deserializer = this - const year_result: number = (valueDeserializer.readNumber() as number) - const month_result: number = (valueDeserializer.readNumber() as number) - const day_result: number = (valueDeserializer.readNumber() as number) - let value: CalendarSelectedDate = ({year: year_result, month: month_result, day: day_result} as CalendarSelectedDate) - return value - } - readCallback_CalendarSelectedDate_Void(isSync: boolean = false): ((event: CalendarSelectedDate) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: CalendarSelectedDate): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCalendarSelectedDate(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } readWorkStateStyle(): WorkStateStyle { let valueDeserializer: Deserializer = this const workDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -23594,6 +23517,52 @@ export class Deserializer extends DeserializerBase { let value: CurrentDayStyle = ({dayColor: dayColor_result, lunarColor: lunarColor_result, markLunarColor: markLunarColor_result, dayFontSize: dayFontSize_result, lunarDayFontSize: lunarDayFontSize_result, dayHeight: dayHeight_result, dayWidth: dayWidth_result, gregorianCalendarHeight: gregorianCalendarHeight_result, dayYAxisOffset: dayYAxisOffset_result, lunarDayYAxisOffset: lunarDayYAxisOffset_result, underscoreXAxisOffset: underscoreXAxisOffset_result, underscoreYAxisOffset: underscoreYAxisOffset_result, scheduleMarkerXAxisOffset: scheduleMarkerXAxisOffset_result, scheduleMarkerYAxisOffset: scheduleMarkerYAxisOffset_result, colSpace: colSpace_result, dailyFiveRowSpace: dailyFiveRowSpace_result, dailySixRowSpace: dailySixRowSpace_result, lunarHeight: lunarHeight_result, underscoreWidth: underscoreWidth_result, underscoreLength: underscoreLength_result, scheduleMarkerRadius: scheduleMarkerRadius_result, boundaryRowOffset: boundaryRowOffset_result, boundaryColOffset: boundaryColOffset_result} as CurrentDayStyle) return value } + readCalendarRequestedData(): CalendarRequestedData { + let valueDeserializer: Deserializer = this + const year_result: number = (valueDeserializer.readNumber() as number) + const month_result: number = (valueDeserializer.readNumber() as number) + const currentYear_result: number = (valueDeserializer.readNumber() as number) + const currentMonth_result: number = (valueDeserializer.readNumber() as number) + const monthState_result: number = (valueDeserializer.readNumber() as number) + let value: CalendarRequestedData = ({year: year_result, month: month_result, currentYear: currentYear_result, currentMonth: currentMonth_result, monthState: monthState_result} as CalendarRequestedData) + return value + } + readCallback_CalendarRequestedData_Void(isSync: boolean = false): ((event: CalendarRequestedData) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: CalendarRequestedData): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeCalendarRequestedData(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + readCalendarSelectedDate(): CalendarSelectedDate { + let valueDeserializer: Deserializer = this + const year_result: number = (valueDeserializer.readNumber() as number) + const month_result: number = (valueDeserializer.readNumber() as number) + const day_result: number = (valueDeserializer.readNumber() as number) + let value: CalendarSelectedDate = ({year: year_result, month: month_result, day: day_result} as CalendarSelectedDate) + return value + } + readCallback_CalendarSelectedDate_Void(isSync: boolean = false): ((event: CalendarSelectedDate) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: CalendarSelectedDate): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeCalendarSelectedDate(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readCalendarDay(): CalendarDay { let valueDeserializer: Deserializer = this const index_result: number = (valueDeserializer.readNumber() as number) @@ -23650,6 +23619,21 @@ export class Deserializer extends DeserializerBase { let value: ButtonOptions = ({type: type_result, stateEffect: stateEffect_result, buttonStyle: buttonStyle_result, controlSize: controlSize_result, role: role_result} as ButtonOptions) return value } + readButtonTriggerClickCallback(isSync: boolean = false): ButtonTriggerClickCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (xPos: number, yPos: number): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(xPos); + _argsSerializer.writeNumber(yPos); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1964292933, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1964292933, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readBadgeParamWithString(): BadgeParamWithString { let valueDeserializer: Deserializer = this const position_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -23727,36 +23711,36 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return SpringPropInternal.fromPtr(ptr) } - readOnAlphabetIndexerPopupSelectCallback(isSync: boolean = false): OnAlphabetIndexerPopupSelectCallback { + readOnAlphabetIndexerRequestPopupDataCallback(isSync: boolean = false): OnAlphabetIndexerRequestPopupDataCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (index: number): void => { + return (index: number): Array => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(index); - (isSync) ? (InteropNativeModule._CallCallbackSync(726938390, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(726938390, _argsSerializer.asBuffer(), _argsSerializer.length())); + let _continuationValue: Array | undefined|undefined ; + const _continuationCallback: ((value: Array) => void) = (value: Array): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1956514817, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1956514817, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); - return; } + return (_continuationValue as Array); } } - readOnAlphabetIndexerRequestPopupDataCallback(isSync: boolean = false): OnAlphabetIndexerRequestPopupDataCallback { + readOnAlphabetIndexerPopupSelectCallback(isSync: boolean = false): OnAlphabetIndexerPopupSelectCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (index: number): Array => { + return (index: number): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(index); - let _continuationValue: Array | undefined|undefined ; - const _continuationCallback: ((value: Array) => void) = (value: Array): void => { _continuationValue = value; } - _argsSerializer.holdAndWriteCallback(_continuationCallback); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1956514817, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1956514817, _argsSerializer.asBuffer(), _argsSerializer.length())); + (isSync) ? (InteropNativeModule._CallCallbackSync(726938390, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(726938390, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); - return (_continuationValue as Array); } + return; } } readOnAlphabetIndexerSelectCallback(isSync: boolean = false): OnAlphabetIndexerSelectCallback { const _resource: CallbackResource = this.readCallbackResource() @@ -23878,13 +23862,6 @@ export class Deserializer extends DeserializerBase { let value: AlertDialogButtonOptions = ({enabled: enabled_result, defaultFocus: defaultFocus_result, style: style_result, value: value_result, fontColor: fontColor_result, backgroundColor: backgroundColor_result, action: action_result, primary: primary_result} as AlertDialogButtonOptions) return value } - readDismissDialogAction(): DismissDialogAction { - let valueDeserializer: Deserializer = this - const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() - const reason_result: DismissReason = (valueDeserializer.readInt32() as DismissReason) - let value: DismissDialogAction = ({dismiss: dismiss_result, reason: reason_result} as DismissDialogAction) - return value - } readSheetInfo(): SheetInfo { let valueDeserializer: Deserializer = this const title_buf_selector: number = valueDeserializer.readInt8() @@ -23921,6 +23898,13 @@ export class Deserializer extends DeserializerBase { let value: SheetInfo = ({title: title_result, icon: icon_result, action: action_result} as SheetInfo) return value } + readDismissDialogAction(): DismissDialogAction { + let valueDeserializer: Deserializer = this + const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() + const reason_result: DismissReason = (valueDeserializer.readInt32() as DismissReason) + let value: DismissDialogAction = ({dismiss: dismiss_result, reason: reason_result} as DismissDialogAction) + return value + } readReplaceSymbolEffect(): ReplaceSymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -23984,6 +23968,35 @@ export class Deserializer extends DeserializerBase { let value: ShapeSize = ({width: width_result, height: height_result} as ShapeSize) return value } + readBusinessError(): BusinessError { + let valueDeserializer: Deserializer = this + const name_result: string = (valueDeserializer.readString() as string) + const message_result: string = (valueDeserializer.readString() as string) + const stack_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let stack_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (stack_buf_runtimeType)) + { + stack_buf = (valueDeserializer.readString() as string) + } + const stack_result: string | undefined|undefined = stack_buf + const code_result: number = (valueDeserializer.readNumber() as number) + let value: BusinessError = ({name: name_result, message: message_result, stack: stack_result, code: code_result} as BusinessError) + return value + } + readErrorCallback(isSync: boolean = false): ErrorCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (err: BusinessError): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBusinessError(err); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1936519453, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1936519453, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } readWebHeader(): WebHeader { let valueDeserializer: Deserializer = this const headerKey_result: string = (valueDeserializer.readString() as string) @@ -23991,6 +24004,40 @@ export class Deserializer extends DeserializerBase { let value: WebHeader = ({headerKey: headerKey_result, headerValue: headerValue_result} as WebHeader) return value } + readAnimationOptions(): AnimationOptions { + let valueDeserializer: Deserializer = this + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result: number | undefined|undefined = duration_buf + const iterations_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iterations_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iterations_buf_runtimeType)) + { + iterations_buf = (valueDeserializer.readNumber() as number) + } + const iterations_result: number | undefined|undefined = iterations_buf + let value: AnimationOptions = ({duration: duration_result, iterations: iterations_result} as AnimationOptions) + return value + } + readAnimatedDrawableDescriptor(): AnimatedDrawableDescriptor { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return AnimatedDrawableDescriptorInternal.fromPtr(ptr) + } + readPixelMapDrawableDescriptor(): PixelMapDrawableDescriptor { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return PixelMapDrawableDescriptorInternal.fromPtr(ptr) + } + readLayeredDrawableDescriptor(): LayeredDrawableDescriptor { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return LayeredDrawableDescriptorInternal.fromPtr(ptr) + } readLength(): Length | undefined { const valueType = this.readInt8() if ((RuntimeType.NUMBER) == (valueType)) { @@ -24007,5 +24054,3 @@ export class Deserializer extends DeserializerBase { } } } - -export function createDeserializer(args: Uint8Array, length: int32): Deserializer { return new Deserializer(args, length) } diff --git a/arkoala/arkui/src/generated/peers/GlobalScope.ts b/arkoala/arkui/src/generated/peers/GlobalScope.ts deleted file mode 100644 index 7e8da9bd3984050ee855e5fb29047fb752c06b0c..0000000000000000000000000000000000000000 --- a/arkoala/arkui/src/generated/peers/GlobalScope.ts +++ /dev/null @@ -1,231 +0,0 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing 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, FinishCallbackType, ExpectedFrameRateRange } from "./../ArkCommonInterfaces" -import { Resource } from "./../ArkResourceInterfaces" -import { Curve, PlayMode } from "./../ArkEnumsInterfaces" -import { ICurve, ICurveInternal } from "./../ArkICurveMaterialized" -import { PointerStyle } from "./../ArkArkuiCustomInterfaces" -import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, toPeerPtr, MaterializedBase, isInstanceOf } from "@koalaui/interop" -import { unsafeCast, int32, float32 } from "@koalaui/common" -import { Serializer } from "./Serializer" -import { CallbackKind } from "./CallbackKind" -import { Deserializer, createDeserializer } from "./Deserializer" -import { CallbackTransformer } from "./CallbackTransformer" -import { isResource, isPadding } from "./../../utils" -import { ArkUIGeneratedNativeModule } from "./../ArkUIGeneratedNativeModule" -export class GlobalScope { - public static getContext(component?: Object): Context { - const component_casted = component as (Object | undefined) - return GlobalScope.getContext_serialize(component_casted) - } - static getContext_serialize(component?: Object): Context { - const thisSerializer: Serializer = Serializer.hold() - let component_type: int32 = RuntimeType.UNDEFINED - component_type = runtimeType(component) - thisSerializer.writeInt8(component_type) - if ((RuntimeType.UNDEFINED) != (component_type)) { - const component_value = component! - thisSerializer.writeCustomObject("Object", component_value) - } - const retval = ArkUIGeneratedNativeModule._GlobalScope_getContext(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: Context = retvalDeserializer.readContext() - return returnResult - } - public static postCardAction(component: Object, action: Object): void { - const component_casted = component as (Object) - const action_casted = action as (Object) - GlobalScope.postCardAction_serialize(component_casted, action_casted) - return - } - static postCardAction_serialize(component: Object, action: Object): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeCustomObject("Object", component) - thisSerializer.writeCustomObject("Object", action) - ArkUIGeneratedNativeModule._GlobalScope_postCardAction(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - public static dollar_r(value: string, params: Array): Resource { - const value_casted = value as (string) - const params_casted = params as (Array) - return GlobalScope.dollar_r_serialize(value_casted, params_casted) - } - static dollar_r_serialize(value: string, params: Array): Resource { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(params.length) - for (let i = 0; i < params.length; i++) { - const params_element: any = params[i] - thisSerializer.writeCustomObject("Any", params_element) - } - const retval = ArkUIGeneratedNativeModule._GlobalScope_dollar_r(value, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: Resource = retvalDeserializer.readResource() - return returnResult - } - public static dollar_rawfile(value: string): Resource { - const value_casted = value as (string) - return GlobalScope.dollar_rawfile_serialize(value_casted) - } - static dollar_rawfile_serialize(value: string): Resource { - const retval = ArkUIGeneratedNativeModule._GlobalScope_dollar_rawfile(value) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: Resource = retvalDeserializer.readResource() - return returnResult - } - public static animateTo(value: AnimateParam, event: (() => void)): void { - const value_casted = value as (AnimateParam) - const event_casted = event as ((() => void)) - GlobalScope.animateTo_serialize(value_casted, event_casted) - return - } - static animateTo_serialize(value: AnimateParam, event: (() => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeAnimateParam(value) - thisSerializer.holdAndWriteCallback(event) - ArkUIGeneratedNativeModule._GlobalScope_animateTo(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - public static animateToImmediately(value: AnimateParam, event: (() => void)): void { - const value_casted = value as (AnimateParam) - const event_casted = event as ((() => void)) - GlobalScope.animateToImmediately_serialize(value_casted, event_casted) - return - } - static animateToImmediately_serialize(value: AnimateParam, event: (() => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeAnimateParam(value) - thisSerializer.holdAndWriteCallback(event) - ArkUIGeneratedNativeModule._GlobalScope_animateToImmediately(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - public static vp2px(value: number): number { - const value_casted = value as (number) - return GlobalScope.vp2px_serialize(value_casted) - } - static vp2px_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_vp2px(value) - return retval - } - public static px2vp(value: number): number { - const value_casted = value as (number) - return GlobalScope.px2vp_serialize(value_casted) - } - static px2vp_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_px2vp(value) - return retval - } - public static fp2px(value: number): number { - const value_casted = value as (number) - return GlobalScope.fp2px_serialize(value_casted) - } - static fp2px_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_fp2px(value) - return retval - } - public static px2fp(value: number): number { - const value_casted = value as (number) - return GlobalScope.px2fp_serialize(value_casted) - } - static px2fp_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_px2fp(value) - return retval - } - public static lpx2px(value: number): number { - const value_casted = value as (number) - return GlobalScope.lpx2px_serialize(value_casted) - } - static lpx2px_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_lpx2px(value) - return retval - } - public static px2lpx(value: number): number { - const value_casted = value as (number) - return GlobalScope.px2lpx_serialize(value_casted) - } - static px2lpx_serialize(value: number): number { - const retval = ArkUIGeneratedNativeModule._GlobalScope_px2lpx(value) - return retval - } - public static getInspectorNodes(): Object { - return GlobalScope.getInspectorNodes_serialize() - } - static getInspectorNodes_serialize(): Object { - const retval = ArkUIGeneratedNativeModule._GlobalScope_getInspectorNodes() - throw new Error("Object deserialization is not implemented.") - } - public static getInspectorNodeById(id: number): Object { - const id_casted = id as (number) - return GlobalScope.getInspectorNodeById_serialize(id_casted) - } - static getInspectorNodeById_serialize(id: number): Object { - const retval = ArkUIGeneratedNativeModule._GlobalScope_getInspectorNodeById(id) - throw new Error("Object deserialization is not implemented.") - } - public static setAppBgColor(value: string): void { - const value_casted = value as (string) - GlobalScope.setAppBgColor_serialize(value_casted) - return - } - static setAppBgColor_serialize(value: string): void { - ArkUIGeneratedNativeModule._GlobalScope_setAppBgColor(value) - } - public static Profiler_registerVsyncCallback(callback_: ((info: string) => void)): void { - const callback__casted = callback_ as (((info: string) => void)) - GlobalScope.Profiler_registerVsyncCallback_serialize(callback__casted) - return - } - static Profiler_registerVsyncCallback_serialize(callback_: ((info: string) => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback_) - ArkUIGeneratedNativeModule._GlobalScope_Profiler_registerVsyncCallback(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - public static Profiler_unregisterVsyncCallback(): void { - GlobalScope.Profiler_unregisterVsyncCallback_serialize() - return - } - static Profiler_unregisterVsyncCallback_serialize(): void { - ArkUIGeneratedNativeModule._GlobalScope_Profiler_unregisterVsyncCallback() - } - public static cursorControl_setCursor(value: PointerStyle): void { - const value_casted = value as (PointerStyle) - GlobalScope.cursorControl_setCursor_serialize(value_casted) - return - } - static cursorControl_setCursor_serialize(value: PointerStyle): void { - ArkUIGeneratedNativeModule._GlobalScope_cursorControl_setCursor(value.valueOf()) - } - public static cursorControl_restoreDefault(): void { - GlobalScope.cursorControl_restoreDefault_serialize() - return - } - static cursorControl_restoreDefault_serialize(): void { - ArkUIGeneratedNativeModule._GlobalScope_cursorControl_restoreDefault() - } - public static focusControl_requestFocus(value: string): boolean { - const value_casted = value as (string) - return GlobalScope.focusControl_requestFocus_serialize(value_casted) - } - static focusControl_requestFocus_serialize(value: string): boolean { - const retval = ArkUIGeneratedNativeModule._GlobalScope_focusControl_requestFocus(value) - return retval - } -} diff --git a/arkoala/arkui/src/generated/peers/Serializer.ts b/arkoala/arkui/src/generated/peers/Serializer.ts index 10c6474fcc257f89c98e1c9bfb80938c39c4210c..6867d2e817ace68b36698fc82da6591cfbd55806 100644 --- a/arkoala/arkui/src/generated/peers/Serializer.ts +++ b/arkoala/arkui/src/generated/peers/Serializer.ts @@ -13,28 +13,30 @@ * limitations under the License. */ -import { SerializerBase, Tags, RuntimeType, runtimeType, toPeerPtr, MaterializedBase, InteropNativeModule, ResourceHolder, nullptr, KPointer, isInstanceOf } from "@koalaui/interop" -import { int32, float32, unsafeCast } from "@koalaui/common" -import { isResource, isPadding } from "./../../utils" + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, ResourceHolder, isInstanceOf, NativeBuffer, KSerializerBuffer, Finalizable } from "@koalaui/interop" +import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CallbackKind } from "./CallbackKind" -import { NativeBuffer, KSerializerBuffer, Finalizable } from "@koalaui/interop" +import { isResource, isPadding } from "./../../utils" import { CallbackTransformer } from "./CallbackTransformer" -import { AccessibilityCallback, CustomBuilder, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, SymbolGlyphModifier, ShadowOptions, ShadowType, DrawContext, EventTarget, SourceType, SourceTool, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, FinishCallbackType, ExpectedFrameRateRange, DismissPopupAction, DismissReason, Rectangle, PickerTextStyle, PickerDialogButtonStyle, BlurOptions, UIContext, SheetType, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ContextMenuAnimationOptions, PopupMessageOptions, OverlayOffset, ImageModifier, MotionPathOptions, LinearGradient_common, ScrollableCommonMethod, CommonMethod, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, TransitionOptions, MotionBlurOptions, InvertOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, DragItemInfo, ShadowStyle, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, TransitionHierarchyStrategy, MenuPreviewMode, BindOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, RectResult, TouchTestStrategy, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, HoverModeAreaType, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, MenuPolicy, ContentModifier, CommonConfiguration, LayoutSafeAreaType, LayoutSafeAreaEdge, ItemDragInfo, VisibleAreaEventOptions, MeasureResult, SizeResult, Context, LightSource, MultiShadowOptions, KeyboardAvoidMode, PointLightStyle } from "./../ArkCommonInterfaces" +import { AccessibilityCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, SymbolGlyphModifier, ShadowOptions, ShadowType, DrawContext, EventTarget, SourceType, SourceTool, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, FinishCallbackType, ExpectedFrameRateRange, DismissPopupAction, DismissReason, Rectangle, PickerTextStyle, PickerDialogButtonStyle, BlurOptions, CustomBuilder, UIContext, SheetType, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ContextMenuAnimationOptions, PopupMessageOptions, OverlayOffset, ImageModifier, MotionPathOptions, LinearGradient_common, ScrollableCommonMethod, CommonMethod, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, TransitionOptions, MotionBlurOptions, InvertOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, UniformDataType, DragItemInfo, ShadowStyle, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, TouchTestInfo, TouchResult, AdaptiveColor, BlurStyleActivePolicy, RepeatMode, MotionBlurAnchor, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, PreDragStatus, UIGestureEvent, BlurStyleOptions, ThemeColorMode, FractionStop, DragPreviewMode, TransitionHierarchyStrategy, MenuPreviewMode, BindOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, RectResult, TouchTestStrategy, TouchObject, HistoricalPoint, IntentionCode, DragBehavior, Summary, DragResult, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, HoverModeAreaType, TextDecorationOptions, InputCounterOptions, CaretOffset, SelectionOptions, MenuPolicy, ContentModifier, CommonConfiguration, LayoutSafeAreaType, LayoutSafeAreaEdge, ItemDragInfo, VisibleAreaEventOptions, MeasureResult, SizeResult, Context, LightSource, MultiShadowOptions, KeyboardAvoidMode, PointLightStyle } from "./../ArkCommonInterfaces" import { ButtonTriggerClickCallback, ButtonType, ButtonStyleMode, ButtonRole, LabelStyle, ControlSize, ButtonOptions } from "./../ArkButtonInterfaces" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../ArkAnimationExtenderInterfaces" import { Callback_RangeUpdate } from "./../ArkArkuiCustomInterfaces" import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, IndicatorStyle, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ArrowStyle, SwiperAutoFill, SwiperAnimationEvent } from "./../ArkSwiperInterfaces" import { CustomNodeBuilder } from "./../ArkCustomBuilderInterfaces" import { EditableTextOnChangeCallback, OnDidChangeCallback, DecorationStyleResult, Affinity, TextRange, StyledStringChangeValue, TextMenuItem, MenuType, CaretStyle, InsertValue, DeleteValue, TextDeleteDirection, LineMetrics, PositionWithAffinity, PreviewText, TextBox, TextDataDetectorConfig, FontSettingOptions, TextDataDetectorType, StyledStringChangedListener } from "./../ArkTextCommonInterfaces" -import { ErrorCallback, LengthUnit, WebHeader, TextModifier, Want, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, RectWidthStyle, RectHeightStyle, SymbolEffect, MeasureOptions, FontInfo, FontOptions, SnapshotOptions, EffectScope, EffectDirection, NodeController } from "./../ArkArkuiExternalInterfaces" +import { ErrorCallback, LengthUnit, WebHeader, TextModifier, Want, ShapeSize, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, RectWidthStyle, RectHeightStyle, MeasureOptions, FontInfo, FontOptions, SnapshotOptions, EffectScope, EffectDirection, NodeController } from "./../ArkArkuiExternalInterfaces" import { GetItemMainSizeByIndex, WaterFlowAttribute, SectionOptions, WaterFlowOptions, WaterFlowLayoutMode } from "./../ArkWaterFlowInterfaces" import { ImageCompleteCallback, ImageLoadResult } from "./../ArkImageSpanInterfaces" -import { ImageErrorCallback, ResizableOptions, DrawingLattice, DrawableDescriptor, DrawingColorFilter, ResolutionQuality, ImageError, ImageSourceSize } from "./../ArkImageInterfaces" +import { ImageErrorCallback, ResizableOptions, DrawingLattice, DrawingColorFilter, ResolutionQuality, ImageError, ImageSourceSize } from "./../ArkImageInterfaces" import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavContentInfo, NavigationOptions, NavigationInterception, LaunchMode, NavigationMode, NavBar, NavigationOperation, NavigationAnimatedTransition, NavigationMenuItem, SystemBarStyle, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, BarStyle, ToolbarItemStatus, NavigationTitleMode } from "./../ArkNavigationInterfaces" -import { IsolatedComponentInterface, RestrictedWorker, IsolatedOptions, IsolatedComponentAttribute } from "./../ArkIsolatedComponentInterfaces" +import { IsolatedComponentInterface, RestrictedWorker, IsolatedComponentAttribute, IsolatedOptions } from "./../ArkIsolatedComponentInterfaces" import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyleResult, RichEditorSpanPosition, RichEditorParagraphStyle, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorImageSpanStyle, RichEditorTextStyle, RichEditorGesture, KeyboardOptions, PasteEvent, SelectionMenuOptions, RichEditorRange, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan, RichEditorSpanStyleOptions, RichEditorAttribute, RichEditorSpanType, RichEditorResponseType, PlaceholderStyle, RichEditorInsertValue, RichEditorDeleteValue, RichEditorChangeValue, CutEvent, CopyEvent, RichEditorDeleteDirection, RichEditorStyledStringOptions, RichEditorOptions } from "./../ArkRichEditorInterfaces" import { NavExtender_OnUpdateStack } from "./../ArkNavigationExtenderInterfaces" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, HitTestType, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeMediaPlayerConfig, ExpandedMenuItemOptions, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, 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, RenderExitReason, SslError, NativeEmbedStatus, NativeEmbedInfo, MessageLevel, FileSelectorMode, ScreenCaptureConfig, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, WebCaptureMode, WebKeyboardOptions, AdsBlockedDetails, WebKeyboardCallbackInfo, ViewportFit, RenderProcessNotRespondingData, RenderProcessNotRespondingReason, NativeEmbedVisibilityInfo, IntelligentTrackingPreventionDetails, LoadCommittedDetails, WebNavigationType, ThreatType, LargestContentfulPaint, FirstMeaningfulPaint, SslErrorEvent, FullScreenEnterEvent, WebOptions, RenderMode } from "./../ArkWebInterfaces" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, HitTestType, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeMediaPlayerConfig, ExpandedMenuItemOptions, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, 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, RenderExitReason, SslError, NativeEmbedStatus, NativeEmbedInfo, MessageLevel, FileSelectorMode, ScreenCaptureConfig, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, WebCaptureMode, WebKeyboardOptions, WebOptions, RenderMode, FullScreenEnterEvent, ThreatType, WebKeyboardCallbackInfo, AdsBlockedDetails, ViewportFit, RenderProcessNotRespondingData, RenderProcessNotRespondingReason, NativeEmbedVisibilityInfo, IntelligentTrackingPreventionDetails, FirstMeaningfulPaint, LargestContentfulPaint, SslErrorEvent, LoadCommittedDetails, WebNavigationType } from "./../ArkWebInterfaces" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, AlphabetIndexerAttribute, IndexerAlign, AlphabetIndexerOptions } from "./../ArkAlphabetIndexerInterfaces" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../ArkCheckboxInterfaces" import { OnCheckboxGroupChangeCallback, CheckboxGroupResult, SelectStatus, CheckboxGroupOptions } from "./../ArkCheckboxgroupInterfaces" @@ -46,12 +48,12 @@ import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallbac import { OnScrollVisibleContentChangeCallback, ScrollState, ScrollSnapAlign, ListDividerOptions, ListAttribute, ListItemAlign, ChainAnimationOptions, StickyStyle, ChainEdgeEffect, VisibleListContentInfo, ListItemGroupArea, CloseSwipeActionOptions, ListOptions } from "./../ArkListInterfaces" import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, DividerStyle, TabsAttribute, BarPosition, BarMode, AnimationMode, BarGridColumnOptions, ScrollableBarModeOptions, LayoutStyle, TabContentAnimatedTransition, TabsAnimationEvent, TabsOptions } from "./../ArkTabsInterfaces" import { PageTransitionCallback, RouteType } from "./../ArkPageTransitionInterfaces" -import { PluginErrorCallback, PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../ArkPluginComponentInterfaces" +import { PluginErrorCallback, PluginComponentTemplate, PluginComponentOptions, PluginErrorData } from "./../ArkPluginComponentInterfaces" import { SearchSubmitCallback, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, CancelButtonStyle, SearchAttribute, SearchType, SearchButtonOptions, SearchOptions } from "./../ArkSearchInterfaces" import { SliderTriggerChangeCallback, SliderAttribute, SliderBlockStyle, SliderInteraction, SliderConfiguration, SlideRange, SliderChangeMode, SliderBlockType, SliderOptions, SliderStyle } from "./../ArkSliderInterfaces" import { TextAreaSubmitCallback, ContentType, TextAreaAttribute, TextAreaType, TextAreaOptions } from "./../ArkTextAreaInterfaces" import { VoidCallback, Dimension, PX, VP, FP, LPX, Percentage, ResourceColor, BorderRadiuses, Length, Margin, Padding, SizeOptions, Position, Area, ResourceStr, Font, LocalizedPadding, LocalizedEdgeColors, LocalizedEdgeWidths, LocalizedBorderRadiuses, LengthMetricsUnit, ConstraintSizeOptions, ChainWeightOptions, LocalizedMargin, BorderOptions, EdgeStyles, EdgeWidths, EdgeColors, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, Bias, Offset, DividerStyleOptions, LengthConstrain, DirectionalEdgesT, MarkStyle } from "./../ArkUnitsInterfaces" -import { WithThemeInterface, CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" +import { WithThemeInterface, CustomTheme, WithThemeAttribute, WithThemeOptions } from "./../ArkWithThemeInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { PixelMap, PixelMapInternal } from "./../ArkPixelMapMaterialized" import { LengthMetrics, LengthMetricsInternal } from "./../ArkLengthMetricsMaterialized" @@ -83,21 +85,21 @@ import { TransitionEffect, TransitionEffectInternal } from "./../ArkTransitionEf import { CanvasPattern, CanvasPatternInternal } from "./../ArkCanvasPatternMaterialized" import { Matrix2D, Matrix2DInternal } from "./../ArkMatrix2DMaterialized" import { CanvasGradient, CanvasGradientInternal } from "./../ArkCanvasGradientMaterialized" -import { NavigationTransitionProxy, NavigationTransitionProxyInternal } from "./../ArkNavigationTransitionProxyMaterialized" -import { NavDestinationMode, RouteMapConfig, NavDestinationAttribute, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle } from "./../ArkNavDestinationInterfaces" import { ColorMetrics, ColorMetricsInternal } from "./../ArkColorMetricsMaterialized" 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 { WebResourceRequest, WebResourceRequestInternal } from "./../ArkWebResourceRequestMaterialized" import { DateTimeOptions, TimePickerResult, TimePickerDialogOptions, TimePickerOptions, TimePickerFormat } from "./../ArkTimePickerInterfaces" import { TextPickerResult, TextPickerDialogOptions, TextPickerOptions, TextPickerRangeContent, TextCascadePickerRangeContent, DividerOptions } from "./../ArkTextPickerInterfaces" import { TextMenuItemId, TextMenuItemIdInternal } from "./../ArkTextMenuItemIdMaterialized" import { TabContentTransitionProxy, TabContentTransitionProxyInternal } from "./../ArkTabContentTransitionProxyMaterialized" import { SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphAttribute, EffectFillStyle } from "./../ArkSymbolglyphInterfaces" import { StyledString, StyledStringInternal } from "./../ArkStyledStringMaterialized" +import { NavigationTransitionProxy, NavigationTransitionProxyInternal } from "./../ArkNavigationTransitionProxyMaterialized" +import { NavDestinationMode, RouteMapConfig, NavDestinationAttribute, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle } from "./../ArkNavDestinationInterfaces" import { NavPathStack, NavPathStackInternal } from "./../ArkNavPathStackMaterialized" import { NavDestinationContext, NavDestinationContextInternal } from "./../ArkNavDestinationContextMaterialized" import { GridColColumnOption, GridColOptions } from "./../ArkGridColInterfaces" @@ -160,8 +162,8 @@ import { ClientAuthenticationHandler, ClientAuthenticationHandlerInternal } from import { ControllerHandler, ControllerHandlerInternal } from "./../ArkControllerHandlerMaterialized" import { DataResubmissionHandler, DataResubmissionHandlerInternal } from "./../ArkDataResubmissionHandlerMaterialized" import { EventResult, EventResultInternal } from "./../ArkEventResultMaterialized" -import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { FullScreenExitHandler, FullScreenExitHandlerInternal } from "./../ArkFullScreenExitHandlerMaterialized" +import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { VideoController, VideoControllerInternal } from "./../ArkVideoControllerMaterialized" import { SeekMode, PlaybackInfo, PreparedInfo, FullscreenInfo, VideoOptions, PlaybackSpeed } from "./../ArkVideoInterfaces" import { TextTimerController, TextTimerControllerInternal } from "./../ArkTextTimerControllerMaterialized" @@ -176,6 +178,7 @@ import { TextController, TextControllerInternal } from "./../ArkTextControllerMa import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { TabsController, TabsControllerInternal } from "./../ArkTabsControllerMaterialized" +import { SymbolEffect, SymbolEffectInternal } from "./../ArkSymbolEffectMaterialized" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { Indicator } from "./../ArkIndicatorBuilder" import { DotIndicator } from "./../ArkDotIndicatorBuilder" @@ -197,6 +200,7 @@ import { CircleStyleOptions, PatternLockChallengeResult } from "./../ArkPatternL import { PanelMode } from "./../ArkPanelInterfaces" import { MenuItemOptions } from "./../ArkMenuItemInterfaces" import { ASTCResource } from "./../ArkMediaCachedImageInterfaces" +import { DrawableDescriptor, DrawableDescriptorInternal } from "./../ArkDrawableDescriptorMaterialized" import { ChildrenMainSize, ChildrenMainSizeInternal } from "./../ArkChildrenMainSizeMaterialized" import { ColorFilter, ColorFilterInternal } from "./../ArkColorFilterMaterialized" import { GridAttribute, GridDirection, GridItemAlignment, ComputedBarAttribute, GridLayoutOptions } from "./../ArkGridInterfaces" @@ -215,7 +219,7 @@ import { RenderingContextSettings, RenderingContextSettingsInternal } from "./.. import { OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal } from "./../ArkOffscreenCanvasRenderingContext2DMaterialized" import { CalendarDialogOptions, CalendarOptions, CalendarPickerAttribute, CalendarAlign } from "./../ArkCalendarPickerInterfaces" import { CalendarController, CalendarControllerInternal } from "./../ArkCalendarControllerMaterialized" -import { MonthData, CalendarDay, CalendarRequestedData, CalendarSelectedDate, WorkStateStyle, WeekStyle, TodayStyle, NonCurrentDayStyle, CurrentDayStyle } from "./../ArkCalendarInterfaces" +import { MonthData, CalendarDay, WorkStateStyle, WeekStyle, TodayStyle, NonCurrentDayStyle, CurrentDayStyle, CalendarRequestedData, CalendarSelectedDate } from "./../ArkCalendarInterfaces" import { BadgeStyle, BadgeParamWithString, BadgeParam, BadgePosition, BadgeParamWithNumber } from "./../ArkBadgeInterfaces" import { BaseShape, BaseShapeInternal } from "./../ArkBaseShapeMaterialized" import { CommonShape, CommonShapeInternal } from "./../ArkCommonShapeMaterialized" @@ -225,6 +229,7 @@ import { SwitchStyle, ToggleOptions, ToggleType } from "./../ArkToggleInterfaces import { TextTimerOptions } from "./../ArkTextTimerInterfaces" import { SubmitEvent, SubmitEventInternal } from "./../ArkSubmitEventMaterialized" import { TextClockOptions } from "./../ArkTextClockInterfaces" +import { PulseSymbolEffect, PulseSymbolEffectInternal } from "./../ArkPulseSymbolEffectMaterialized" import { BounceSymbolEffect, BounceSymbolEffectInternal } from "./../ArkBounceSymbolEffectMaterialized" import { DisappearSymbolEffect, DisappearSymbolEffectInternal } from "./../ArkDisappearSymbolEffectMaterialized" import { AppearSymbolEffect, AppearSymbolEffectInternal } from "./../ArkAppearSymbolEffectMaterialized" @@ -265,7 +270,6 @@ import { TapGestureEvent, TapGestureEventInternal } from "./../ArkTapGestureEven import { GaugeIndicatorOptions, GaugeShadowOptions, GaugeOptions } from "./../ArkGaugeInterfaces" import { FormLinkOptions } from "./../ArkFormLinkInterfaces" import { FormCallbackInfo, FormInfo, FormDimension, FormRenderingMode, FormShape } from "./../ArkFormComponentInterfaces" -import { BusinessError } from "./../ArkBaseInterfaces" import { TerminationInfo } from "./../ArkEmbeddedComponentInterfaces" import { EllipseOptions } from "./../ArkEllipseInterfaces" import { CustomDialogControllerOptions } from "./../ArkCustomDialogControllerInterfaces" @@ -284,6 +288,11 @@ import { FrictionMotion, FrictionMotionInternal } from "./../ArkFrictionMotionMa import { SpringMotion, SpringMotionInternal } from "./../ArkSpringMotionMaterialized" import { ReplaceSymbolEffect, ReplaceSymbolEffectInternal } from "./../ArkReplaceSymbolEffectMaterialized" import { ScaleSymbolEffect, ScaleSymbolEffectInternal } from "./../ArkScaleSymbolEffectMaterialized" +import { BusinessError } from "./../ArkBaseInterfaces" +import { AnimationOptions } from "./../ArkArkuiDrawabledescriptorInterfaces" +import { AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal } from "./../ArkAnimatedDrawableDescriptorMaterialized" +import { PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal } from "./../ArkPixelMapDrawableDescriptorMaterialized" +import { LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal } from "./../ArkLayeredDrawableDescriptorMaterialized" export class Serializer extends SerializerBase { private static pool?: Array | undefined = undefined private static poolTop: int32 = -1 @@ -1440,20 +1449,20 @@ export class Serializer extends SerializerBase { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEventTarget(value: EventTarget): void { + writeWebviewController(value: WebviewController): void { let valueSerializer: Serializer = this - const value_area = value.area - valueSerializer.writeArea(value_area) + valueSerializer.writePointer(toPeerPtr(value)) } - writeWebResourceRequest(value: WebResourceRequest): void { + writeWebController(value: WebController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebviewController(value: WebviewController): void { + writeEventTarget(value: EventTarget): void { let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) + const value_area = value.area + valueSerializer.writeArea(value_area) } - writeWebController(value: WebController): void { + writeWebResourceRequest(value: WebResourceRequest): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } @@ -3545,140 +3554,10 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeCustomTheme(value: CustomTheme): void { - let valueSerializer: Serializer = this - const value__CustomThemeStub = value._CustomThemeStub - valueSerializer.writeString(value__CustomThemeStub) - } - writeRestrictedWorker(value: RestrictedWorker): void { - let valueSerializer: Serializer = this - const value__RestrictedWorkerStub = value._RestrictedWorkerStub - valueSerializer.writeString(value__RestrictedWorkerStub) - } - writeWant(value: Want): void { - let valueSerializer: Serializer = this - const value_bundleName = value.bundleName - let value_bundleName_type: int32 = RuntimeType.UNDEFINED - value_bundleName_type = runtimeType(value_bundleName) - valueSerializer.writeInt8(value_bundleName_type) - if ((RuntimeType.UNDEFINED) != (value_bundleName_type)) { - const value_bundleName_value = value_bundleName! - valueSerializer.writeString(value_bundleName_value) - } - const value_abilityName = value.abilityName - let value_abilityName_type: int32 = RuntimeType.UNDEFINED - value_abilityName_type = runtimeType(value_abilityName) - valueSerializer.writeInt8(value_abilityName_type) - if ((RuntimeType.UNDEFINED) != (value_abilityName_type)) { - const value_abilityName_value = value_abilityName! - valueSerializer.writeString(value_abilityName_value) - } - const value_deviceId = value.deviceId - let value_deviceId_type: int32 = RuntimeType.UNDEFINED - value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeString(value_deviceId_value) - } - const value_uri = value.uri - let value_uri_type: int32 = RuntimeType.UNDEFINED - value_uri_type = runtimeType(value_uri) - valueSerializer.writeInt8(value_uri_type) - if ((RuntimeType.UNDEFINED) != (value_uri_type)) { - const value_uri_value = value_uri! - valueSerializer.writeString(value_uri_value) - } - const value_type = value.type - let value_type_type: int32 = RuntimeType.UNDEFINED - value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type) - if ((RuntimeType.UNDEFINED) != (value_type_type)) { - const value_type_value = value_type! - valueSerializer.writeString(value_type_value) - } - const value_flags = value.flags - let value_flags_type: int32 = RuntimeType.UNDEFINED - value_flags_type = runtimeType(value_flags) - valueSerializer.writeInt8(value_flags_type) - if ((RuntimeType.UNDEFINED) != (value_flags_type)) { - const value_flags_value = value_flags! - valueSerializer.writeNumber(value_flags_value) - } - const value_action = value.action - let value_action_type: int32 = RuntimeType.UNDEFINED - value_action_type = runtimeType(value_action) - valueSerializer.writeInt8(value_action_type) - if ((RuntimeType.UNDEFINED) != (value_action_type)) { - const value_action_value = value_action! - valueSerializer.writeString(value_action_value) - } - const value_parameters = value.parameters - let value_parameters_type: int32 = RuntimeType.UNDEFINED - value_parameters_type = runtimeType(value_parameters) - valueSerializer.writeInt8(value_parameters_type) - if ((RuntimeType.UNDEFINED) != (value_parameters_type)) { - const value_parameters_value = value_parameters! - valueSerializer.writeInt32(value_parameters_value.size) - for (const [value_parameters_value_key, value_parameters_value_value] of value_parameters_value) { - valueSerializer.writeString(value_parameters_value_key) - valueSerializer.writeCustomObject("Object", value_parameters_value_value) - } - } - const value_entities = value.entities - let value_entities_type: int32 = RuntimeType.UNDEFINED - value_entities_type = runtimeType(value_entities) - valueSerializer.writeInt8(value_entities_type) - if ((RuntimeType.UNDEFINED) != (value_entities_type)) { - const value_entities_value = value_entities! - valueSerializer.writeInt32(value_entities_value.length) - for (let i = 0; i < value_entities_value.length; i++) { - const value_entities_value_element: string = value_entities_value[i] - valueSerializer.writeString(value_entities_value_element) - } - } - const value_moduleName = value.moduleName - let value_moduleName_type: int32 = RuntimeType.UNDEFINED - value_moduleName_type = runtimeType(value_moduleName) - valueSerializer.writeInt8(value_moduleName_type) - if ((RuntimeType.UNDEFINED) != (value_moduleName_type)) { - const value_moduleName_value = value_moduleName! - valueSerializer.writeString(value_moduleName_value) - } - } writeStyledString(value: StyledString): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { - let valueSerializer: Serializer = this - const value_onTransitionEnd = value.onTransitionEnd - let value_onTransitionEnd_type: int32 = RuntimeType.UNDEFINED - value_onTransitionEnd_type = runtimeType(value_onTransitionEnd) - valueSerializer.writeInt8(value_onTransitionEnd_type) - if ((RuntimeType.UNDEFINED) != (value_onTransitionEnd_type)) { - const value_onTransitionEnd_value = value_onTransitionEnd! - valueSerializer.holdAndWriteCallback(value_onTransitionEnd_value) - } - const value_timeout = value.timeout - let value_timeout_type: int32 = RuntimeType.UNDEFINED - value_timeout_type = runtimeType(value_timeout) - valueSerializer.writeInt8(value_timeout_type) - if ((RuntimeType.UNDEFINED) != (value_timeout_type)) { - const value_timeout_value = value_timeout! - valueSerializer.writeNumber(value_timeout_value) - } - const value_isInteractive = value.isInteractive - let value_isInteractive_type: int32 = RuntimeType.UNDEFINED - value_isInteractive_type = runtimeType(value_isInteractive) - valueSerializer.writeInt8(value_isInteractive_type) - if ((RuntimeType.UNDEFINED) != (value_isInteractive_type)) { - const value_isInteractive_value = value_isInteractive! - valueSerializer.writeBoolean(value_isInteractive_value) - } - const value_transition = value.transition - valueSerializer.holdAndWriteCallback(value_transition) - } writeLinearIndicatorStyle(value: LinearIndicatorStyle): void { let valueSerializer: Serializer = this const value_space = value.space @@ -3852,6 +3731,102 @@ export class Serializer extends SerializerBase { valueSerializer.writeBackgroundColorStyle(value_styledValue_12) } } + writeRestrictedWorker(value: RestrictedWorker): void { + let valueSerializer: Serializer = this + const value__RestrictedWorkerStub = value._RestrictedWorkerStub + valueSerializer.writeString(value__RestrictedWorkerStub) + } + writeWant(value: Want): void { + let valueSerializer: Serializer = this + const value_bundleName = value.bundleName + let value_bundleName_type: int32 = RuntimeType.UNDEFINED + value_bundleName_type = runtimeType(value_bundleName) + valueSerializer.writeInt8(value_bundleName_type) + if ((RuntimeType.UNDEFINED) != (value_bundleName_type)) { + const value_bundleName_value = value_bundleName! + valueSerializer.writeString(value_bundleName_value) + } + const value_abilityName = value.abilityName + let value_abilityName_type: int32 = RuntimeType.UNDEFINED + value_abilityName_type = runtimeType(value_abilityName) + valueSerializer.writeInt8(value_abilityName_type) + if ((RuntimeType.UNDEFINED) != (value_abilityName_type)) { + const value_abilityName_value = value_abilityName! + valueSerializer.writeString(value_abilityName_value) + } + const value_deviceId = value.deviceId + let value_deviceId_type: int32 = RuntimeType.UNDEFINED + value_deviceId_type = runtimeType(value_deviceId) + valueSerializer.writeInt8(value_deviceId_type) + if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { + const value_deviceId_value = value_deviceId! + valueSerializer.writeString(value_deviceId_value) + } + const value_uri = value.uri + let value_uri_type: int32 = RuntimeType.UNDEFINED + value_uri_type = runtimeType(value_uri) + valueSerializer.writeInt8(value_uri_type) + if ((RuntimeType.UNDEFINED) != (value_uri_type)) { + const value_uri_value = value_uri! + valueSerializer.writeString(value_uri_value) + } + const value_type = value.type + let value_type_type: int32 = RuntimeType.UNDEFINED + value_type_type = runtimeType(value_type) + valueSerializer.writeInt8(value_type_type) + if ((RuntimeType.UNDEFINED) != (value_type_type)) { + const value_type_value = value_type! + valueSerializer.writeString(value_type_value) + } + const value_flags = value.flags + let value_flags_type: int32 = RuntimeType.UNDEFINED + value_flags_type = runtimeType(value_flags) + valueSerializer.writeInt8(value_flags_type) + if ((RuntimeType.UNDEFINED) != (value_flags_type)) { + const value_flags_value = value_flags! + valueSerializer.writeNumber(value_flags_value) + } + const value_action = value.action + let value_action_type: int32 = RuntimeType.UNDEFINED + value_action_type = runtimeType(value_action) + valueSerializer.writeInt8(value_action_type) + if ((RuntimeType.UNDEFINED) != (value_action_type)) { + const value_action_value = value_action! + valueSerializer.writeString(value_action_value) + } + const value_parameters = value.parameters + let value_parameters_type: int32 = RuntimeType.UNDEFINED + value_parameters_type = runtimeType(value_parameters) + valueSerializer.writeInt8(value_parameters_type) + if ((RuntimeType.UNDEFINED) != (value_parameters_type)) { + const value_parameters_value = value_parameters! + valueSerializer.writeInt32(value_parameters_value.size) + for (const [value_parameters_value_key, value_parameters_value_value] of value_parameters_value) { + valueSerializer.writeString(value_parameters_value_key) + valueSerializer.writeCustomObject("Object", value_parameters_value_value) + } + } + const value_entities = value.entities + let value_entities_type: int32 = RuntimeType.UNDEFINED + value_entities_type = runtimeType(value_entities) + valueSerializer.writeInt8(value_entities_type) + if ((RuntimeType.UNDEFINED) != (value_entities_type)) { + const value_entities_value = value_entities! + valueSerializer.writeInt32(value_entities_value.length) + for (let i = 0; i < value_entities_value.length; i++) { + const value_entities_value_element: string = value_entities_value[i] + valueSerializer.writeString(value_entities_value_element) + } + } + const value_moduleName = value.moduleName + let value_moduleName_type: int32 = RuntimeType.UNDEFINED + value_moduleName_type = runtimeType(value_moduleName) + valueSerializer.writeInt8(value_moduleName_type) + if ((RuntimeType.UNDEFINED) != (value_moduleName_type)) { + const value_moduleName_value = value_moduleName! + valueSerializer.writeString(value_moduleName_value) + } + } writeWaterFlowAttribute(value: WaterFlowAttribute): void { } writeWaterFlowSections(value: WaterFlowSections): void { @@ -4184,9 +4159,47 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_menuType_value.valueOf()) } } - writeWebKeyboardController(value: WebKeyboardController): void { + writeNestedScrollOptionsExt(value: NestedScrollOptionsExt): void { let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) + const value_scrollUp = value.scrollUp + let value_scrollUp_type: int32 = RuntimeType.UNDEFINED + value_scrollUp_type = runtimeType(value_scrollUp) + valueSerializer.writeInt8(value_scrollUp_type) + if ((RuntimeType.UNDEFINED) != (value_scrollUp_type)) { + const value_scrollUp_value = value_scrollUp! + valueSerializer.writeInt32(value_scrollUp_value.valueOf()) + } + const value_scrollDown = value.scrollDown + let value_scrollDown_type: int32 = RuntimeType.UNDEFINED + value_scrollDown_type = runtimeType(value_scrollDown) + valueSerializer.writeInt8(value_scrollDown_type) + if ((RuntimeType.UNDEFINED) != (value_scrollDown_type)) { + const value_scrollDown_value = value_scrollDown! + valueSerializer.writeInt32(value_scrollDown_value.valueOf()) + } + const value_scrollRight = value.scrollRight + let value_scrollRight_type: int32 = RuntimeType.UNDEFINED + value_scrollRight_type = runtimeType(value_scrollRight) + valueSerializer.writeInt8(value_scrollRight_type) + if ((RuntimeType.UNDEFINED) != (value_scrollRight_type)) { + const value_scrollRight_value = value_scrollRight! + valueSerializer.writeInt32(value_scrollRight_value.valueOf()) + } + const value_scrollLeft = value.scrollLeft + let value_scrollLeft_type: int32 = RuntimeType.UNDEFINED + value_scrollLeft_type = runtimeType(value_scrollLeft) + valueSerializer.writeInt8(value_scrollLeft_type) + if ((RuntimeType.UNDEFINED) != (value_scrollLeft_type)) { + const value_scrollLeft_value = value_scrollLeft! + valueSerializer.writeInt32(value_scrollLeft_value.valueOf()) + } + } + writeNestedScrollOptions(value: NestedScrollOptions): void { + let valueSerializer: Serializer = this + const value_scrollForward = value.scrollForward + valueSerializer.writeInt32(value_scrollForward.valueOf()) + const value_scrollBackward = value.scrollBackward + valueSerializer.writeInt32(value_scrollBackward.valueOf()) } writeEventResult(value: EventResult): void { let valueSerializer: Serializer = this @@ -4275,48 +4288,6 @@ export class Serializer extends SerializerBase { } } } - writeNestedScrollOptionsExt(value: NestedScrollOptionsExt): void { - let valueSerializer: Serializer = this - const value_scrollUp = value.scrollUp - let value_scrollUp_type: int32 = RuntimeType.UNDEFINED - value_scrollUp_type = runtimeType(value_scrollUp) - valueSerializer.writeInt8(value_scrollUp_type) - if ((RuntimeType.UNDEFINED) != (value_scrollUp_type)) { - const value_scrollUp_value = value_scrollUp! - valueSerializer.writeInt32(value_scrollUp_value.valueOf()) - } - const value_scrollDown = value.scrollDown - let value_scrollDown_type: int32 = RuntimeType.UNDEFINED - value_scrollDown_type = runtimeType(value_scrollDown) - valueSerializer.writeInt8(value_scrollDown_type) - if ((RuntimeType.UNDEFINED) != (value_scrollDown_type)) { - const value_scrollDown_value = value_scrollDown! - valueSerializer.writeInt32(value_scrollDown_value.valueOf()) - } - const value_scrollRight = value.scrollRight - let value_scrollRight_type: int32 = RuntimeType.UNDEFINED - value_scrollRight_type = runtimeType(value_scrollRight) - valueSerializer.writeInt8(value_scrollRight_type) - if ((RuntimeType.UNDEFINED) != (value_scrollRight_type)) { - const value_scrollRight_value = value_scrollRight! - valueSerializer.writeInt32(value_scrollRight_value.valueOf()) - } - const value_scrollLeft = value.scrollLeft - let value_scrollLeft_type: int32 = RuntimeType.UNDEFINED - value_scrollLeft_type = runtimeType(value_scrollLeft) - valueSerializer.writeInt8(value_scrollLeft_type) - if ((RuntimeType.UNDEFINED) != (value_scrollLeft_type)) { - const value_scrollLeft_value = value_scrollLeft! - valueSerializer.writeInt32(value_scrollLeft_value.valueOf()) - } - } - writeNestedScrollOptions(value: NestedScrollOptions): void { - let valueSerializer: Serializer = this - const value_scrollForward = value.scrollForward - valueSerializer.writeInt32(value_scrollForward.valueOf()) - const value_scrollBackward = value.scrollBackward - valueSerializer.writeInt32(value_scrollBackward.valueOf()) - } writeDataResubmissionHandler(value: DataResubmissionHandler): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -4353,10 +4324,6 @@ export class Serializer extends SerializerBase { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFullScreenExitHandler(value: FullScreenExitHandler): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } writeFileSelectorParam(value: FileSelectorParam): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -4394,10 +4361,23 @@ export class Serializer extends SerializerBase { const value_captureMode = value.captureMode valueSerializer.writeInt32(value_captureMode.valueOf()) } + writeFullScreenExitHandler(value: FullScreenExitHandler): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + writeWebKeyboardController(value: WebKeyboardController): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeVideoController(value: VideoController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } + writeCustomTheme(value: CustomTheme): void { + let valueSerializer: Serializer = this + const value__CustomThemeStub = value._CustomThemeStub + valueSerializer.writeString(value__CustomThemeStub) + } writeTimePickerDialogOptions(value: TimePickerDialogOptions): void { let valueSerializer: Serializer = this const value_selected = value.selected @@ -5747,6 +5727,8 @@ export class Serializer extends SerializerBase { writeSymbolGlyphAttribute(value: SymbolGlyphAttribute): void { } writeSymbolEffect(value: SymbolEffect): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) } writeDigitIndicator(value: DigitIndicator): void { let valueSerializer: Serializer = this @@ -7275,6 +7257,35 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_navDestinationId_value) } } + writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { + let valueSerializer: Serializer = this + const value_onTransitionEnd = value.onTransitionEnd + let value_onTransitionEnd_type: int32 = RuntimeType.UNDEFINED + value_onTransitionEnd_type = runtimeType(value_onTransitionEnd) + valueSerializer.writeInt8(value_onTransitionEnd_type) + if ((RuntimeType.UNDEFINED) != (value_onTransitionEnd_type)) { + const value_onTransitionEnd_value = value_onTransitionEnd! + valueSerializer.holdAndWriteCallback(value_onTransitionEnd_value) + } + const value_timeout = value.timeout + let value_timeout_type: int32 = RuntimeType.UNDEFINED + value_timeout_type = runtimeType(value_timeout) + valueSerializer.writeInt8(value_timeout_type) + if ((RuntimeType.UNDEFINED) != (value_timeout_type)) { + const value_timeout_value = value_timeout! + valueSerializer.writeNumber(value_timeout_value) + } + const value_isInteractive = value.isInteractive + let value_isInteractive_type: int32 = RuntimeType.UNDEFINED + value_isInteractive_type = runtimeType(value_isInteractive) + valueSerializer.writeInt8(value_isInteractive_type) + if ((RuntimeType.UNDEFINED) != (value_isInteractive_type)) { + const value_isInteractive_value = value_isInteractive! + valueSerializer.writeBoolean(value_isInteractive_value) + } + const value_transition = value.transition + valueSerializer.holdAndWriteCallback(value_transition) + } writeNavDestinationContext(value: NavDestinationContext): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -7696,8 +7707,7 @@ export class Serializer extends SerializerBase { } writeDrawableDescriptor(value: DrawableDescriptor): void { let valueSerializer: Serializer = this - const value__DrawableDescriptorStub = value._DrawableDescriptorStub - valueSerializer.writeString(value__DrawableDescriptorStub) + valueSerializer.writePointer(toPeerPtr(value)) } writeMatrix2D(value: Matrix2D): void { let valueSerializer: Serializer = this @@ -13847,36 +13857,6 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onFinish_value) } } - writeWithThemeOptions(value: WithThemeOptions): void { - let valueSerializer: Serializer = this - const value_theme = value.theme - let value_theme_type: int32 = RuntimeType.UNDEFINED - value_theme_type = runtimeType(value_theme) - valueSerializer.writeInt8(value_theme_type) - if ((RuntimeType.UNDEFINED) != (value_theme_type)) { - const value_theme_value = value_theme! - valueSerializer.writeCustomTheme(value_theme_value) - } - const value_colorMode = value.colorMode - let value_colorMode_type: int32 = RuntimeType.UNDEFINED - value_colorMode_type = runtimeType(value_colorMode) - valueSerializer.writeInt8(value_colorMode_type) - if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { - const value_colorMode_value = value_colorMode! - valueSerializer.writeInt32(value_colorMode_value.valueOf()) - } - } - writeIsolatedOptions(value: IsolatedOptions): void { - let valueSerializer: Serializer = this - const value_want = value.want - valueSerializer.writeWant(value_want) - const value_worker = value.worker - valueSerializer.writeRestrictedWorker(value_worker) - } - writeWithThemeAttribute(value: WithThemeAttribute): void { - } - writeIsolatedComponentAttribute(value: IsolatedComponentAttribute): void { - } writeLinearIndicatorController(value: LinearIndicatorController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -14179,6 +14159,15 @@ export class Serializer extends SerializerBase { valueSerializer.writeBackgroundColorStyle(value_styledValue_12) } } + writeIsolatedComponentAttribute(value: IsolatedComponentAttribute): void { + } + writeIsolatedOptions(value: IsolatedOptions): void { + let valueSerializer: Serializer = this + const value_want = value.want + valueSerializer.writeWant(value_want) + const value_worker = value.worker + valueSerializer.writeRestrictedWorker(value_worker) + } writeReceiveCallback(value: ReceiveCallback): void { let valueSerializer: Serializer = this const value__ReceiveCallbackStub = value._ReceiveCallbackStub @@ -14331,49 +14320,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeImageAIOptions(value_imageAIOptions_value) } } - writeAdsBlockedDetails(value: AdsBlockedDetails): void { - let valueSerializer: Serializer = this - const value_url = value.url - valueSerializer.writeString(value_url) - const value_adsBlocked = value.adsBlocked - valueSerializer.writeInt32(value_adsBlocked.length) - for (let i = 0; i < value_adsBlocked.length; i++) { - const value_adsBlocked_element: string = value_adsBlocked[i] - valueSerializer.writeString(value_adsBlocked_element) - } - } - writeWebKeyboardOptions(value: WebKeyboardOptions): void { - let valueSerializer: Serializer = this - const value_useSystemKeyboard = value.useSystemKeyboard - valueSerializer.writeBoolean(value_useSystemKeyboard) - const value_enterKeyType = value.enterKeyType - let value_enterKeyType_type: int32 = RuntimeType.UNDEFINED - value_enterKeyType_type = runtimeType(value_enterKeyType) - valueSerializer.writeInt8(value_enterKeyType_type) - if ((RuntimeType.UNDEFINED) != (value_enterKeyType_type)) { - const value_enterKeyType_value = value_enterKeyType! - valueSerializer.writeNumber(value_enterKeyType_value) - } - const value_customKeyboard = value.customKeyboard - let value_customKeyboard_type: int32 = RuntimeType.UNDEFINED - value_customKeyboard_type = runtimeType(value_customKeyboard) - valueSerializer.writeInt8(value_customKeyboard_type) - if ((RuntimeType.UNDEFINED) != (value_customKeyboard_type)) { - const value_customKeyboard_value = value_customKeyboard! - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_customKeyboard_value)) - } - } - writeWebKeyboardCallbackInfo(value: WebKeyboardCallbackInfo): void { - let valueSerializer: Serializer = this - const value_controller = value.controller - valueSerializer.writeWebKeyboardController(value_controller) - const value_attributes = value.attributes - valueSerializer.writeInt32(value_attributes.size) - for (const [value_attributes_key, value_attributes_value] of value_attributes) { - valueSerializer.writeString(value_attributes_key) - valueSerializer.writeString(value_attributes_value) - } - } writeExpandedMenuItemOptions(value: ExpandedMenuItemOptions): void { let valueSerializer: Serializer = this const value_content = value.content @@ -14411,15 +14357,6 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeRenderProcessNotRespondingData(value: RenderProcessNotRespondingData): void { - let valueSerializer: Serializer = this - const value_jsStack = value.jsStack - valueSerializer.writeString(value_jsStack) - const value_pid = value.pid - valueSerializer.writeNumber(value_pid) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } writeNativeMediaPlayerConfig(value: NativeMediaPlayerConfig): void { let valueSerializer: Serializer = this const value_enable = value.enable @@ -14427,39 +14364,108 @@ export class Serializer extends SerializerBase { const value_shouldOverlay = value.shouldOverlay valueSerializer.writeBoolean(value_shouldOverlay) } - writeNativeEmbedTouchInfo(value: NativeEmbedTouchInfo): void { + writeScriptItem(value: ScriptItem): void { let valueSerializer: Serializer = this - const value_embedId = value.embedId - let value_embedId_type: int32 = RuntimeType.UNDEFINED - value_embedId_type = runtimeType(value_embedId) - valueSerializer.writeInt8(value_embedId_type) - if ((RuntimeType.UNDEFINED) != (value_embedId_type)) { - const value_embedId_value = value_embedId! - valueSerializer.writeString(value_embedId_value) - } - const value_touchEvent = value.touchEvent - let value_touchEvent_type: int32 = RuntimeType.UNDEFINED - value_touchEvent_type = runtimeType(value_touchEvent) - valueSerializer.writeInt8(value_touchEvent_type) - if ((RuntimeType.UNDEFINED) != (value_touchEvent_type)) { - const value_touchEvent_value = value_touchEvent! - valueSerializer.writeTouchEvent(value_touchEvent_value) - } - const value_result = value.result - let value_result_type: int32 = RuntimeType.UNDEFINED - value_result_type = runtimeType(value_result) - valueSerializer.writeInt8(value_result_type) - if ((RuntimeType.UNDEFINED) != (value_result_type)) { - const value_result_value = value_result! - valueSerializer.writeEventResult(value_result_value) + const value_script = value.script + valueSerializer.writeString(value_script) + const value_scriptRules = value.scriptRules + valueSerializer.writeInt32(value_scriptRules.length) + for (let i = 0; i < value_scriptRules.length; i++) { + const value_scriptRules_element: string = value_scriptRules[i] + valueSerializer.writeString(value_scriptRules_element) } } - writeNativeEmbedVisibilityInfo(value: NativeEmbedVisibilityInfo): void { + writeWebMediaOptions(value: WebMediaOptions): void { + let valueSerializer: Serializer = this + const value_resumeInterval = value.resumeInterval + let value_resumeInterval_type: int32 = RuntimeType.UNDEFINED + value_resumeInterval_type = runtimeType(value_resumeInterval) + valueSerializer.writeInt8(value_resumeInterval_type) + if ((RuntimeType.UNDEFINED) != (value_resumeInterval_type)) { + const value_resumeInterval_value = value_resumeInterval! + valueSerializer.writeNumber(value_resumeInterval_value) + } + const value_audioExclusive = value.audioExclusive + let value_audioExclusive_type: int32 = RuntimeType.UNDEFINED + value_audioExclusive_type = runtimeType(value_audioExclusive) + valueSerializer.writeInt8(value_audioExclusive_type) + if ((RuntimeType.UNDEFINED) != (value_audioExclusive_type)) { + const value_audioExclusive_value = value_audioExclusive! + valueSerializer.writeBoolean(value_audioExclusive_value) + } + } + writeJavaScriptProxy(value: JavaScriptProxy): void { + let valueSerializer: Serializer = this + const value_object_ = value.object_ + valueSerializer.writeCustomObject("Object", value_object_) + const value_name = value.name + valueSerializer.writeString(value_name) + const value_methodList = value.methodList + valueSerializer.writeInt32(value_methodList.length) + for (let i = 0; i < value_methodList.length; i++) { + const value_methodList_element: string = value_methodList[i] + valueSerializer.writeString(value_methodList_element) + } + const value_controller = value.controller + let value_controller_type: int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebController)) { + valueSerializer.writeInt8(0) + const value_controller_0 = unsafeCast(value_controller) + valueSerializer.writeWebController(value_controller_0) + } + else if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebviewController)) { + valueSerializer.writeInt8(1) + const value_controller_1 = unsafeCast(value_controller) + valueSerializer.writeWebviewController(value_controller_1) + } + const value_asyncMethodList = value.asyncMethodList + let value_asyncMethodList_type: int32 = RuntimeType.UNDEFINED + value_asyncMethodList_type = runtimeType(value_asyncMethodList) + valueSerializer.writeInt8(value_asyncMethodList_type) + if ((RuntimeType.UNDEFINED) != (value_asyncMethodList_type)) { + const value_asyncMethodList_value = value_asyncMethodList! + valueSerializer.writeInt32(value_asyncMethodList_value.length) + for (let i = 0; i < value_asyncMethodList_value.length; i++) { + const value_asyncMethodList_value_element: string = value_asyncMethodList_value[i] + valueSerializer.writeString(value_asyncMethodList_value_element) + } + } + const value_permission = value.permission + let value_permission_type: int32 = RuntimeType.UNDEFINED + value_permission_type = runtimeType(value_permission) + valueSerializer.writeInt8(value_permission_type) + if ((RuntimeType.UNDEFINED) != (value_permission_type)) { + const value_permission_value = value_permission! + valueSerializer.writeString(value_permission_value) + } + } + writeNativeEmbedTouchInfo(value: NativeEmbedTouchInfo): void { let valueSerializer: Serializer = this - const value_visibility = value.visibility - valueSerializer.writeBoolean(value_visibility) const value_embedId = value.embedId - valueSerializer.writeString(value_embedId) + let value_embedId_type: int32 = RuntimeType.UNDEFINED + value_embedId_type = runtimeType(value_embedId) + valueSerializer.writeInt8(value_embedId_type) + if ((RuntimeType.UNDEFINED) != (value_embedId_type)) { + const value_embedId_value = value_embedId! + valueSerializer.writeString(value_embedId_value) + } + const value_touchEvent = value.touchEvent + let value_touchEvent_type: int32 = RuntimeType.UNDEFINED + value_touchEvent_type = runtimeType(value_touchEvent) + valueSerializer.writeInt8(value_touchEvent_type) + if ((RuntimeType.UNDEFINED) != (value_touchEvent_type)) { + const value_touchEvent_value = value_touchEvent! + valueSerializer.writeTouchEvent(value_touchEvent_value) + } + const value_result = value.result + let value_result_type: int32 = RuntimeType.UNDEFINED + value_result_type = runtimeType(value_result) + valueSerializer.writeInt8(value_result_type) + if ((RuntimeType.UNDEFINED) != (value_result_type)) { + const value_result_value = value_result! + valueSerializer.writeEventResult(value_result_value) + } } writeNativeEmbedDataInfo(value: NativeEmbedDataInfo): void { let valueSerializer: Serializer = this @@ -14496,37 +14502,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeNativeEmbedInfo(value_info_value) } } - writeScriptItem(value: ScriptItem): void { - let valueSerializer: Serializer = this - const value_script = value.script - valueSerializer.writeString(value_script) - const value_scriptRules = value.scriptRules - valueSerializer.writeInt32(value_scriptRules.length) - for (let i = 0; i < value_scriptRules.length; i++) { - const value_scriptRules_element: string = value_scriptRules[i] - valueSerializer.writeString(value_scriptRules_element) - } - } - writeIntelligentTrackingPreventionDetails(value: IntelligentTrackingPreventionDetails): void { - let valueSerializer: Serializer = this - const value_host = value.host - valueSerializer.writeString(value_host) - const value_trackerHost = value.trackerHost - valueSerializer.writeString(value_trackerHost) - } - writeLoadCommittedDetails(value: LoadCommittedDetails): void { - let valueSerializer: Serializer = this - const value_isMainFrame = value.isMainFrame - valueSerializer.writeBoolean(value_isMainFrame) - const value_isSameDocument = value.isSameDocument - valueSerializer.writeBoolean(value_isSameDocument) - const value_didReplaceEntry = value.didReplaceEntry - valueSerializer.writeBoolean(value_didReplaceEntry) - const value_navigationType = value.navigationType - valueSerializer.writeInt32(value_navigationType.valueOf()) - const value_url = value.url - valueSerializer.writeString(value_url) - } writeOnOverScrollEvent(value: OnOverScrollEvent): void { let valueSerializer: Serializer = this const value_xOffset = value.xOffset @@ -14539,76 +14514,6 @@ export class Serializer extends SerializerBase { const value_data = value.data valueSerializer.writeWebResourceRequest(value_data) } - writeLargestContentfulPaint(value: LargestContentfulPaint): void { - let valueSerializer: Serializer = this - const value_navigationStartTime = value.navigationStartTime - let value_navigationStartTime_type: int32 = RuntimeType.UNDEFINED - value_navigationStartTime_type = runtimeType(value_navigationStartTime) - valueSerializer.writeInt8(value_navigationStartTime_type) - if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { - const value_navigationStartTime_value = value_navigationStartTime! - valueSerializer.writeNumber(value_navigationStartTime_value) - } - const value_largestImagePaintTime = value.largestImagePaintTime - let value_largestImagePaintTime_type: int32 = RuntimeType.UNDEFINED - value_largestImagePaintTime_type = runtimeType(value_largestImagePaintTime) - valueSerializer.writeInt8(value_largestImagePaintTime_type) - if ((RuntimeType.UNDEFINED) != (value_largestImagePaintTime_type)) { - const value_largestImagePaintTime_value = value_largestImagePaintTime! - valueSerializer.writeNumber(value_largestImagePaintTime_value) - } - const value_largestTextPaintTime = value.largestTextPaintTime - let value_largestTextPaintTime_type: int32 = RuntimeType.UNDEFINED - value_largestTextPaintTime_type = runtimeType(value_largestTextPaintTime) - valueSerializer.writeInt8(value_largestTextPaintTime_type) - if ((RuntimeType.UNDEFINED) != (value_largestTextPaintTime_type)) { - const value_largestTextPaintTime_value = value_largestTextPaintTime! - valueSerializer.writeNumber(value_largestTextPaintTime_value) - } - const value_imageBPP = value.imageBPP - let value_imageBPP_type: int32 = RuntimeType.UNDEFINED - value_imageBPP_type = runtimeType(value_imageBPP) - valueSerializer.writeInt8(value_imageBPP_type) - if ((RuntimeType.UNDEFINED) != (value_imageBPP_type)) { - const value_imageBPP_value = value_imageBPP! - valueSerializer.writeNumber(value_imageBPP_value) - } - const value_largestImageLoadStartTime = value.largestImageLoadStartTime - let value_largestImageLoadStartTime_type: int32 = RuntimeType.UNDEFINED - value_largestImageLoadStartTime_type = runtimeType(value_largestImageLoadStartTime) - valueSerializer.writeInt8(value_largestImageLoadStartTime_type) - if ((RuntimeType.UNDEFINED) != (value_largestImageLoadStartTime_type)) { - const value_largestImageLoadStartTime_value = value_largestImageLoadStartTime! - valueSerializer.writeNumber(value_largestImageLoadStartTime_value) - } - const value_largestImageLoadEndTime = value.largestImageLoadEndTime - let value_largestImageLoadEndTime_type: int32 = RuntimeType.UNDEFINED - value_largestImageLoadEndTime_type = runtimeType(value_largestImageLoadEndTime) - valueSerializer.writeInt8(value_largestImageLoadEndTime_type) - if ((RuntimeType.UNDEFINED) != (value_largestImageLoadEndTime_type)) { - const value_largestImageLoadEndTime_value = value_largestImageLoadEndTime! - valueSerializer.writeNumber(value_largestImageLoadEndTime_value) - } - } - writeFirstMeaningfulPaint(value: FirstMeaningfulPaint): void { - let valueSerializer: Serializer = this - const value_navigationStartTime = value.navigationStartTime - let value_navigationStartTime_type: int32 = RuntimeType.UNDEFINED - value_navigationStartTime_type = runtimeType(value_navigationStartTime) - valueSerializer.writeInt8(value_navigationStartTime_type) - if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { - const value_navigationStartTime_value = value_navigationStartTime! - valueSerializer.writeNumber(value_navigationStartTime_value) - } - const value_firstMeaningfulPaintTime = value.firstMeaningfulPaintTime - let value_firstMeaningfulPaintTime_type: int32 = RuntimeType.UNDEFINED - value_firstMeaningfulPaintTime_type = runtimeType(value_firstMeaningfulPaintTime) - valueSerializer.writeInt8(value_firstMeaningfulPaintTime_type) - if ((RuntimeType.UNDEFINED) != (value_firstMeaningfulPaintTime_type)) { - const value_firstMeaningfulPaintTime_value = value_firstMeaningfulPaintTime! - valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value) - } - } writeOnFirstContentfulPaintEvent(value: OnFirstContentfulPaintEvent): void { let valueSerializer: Serializer = this const value_navigationStartTick = value.navigationStartTick @@ -14675,23 +14580,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_issuers_element) } } - writeSslErrorEvent(value: SslErrorEvent): void { - let valueSerializer: Serializer = this - const value_handler = value.handler - valueSerializer.writeSslErrorHandler(value_handler) - const value_error = value.error - valueSerializer.writeInt32(value_error.valueOf()) - const value_url = value.url - valueSerializer.writeString(value_url) - const value_originalUrl = value.originalUrl - valueSerializer.writeString(value_originalUrl) - const value_referrer = value.referrer - valueSerializer.writeString(value_referrer) - const value_isFatalError = value.isFatalError - valueSerializer.writeBoolean(value_isFatalError) - const value_isMainFrame = value.isMainFrame - valueSerializer.writeBoolean(value_isMainFrame) - } writeOnSslErrorEventReceiveEvent(value: OnSslErrorEventReceiveEvent): void { let valueSerializer: Serializer = this const value_handler = value.handler @@ -14765,27 +14653,6 @@ export class Serializer extends SerializerBase { const value_newScale = value.newScale valueSerializer.writeNumber(value_newScale) } - writeFullScreenEnterEvent(value: FullScreenEnterEvent): void { - let valueSerializer: Serializer = this - const value_handler = value.handler - valueSerializer.writeFullScreenExitHandler(value_handler) - const value_videoWidth = value.videoWidth - let value_videoWidth_type: int32 = RuntimeType.UNDEFINED - value_videoWidth_type = runtimeType(value_videoWidth) - valueSerializer.writeInt8(value_videoWidth_type) - if ((RuntimeType.UNDEFINED) != (value_videoWidth_type)) { - const value_videoWidth_value = value_videoWidth! - valueSerializer.writeNumber(value_videoWidth_value) - } - const value_videoHeight = value.videoHeight - let value_videoHeight_type: int32 = RuntimeType.UNDEFINED - value_videoHeight_type = runtimeType(value_videoHeight) - valueSerializer.writeInt8(value_videoHeight_type) - if ((RuntimeType.UNDEFINED) != (value_videoHeight_type)) { - const value_videoHeight_value = value_videoHeight! - valueSerializer.writeNumber(value_videoHeight_value) - } - } writeOnResourceLoadEvent(value: OnResourceLoadEvent): void { let valueSerializer: Serializer = this const value_url = value.url @@ -14907,71 +14774,6 @@ export class Serializer extends SerializerBase { const value_url = value.url valueSerializer.writeString(value_url) } - writeWebMediaOptions(value: WebMediaOptions): void { - let valueSerializer: Serializer = this - const value_resumeInterval = value.resumeInterval - let value_resumeInterval_type: int32 = RuntimeType.UNDEFINED - value_resumeInterval_type = runtimeType(value_resumeInterval) - valueSerializer.writeInt8(value_resumeInterval_type) - if ((RuntimeType.UNDEFINED) != (value_resumeInterval_type)) { - const value_resumeInterval_value = value_resumeInterval! - valueSerializer.writeNumber(value_resumeInterval_value) - } - const value_audioExclusive = value.audioExclusive - let value_audioExclusive_type: int32 = RuntimeType.UNDEFINED - value_audioExclusive_type = runtimeType(value_audioExclusive) - valueSerializer.writeInt8(value_audioExclusive_type) - if ((RuntimeType.UNDEFINED) != (value_audioExclusive_type)) { - const value_audioExclusive_value = value_audioExclusive! - valueSerializer.writeBoolean(value_audioExclusive_value) - } - } - writeJavaScriptProxy(value: JavaScriptProxy): void { - let valueSerializer: Serializer = this - const value_object_ = value.object_ - valueSerializer.writeCustomObject("Object", value_object_) - const value_name = value.name - valueSerializer.writeString(value_name) - const value_methodList = value.methodList - valueSerializer.writeInt32(value_methodList.length) - for (let i = 0; i < value_methodList.length; i++) { - const value_methodList_element: string = value_methodList[i] - valueSerializer.writeString(value_methodList_element) - } - const value_controller = value.controller - let value_controller_type: int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebController)) { - valueSerializer.writeInt8(0) - const value_controller_0 = unsafeCast(value_controller) - valueSerializer.writeWebController(value_controller_0) - } - else if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebviewController)) { - valueSerializer.writeInt8(1) - const value_controller_1 = unsafeCast(value_controller) - valueSerializer.writeWebviewController(value_controller_1) - } - const value_asyncMethodList = value.asyncMethodList - let value_asyncMethodList_type: int32 = RuntimeType.UNDEFINED - value_asyncMethodList_type = runtimeType(value_asyncMethodList) - valueSerializer.writeInt8(value_asyncMethodList_type) - if ((RuntimeType.UNDEFINED) != (value_asyncMethodList_type)) { - const value_asyncMethodList_value = value_asyncMethodList! - valueSerializer.writeInt32(value_asyncMethodList_value.length) - for (let i = 0; i < value_asyncMethodList_value.length; i++) { - const value_asyncMethodList_value_element: string = value_asyncMethodList_value[i] - valueSerializer.writeString(value_asyncMethodList_value_element) - } - } - const value_permission = value.permission - let value_permission_type: int32 = RuntimeType.UNDEFINED - value_permission_type = runtimeType(value_permission) - valueSerializer.writeInt8(value_permission_type) - if ((RuntimeType.UNDEFINED) != (value_permission_type)) { - const value_permission_value = value_permission! - valueSerializer.writeString(value_permission_value) - } - } writeWebOptions(value: WebOptions): void { let valueSerializer: Serializer = this const value_src = value.src @@ -15016,21 +14818,208 @@ export class Serializer extends SerializerBase { const value_incognitoMode_value = value_incognitoMode! valueSerializer.writeBoolean(value_incognitoMode_value) } - const value_sharedRenderProcessToken = value.sharedRenderProcessToken - let value_sharedRenderProcessToken_type: int32 = RuntimeType.UNDEFINED - value_sharedRenderProcessToken_type = runtimeType(value_sharedRenderProcessToken) - valueSerializer.writeInt8(value_sharedRenderProcessToken_type) - if ((RuntimeType.UNDEFINED) != (value_sharedRenderProcessToken_type)) { - const value_sharedRenderProcessToken_value = value_sharedRenderProcessToken! - valueSerializer.writeString(value_sharedRenderProcessToken_value) + const value_sharedRenderProcessToken = value.sharedRenderProcessToken + let value_sharedRenderProcessToken_type: int32 = RuntimeType.UNDEFINED + value_sharedRenderProcessToken_type = runtimeType(value_sharedRenderProcessToken) + valueSerializer.writeInt8(value_sharedRenderProcessToken_type) + if ((RuntimeType.UNDEFINED) != (value_sharedRenderProcessToken_type)) { + const value_sharedRenderProcessToken_value = value_sharedRenderProcessToken! + valueSerializer.writeString(value_sharedRenderProcessToken_value) + } + } + writeHeader(value: Header): void { + let valueSerializer: Serializer = this + const value_headerKey = value.headerKey + valueSerializer.writeString(value_headerKey) + const value_headerValue = value.headerValue + valueSerializer.writeString(value_headerValue) + } + writeFullScreenEnterEvent(value: FullScreenEnterEvent): void { + let valueSerializer: Serializer = this + const value_handler = value.handler + valueSerializer.writeFullScreenExitHandler(value_handler) + const value_videoWidth = value.videoWidth + let value_videoWidth_type: int32 = RuntimeType.UNDEFINED + value_videoWidth_type = runtimeType(value_videoWidth) + valueSerializer.writeInt8(value_videoWidth_type) + if ((RuntimeType.UNDEFINED) != (value_videoWidth_type)) { + const value_videoWidth_value = value_videoWidth! + valueSerializer.writeNumber(value_videoWidth_value) + } + const value_videoHeight = value.videoHeight + let value_videoHeight_type: int32 = RuntimeType.UNDEFINED + value_videoHeight_type = runtimeType(value_videoHeight) + valueSerializer.writeInt8(value_videoHeight_type) + if ((RuntimeType.UNDEFINED) != (value_videoHeight_type)) { + const value_videoHeight_value = value_videoHeight! + valueSerializer.writeNumber(value_videoHeight_value) + } + } + writeWebKeyboardOptions(value: WebKeyboardOptions): void { + let valueSerializer: Serializer = this + const value_useSystemKeyboard = value.useSystemKeyboard + valueSerializer.writeBoolean(value_useSystemKeyboard) + const value_enterKeyType = value.enterKeyType + let value_enterKeyType_type: int32 = RuntimeType.UNDEFINED + value_enterKeyType_type = runtimeType(value_enterKeyType) + valueSerializer.writeInt8(value_enterKeyType_type) + if ((RuntimeType.UNDEFINED) != (value_enterKeyType_type)) { + const value_enterKeyType_value = value_enterKeyType! + valueSerializer.writeNumber(value_enterKeyType_value) + } + const value_customKeyboard = value.customKeyboard + let value_customKeyboard_type: int32 = RuntimeType.UNDEFINED + value_customKeyboard_type = runtimeType(value_customKeyboard) + valueSerializer.writeInt8(value_customKeyboard_type) + if ((RuntimeType.UNDEFINED) != (value_customKeyboard_type)) { + const value_customKeyboard_value = value_customKeyboard! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_customKeyboard_value)) + } + } + writeWebKeyboardCallbackInfo(value: WebKeyboardCallbackInfo): void { + let valueSerializer: Serializer = this + const value_controller = value.controller + valueSerializer.writeWebKeyboardController(value_controller) + const value_attributes = value.attributes + valueSerializer.writeInt32(value_attributes.size) + for (const [value_attributes_key, value_attributes_value] of value_attributes) { + valueSerializer.writeString(value_attributes_key) + valueSerializer.writeString(value_attributes_value) + } + } + writeAdsBlockedDetails(value: AdsBlockedDetails): void { + let valueSerializer: Serializer = this + const value_url = value.url + valueSerializer.writeString(value_url) + const value_adsBlocked = value.adsBlocked + valueSerializer.writeInt32(value_adsBlocked.length) + for (let i = 0; i < value_adsBlocked.length; i++) { + const value_adsBlocked_element: string = value_adsBlocked[i] + valueSerializer.writeString(value_adsBlocked_element) + } + } + writeRenderProcessNotRespondingData(value: RenderProcessNotRespondingData): void { + let valueSerializer: Serializer = this + const value_jsStack = value.jsStack + valueSerializer.writeString(value_jsStack) + const value_pid = value.pid + valueSerializer.writeNumber(value_pid) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } + writeNativeEmbedVisibilityInfo(value: NativeEmbedVisibilityInfo): void { + let valueSerializer: Serializer = this + const value_visibility = value.visibility + valueSerializer.writeBoolean(value_visibility) + const value_embedId = value.embedId + valueSerializer.writeString(value_embedId) + } + writeIntelligentTrackingPreventionDetails(value: IntelligentTrackingPreventionDetails): void { + let valueSerializer: Serializer = this + const value_host = value.host + valueSerializer.writeString(value_host) + const value_trackerHost = value.trackerHost + valueSerializer.writeString(value_trackerHost) + } + writeFirstMeaningfulPaint(value: FirstMeaningfulPaint): void { + let valueSerializer: Serializer = this + const value_navigationStartTime = value.navigationStartTime + let value_navigationStartTime_type: int32 = RuntimeType.UNDEFINED + value_navigationStartTime_type = runtimeType(value_navigationStartTime) + valueSerializer.writeInt8(value_navigationStartTime_type) + if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { + const value_navigationStartTime_value = value_navigationStartTime! + valueSerializer.writeNumber(value_navigationStartTime_value) + } + const value_firstMeaningfulPaintTime = value.firstMeaningfulPaintTime + let value_firstMeaningfulPaintTime_type: int32 = RuntimeType.UNDEFINED + value_firstMeaningfulPaintTime_type = runtimeType(value_firstMeaningfulPaintTime) + valueSerializer.writeInt8(value_firstMeaningfulPaintTime_type) + if ((RuntimeType.UNDEFINED) != (value_firstMeaningfulPaintTime_type)) { + const value_firstMeaningfulPaintTime_value = value_firstMeaningfulPaintTime! + valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value) + } + } + writeLargestContentfulPaint(value: LargestContentfulPaint): void { + let valueSerializer: Serializer = this + const value_navigationStartTime = value.navigationStartTime + let value_navigationStartTime_type: int32 = RuntimeType.UNDEFINED + value_navigationStartTime_type = runtimeType(value_navigationStartTime) + valueSerializer.writeInt8(value_navigationStartTime_type) + if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { + const value_navigationStartTime_value = value_navigationStartTime! + valueSerializer.writeNumber(value_navigationStartTime_value) + } + const value_largestImagePaintTime = value.largestImagePaintTime + let value_largestImagePaintTime_type: int32 = RuntimeType.UNDEFINED + value_largestImagePaintTime_type = runtimeType(value_largestImagePaintTime) + valueSerializer.writeInt8(value_largestImagePaintTime_type) + if ((RuntimeType.UNDEFINED) != (value_largestImagePaintTime_type)) { + const value_largestImagePaintTime_value = value_largestImagePaintTime! + valueSerializer.writeNumber(value_largestImagePaintTime_value) + } + const value_largestTextPaintTime = value.largestTextPaintTime + let value_largestTextPaintTime_type: int32 = RuntimeType.UNDEFINED + value_largestTextPaintTime_type = runtimeType(value_largestTextPaintTime) + valueSerializer.writeInt8(value_largestTextPaintTime_type) + if ((RuntimeType.UNDEFINED) != (value_largestTextPaintTime_type)) { + const value_largestTextPaintTime_value = value_largestTextPaintTime! + valueSerializer.writeNumber(value_largestTextPaintTime_value) + } + const value_imageBPP = value.imageBPP + let value_imageBPP_type: int32 = RuntimeType.UNDEFINED + value_imageBPP_type = runtimeType(value_imageBPP) + valueSerializer.writeInt8(value_imageBPP_type) + if ((RuntimeType.UNDEFINED) != (value_imageBPP_type)) { + const value_imageBPP_value = value_imageBPP! + valueSerializer.writeNumber(value_imageBPP_value) + } + const value_largestImageLoadStartTime = value.largestImageLoadStartTime + let value_largestImageLoadStartTime_type: int32 = RuntimeType.UNDEFINED + value_largestImageLoadStartTime_type = runtimeType(value_largestImageLoadStartTime) + valueSerializer.writeInt8(value_largestImageLoadStartTime_type) + if ((RuntimeType.UNDEFINED) != (value_largestImageLoadStartTime_type)) { + const value_largestImageLoadStartTime_value = value_largestImageLoadStartTime! + valueSerializer.writeNumber(value_largestImageLoadStartTime_value) + } + const value_largestImageLoadEndTime = value.largestImageLoadEndTime + let value_largestImageLoadEndTime_type: int32 = RuntimeType.UNDEFINED + value_largestImageLoadEndTime_type = runtimeType(value_largestImageLoadEndTime) + valueSerializer.writeInt8(value_largestImageLoadEndTime_type) + if ((RuntimeType.UNDEFINED) != (value_largestImageLoadEndTime_type)) { + const value_largestImageLoadEndTime_value = value_largestImageLoadEndTime! + valueSerializer.writeNumber(value_largestImageLoadEndTime_value) } } - writeHeader(value: Header): void { + writeSslErrorEvent(value: SslErrorEvent): void { let valueSerializer: Serializer = this - const value_headerKey = value.headerKey - valueSerializer.writeString(value_headerKey) - const value_headerValue = value.headerValue - valueSerializer.writeString(value_headerValue) + const value_handler = value.handler + valueSerializer.writeSslErrorHandler(value_handler) + const value_error = value.error + valueSerializer.writeInt32(value_error.valueOf()) + const value_url = value.url + valueSerializer.writeString(value_url) + const value_originalUrl = value.originalUrl + valueSerializer.writeString(value_originalUrl) + const value_referrer = value.referrer + valueSerializer.writeString(value_referrer) + const value_isFatalError = value.isFatalError + valueSerializer.writeBoolean(value_isFatalError) + const value_isMainFrame = value.isMainFrame + valueSerializer.writeBoolean(value_isMainFrame) + } + writeLoadCommittedDetails(value: LoadCommittedDetails): void { + let valueSerializer: Serializer = this + const value_isMainFrame = value.isMainFrame + valueSerializer.writeBoolean(value_isMainFrame) + const value_isSameDocument = value.isSameDocument + valueSerializer.writeBoolean(value_isSameDocument) + const value_didReplaceEntry = value.didReplaceEntry + valueSerializer.writeBoolean(value_didReplaceEntry) + const value_navigationType = value.navigationType + valueSerializer.writeInt32(value_navigationType.valueOf()) + const value_url = value.url + valueSerializer.writeString(value_url) } writePlaybackInfo(value: PlaybackInfo): void { let valueSerializer: Serializer = this @@ -15133,6 +15122,27 @@ export class Serializer extends SerializerBase { valueSerializer.writeImageAIOptions(value_imageAIOptions_value) } } + writeWithThemeAttribute(value: WithThemeAttribute): void { + } + writeWithThemeOptions(value: WithThemeOptions): void { + let valueSerializer: Serializer = this + const value_theme = value.theme + let value_theme_type: int32 = RuntimeType.UNDEFINED + value_theme_type = runtimeType(value_theme) + valueSerializer.writeInt8(value_theme_type) + if ((RuntimeType.UNDEFINED) != (value_theme_type)) { + const value_theme_value = value_theme! + valueSerializer.writeCustomTheme(value_theme_value) + } + const value_colorMode = value.colorMode + let value_colorMode_type: int32 = RuntimeType.UNDEFINED + value_colorMode_type = runtimeType(value_colorMode) + valueSerializer.writeInt8(value_colorMode_type) + if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { + const value_colorMode_value = value_colorMode! + valueSerializer.writeInt32(value_colorMode_value.valueOf()) + } + } writeSwitchStyle(value: SwitchStyle): void { let valueSerializer: Serializer = this const value_pointRadius = value.pointRadius @@ -15682,10 +15692,6 @@ export class Serializer extends SerializerBase { const value_controller = value.controller valueSerializer.writeTextController(value_controller) } - writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } writeBarGridColumnOptions(value: BarGridColumnOptions): void { let valueSerializer: Serializer = this const value_sm = value.sm @@ -15729,6 +15735,10 @@ export class Serializer extends SerializerBase { valueSerializer.writeLength(value_gutter_value) } } + writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeTabsAnimationEvent(value: TabsAnimationEvent): void { let valueSerializer: Serializer = this const value_currentOffset = value.currentOffset @@ -15765,6 +15775,10 @@ export class Serializer extends SerializerBase { valueSerializer.writeTabsController(value_controller_value) } } + writePulseSymbolEffect(value: PulseSymbolEffect): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeBounceSymbolEffect(value: BounceSymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -15798,6 +15812,10 @@ export class Serializer extends SerializerBase { const value_transition = value.transition valueSerializer.holdAndWriteCallback(value_transition) } + writeIndicatorComponentController(value: IndicatorComponentController): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeSwiperAnimationEvent(value: SwiperAnimationEvent): void { let valueSerializer: Serializer = this const value_currentOffset = value.currentOffset @@ -15807,10 +15825,6 @@ export class Serializer extends SerializerBase { const value_velocity = value.velocity valueSerializer.writeNumber(value_velocity) } - writeIndicatorComponentController(value: IndicatorComponentController): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } writeSwiperController(value: SwiperController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -16058,22 +16072,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) } } - writeDeleteValue(value: DeleteValue): void { - let valueSerializer: Serializer = this - const value_deleteOffset = value.deleteOffset - valueSerializer.writeNumber(value_deleteOffset) - const value_direction = value.direction - valueSerializer.writeInt32(value_direction.valueOf()) - const value_deleteValue = value.deleteValue - valueSerializer.writeString(value_deleteValue) - } - writeInsertValue(value: InsertValue): void { - let valueSerializer: Serializer = this - const value_insertOffset = value.insertOffset - valueSerializer.writeNumber(value_insertOffset) - const value_insertValue = value.insertValue - valueSerializer.writeString(value_insertValue) - } writeTextDecorationOptions(value: TextDecorationOptions): void { let valueSerializer: Serializer = this const value_type = value.type @@ -16156,6 +16154,22 @@ export class Serializer extends SerializerBase { } } } + writeDeleteValue(value: DeleteValue): void { + let valueSerializer: Serializer = this + const value_deleteOffset = value.deleteOffset + valueSerializer.writeNumber(value_deleteOffset) + const value_direction = value.direction + valueSerializer.writeInt32(value_direction.valueOf()) + const value_deleteValue = value.deleteValue + valueSerializer.writeString(value_deleteValue) + } + writeInsertValue(value: InsertValue): void { + let valueSerializer: Serializer = this + const value_insertOffset = value.insertOffset + valueSerializer.writeNumber(value_insertOffset) + const value_insertValue = value.insertValue + valueSerializer.writeString(value_insertValue) + } writeSearchOptions(value: SearchOptions): void { let valueSerializer: Serializer = this const value_value = value.value @@ -16356,51 +16370,6 @@ export class Serializer extends SerializerBase { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCopyEvent(value: CopyEvent): void { - let valueSerializer: Serializer = this - const value_preventDefault = value.preventDefault - let value_preventDefault_type: int32 = RuntimeType.UNDEFINED - value_preventDefault_type = runtimeType(value_preventDefault) - valueSerializer.writeInt8(value_preventDefault_type) - if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { - const value_preventDefault_value = value_preventDefault! - valueSerializer.holdAndWriteCallback(value_preventDefault_value) - } - } - writeCutEvent(value: CutEvent): void { - let valueSerializer: Serializer = this - const value_preventDefault = value.preventDefault - let value_preventDefault_type: int32 = RuntimeType.UNDEFINED - value_preventDefault_type = runtimeType(value_preventDefault) - valueSerializer.writeInt8(value_preventDefault_type) - if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { - const value_preventDefault_value = value_preventDefault! - valueSerializer.holdAndWriteCallback(value_preventDefault_value) - } - } - writeRichEditorChangeValue(value: RichEditorChangeValue): void { - let valueSerializer: Serializer = this - const value_rangeBefore = value.rangeBefore - valueSerializer.writeTextRange(value_rangeBefore) - const value_replacedSpans = value.replacedSpans - valueSerializer.writeInt32(value_replacedSpans.length) - for (let i = 0; i < value_replacedSpans.length; i++) { - const value_replacedSpans_element: RichEditorTextSpanResult = value_replacedSpans[i] - valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element) - } - const value_replacedImageSpans = value.replacedImageSpans - valueSerializer.writeInt32(value_replacedImageSpans.length) - for (let i = 0; i < value_replacedImageSpans.length; i++) { - const value_replacedImageSpans_element: RichEditorImageSpanResult = value_replacedImageSpans[i] - valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element) - } - const value_replacedSymbolSpans = value.replacedSymbolSpans - valueSerializer.writeInt32(value_replacedSymbolSpans.length) - for (let i = 0; i < value_replacedSymbolSpans.length; i++) { - const value_replacedSymbolSpans_element: RichEditorTextSpanResult = value_replacedSymbolSpans[i] - valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element) - } - } writeSubmitEvent(value: SubmitEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -16470,6 +16439,51 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_preventDefault_value) } } + writeCopyEvent(value: CopyEvent): void { + let valueSerializer: Serializer = this + const value_preventDefault = value.preventDefault + let value_preventDefault_type: int32 = RuntimeType.UNDEFINED + value_preventDefault_type = runtimeType(value_preventDefault) + valueSerializer.writeInt8(value_preventDefault_type) + if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { + const value_preventDefault_value = value_preventDefault! + valueSerializer.holdAndWriteCallback(value_preventDefault_value) + } + } + writeCutEvent(value: CutEvent): void { + let valueSerializer: Serializer = this + const value_preventDefault = value.preventDefault + let value_preventDefault_type: int32 = RuntimeType.UNDEFINED + value_preventDefault_type = runtimeType(value_preventDefault) + valueSerializer.writeInt8(value_preventDefault_type) + if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { + const value_preventDefault_value = value_preventDefault! + valueSerializer.holdAndWriteCallback(value_preventDefault_value) + } + } + writeRichEditorChangeValue(value: RichEditorChangeValue): void { + let valueSerializer: Serializer = this + const value_rangeBefore = value.rangeBefore + valueSerializer.writeTextRange(value_rangeBefore) + const value_replacedSpans = value.replacedSpans + valueSerializer.writeInt32(value_replacedSpans.length) + for (let i = 0; i < value_replacedSpans.length; i++) { + const value_replacedSpans_element: RichEditorTextSpanResult = value_replacedSpans[i] + valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element) + } + const value_replacedImageSpans = value.replacedImageSpans + valueSerializer.writeInt32(value_replacedImageSpans.length) + for (let i = 0; i < value_replacedImageSpans.length; i++) { + const value_replacedImageSpans_element: RichEditorImageSpanResult = value_replacedImageSpans[i] + valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element) + } + const value_replacedSymbolSpans = value.replacedSymbolSpans + valueSerializer.writeInt32(value_replacedSymbolSpans.length) + for (let i = 0; i < value_replacedSymbolSpans.length; i++) { + const value_replacedSymbolSpans_element: RichEditorTextSpanResult = value_replacedSymbolSpans[i] + valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element) + } + } writeRichEditorDeleteValue(value: RichEditorDeleteValue): void { let valueSerializer: Serializer = this const value_offset = value.offset @@ -16912,13 +16926,6 @@ export class Serializer extends SerializerBase { } } } - writePluginErrorData(value: PluginErrorData): void { - let valueSerializer: Serializer = this - const value_errcode = value.errcode - valueSerializer.writeNumber(value_errcode) - const value_msg = value.msg - valueSerializer.writeString(value_msg) - } writePluginComponentOptions(value: PluginComponentOptions): void { let valueSerializer: Serializer = this const value_template = value.template @@ -16926,6 +16933,13 @@ export class Serializer extends SerializerBase { const value_data = value.data valueSerializer.writeString(value_data) } + writePluginErrorData(value: PluginErrorData): void { + let valueSerializer: Serializer = this + const value_errcode = value.errcode + valueSerializer.writeNumber(value_errcode) + const value_msg = value.msg + valueSerializer.writeString(value_msg) + } writePatternLockController(value: PatternLockController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -18311,34 +18325,17 @@ export class Serializer extends SerializerBase { value_alignContent_type = runtimeType(value_alignContent) valueSerializer.writeInt8(value_alignContent_type) if ((RuntimeType.UNDEFINED) != (value_alignContent_type)) { - const value_alignContent_value = value_alignContent! - valueSerializer.writeInt32(value_alignContent_value.valueOf()) - } - const value_space = value.space - let value_space_type: int32 = RuntimeType.UNDEFINED - value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type) - if ((RuntimeType.UNDEFINED) != (value_space_type)) { - const value_space_value = value_space! - valueSerializer.writeFlexSpaceOptions(value_space_value) - } - } - writeBusinessError(value: BusinessError): void { - let valueSerializer: Serializer = this - const value_name = value.name - valueSerializer.writeString(value_name) - const value_message = value.message - valueSerializer.writeString(value_message) - const value_stack = value.stack - let value_stack_type: int32 = RuntimeType.UNDEFINED - value_stack_type = runtimeType(value_stack) - valueSerializer.writeInt8(value_stack_type) - if ((RuntimeType.UNDEFINED) != (value_stack_type)) { - const value_stack_value = value_stack! - valueSerializer.writeString(value_stack_value) + const value_alignContent_value = value_alignContent! + valueSerializer.writeInt32(value_alignContent_value.valueOf()) + } + const value_space = value.space + let value_space_type: int32 = RuntimeType.UNDEFINED + value_space_type = runtimeType(value_space) + valueSerializer.writeInt8(value_space_type) + if ((RuntimeType.UNDEFINED) != (value_space_type)) { + const value_space_value = value_space! + valueSerializer.writeFlexSpaceOptions(value_space_value) } - const value_code = value.code - valueSerializer.writeNumber(value_code) } writeTerminationInfo(value: TerminationInfo): void { let valueSerializer: Serializer = this @@ -19204,30 +19201,6 @@ export class Serializer extends SerializerBase { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSpringBackAction(value: SpringBackAction): void { - let valueSerializer: Serializer = this - const value_springBack = value.springBack - valueSerializer.holdAndWriteCallback(value_springBack) - } - writeDismissSheetAction(value: DismissSheetAction): void { - let valueSerializer: Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } - writeSheetDismiss(value: SheetDismiss): void { - let valueSerializer: Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - } - writeDismissContentCoverAction(value: DismissContentCoverAction): void { - let valueSerializer: Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } writeMenuElement(value: MenuElement): void { let valueSerializer: Serializer = this const value_value = value.value @@ -19281,53 +19254,6 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeDismissPopupAction(value: DismissPopupAction): void { - let valueSerializer: Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } - writeGestureRecognizer(value: GestureRecognizer): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeFingerInfo(value: FingerInfo): void { - let valueSerializer: Serializer = this - const value_id = value.id - valueSerializer.writeNumber(value_id) - const value_globalX = value.globalX - valueSerializer.writeNumber(value_globalX) - const value_globalY = value.globalY - valueSerializer.writeNumber(value_globalY) - const value_localX = value.localX - valueSerializer.writeNumber(value_localX) - const value_localY = value.localY - valueSerializer.writeNumber(value_localY) - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - } - writeBaseGestureEvent(value: BaseGestureEvent): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeGestureInfo(value: GestureInfo): void { - let valueSerializer: Serializer = this - const value_tag = value.tag - let value_tag_type: int32 = RuntimeType.UNDEFINED - value_tag_type = runtimeType(value_tag) - valueSerializer.writeInt8(value_tag_type) - if ((RuntimeType.UNDEFINED) != (value_tag_type)) { - const value_tag_value = value_tag! - valueSerializer.writeString(value_tag_value) - } - const value_type = value.type - valueSerializer.writeInt32(value_type.valueOf()) - const value_isSystemGesture = value.isSystemGesture - valueSerializer.writeBoolean(value_isSystemGesture) - } writeBackgroundBrightnessOptions(value: BackgroundBrightnessOptions): void { let valueSerializer: Serializer = this const value_rate = value.rate @@ -20776,6 +20702,21 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_vertical_value) } } + writeGestureInfo(value: GestureInfo): void { + let valueSerializer: Serializer = this + const value_tag = value.tag + let value_tag_type: int32 = RuntimeType.UNDEFINED + value_tag_type = runtimeType(value_tag) + valueSerializer.writeInt8(value_tag_type) + if ((RuntimeType.UNDEFINED) != (value_tag_type)) { + const value_tag_value = value_tag! + valueSerializer.writeString(value_tag_value) + } + const value_type = value.type + valueSerializer.writeInt32(value_type.valueOf()) + const value_isSystemGesture = value.isSystemGesture + valueSerializer.writeBoolean(value_isSystemGesture) + } writeTouchResult(value: TouchResult): void { let valueSerializer: Serializer = this const value_strategy = value.strategy @@ -20808,6 +20749,37 @@ export class Serializer extends SerializerBase { const value_id = value.id valueSerializer.writeString(value_id) } + writeDismissPopupAction(value: DismissPopupAction): void { + let valueSerializer: Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } + writeSpringBackAction(value: SpringBackAction): void { + let valueSerializer: Serializer = this + const value_springBack = value.springBack + valueSerializer.holdAndWriteCallback(value_springBack) + } + writeDismissSheetAction(value: DismissSheetAction): void { + let valueSerializer: Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } + writeSheetDismiss(value: SheetDismiss): void { + let valueSerializer: Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + } + writeDismissContentCoverAction(value: DismissContentCoverAction): void { + let valueSerializer: Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } writeKeyEvent(value: KeyEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -20820,6 +20792,31 @@ export class Serializer extends SerializerBase { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } + writeGestureRecognizer(value: GestureRecognizer): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + writeFingerInfo(value: FingerInfo): void { + let valueSerializer: Serializer = this + const value_id = value.id + valueSerializer.writeNumber(value_id) + const value_globalX = value.globalX + valueSerializer.writeNumber(value_globalX) + const value_globalY = value.globalY + valueSerializer.writeNumber(value_globalY) + const value_localX = value.localX + valueSerializer.writeNumber(value_localX) + const value_localY = value.localY + valueSerializer.writeNumber(value_localY) + const value_displayX = value.displayX + valueSerializer.writeNumber(value_displayX) + const value_displayY = value.displayY + valueSerializer.writeNumber(value_displayY) + } + writeBaseGestureEvent(value: BaseGestureEvent): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeHistoricalPoint(value: HistoricalPoint): void { let valueSerializer: Serializer = this const value_touchObject = value.touchObject @@ -21081,28 +21078,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt64((value_selected_value.getTime() as number)) } } - writeCalendarRequestedData(value: CalendarRequestedData): void { - let valueSerializer: Serializer = this - const value_year = value.year - valueSerializer.writeNumber(value_year) - const value_month = value.month - valueSerializer.writeNumber(value_month) - const value_currentYear = value.currentYear - valueSerializer.writeNumber(value_currentYear) - const value_currentMonth = value.currentMonth - valueSerializer.writeNumber(value_currentMonth) - const value_monthState = value.monthState - valueSerializer.writeNumber(value_monthState) - } - writeCalendarSelectedDate(value: CalendarSelectedDate): void { - let valueSerializer: Serializer = this - const value_year = value.year - valueSerializer.writeNumber(value_year) - const value_month = value.month - valueSerializer.writeNumber(value_month) - const value_day = value.day - valueSerializer.writeNumber(value_day) - } writeWorkStateStyle(value: WorkStateStyle): void { let valueSerializer: Serializer = this const value_workDayMarkColor = value.workDayMarkColor @@ -21793,6 +21768,28 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_boundaryColOffset_value) } } + writeCalendarRequestedData(value: CalendarRequestedData): void { + let valueSerializer: Serializer = this + const value_year = value.year + valueSerializer.writeNumber(value_year) + const value_month = value.month + valueSerializer.writeNumber(value_month) + const value_currentYear = value.currentYear + valueSerializer.writeNumber(value_currentYear) + const value_currentMonth = value.currentMonth + valueSerializer.writeNumber(value_currentMonth) + const value_monthState = value.monthState + valueSerializer.writeNumber(value_monthState) + } + writeCalendarSelectedDate(value: CalendarSelectedDate): void { + let valueSerializer: Serializer = this + const value_year = value.year + valueSerializer.writeNumber(value_year) + const value_month = value.month + valueSerializer.writeNumber(value_month) + const value_day = value.day + valueSerializer.writeNumber(value_day) + } writeCalendarDay(value: CalendarDay): void { let valueSerializer: Serializer = this const value_index = value.index @@ -22056,13 +22053,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_primary_value) } } - writeDismissDialogAction(value: DismissDialogAction): void { - let valueSerializer: Serializer = this - const value_dismiss = value.dismiss - valueSerializer.holdAndWriteCallback(value_dismiss) - const value_reason = value.reason - valueSerializer.writeInt32(value_reason.valueOf()) - } writeSheetInfo(value: SheetInfo): void { let valueSerializer: Serializer = this const value_title = value.title @@ -22100,6 +22090,13 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } + writeDismissDialogAction(value: DismissDialogAction): void { + let valueSerializer: Serializer = this + const value_dismiss = value.dismiss + valueSerializer.holdAndWriteCallback(value_dismiss) + const value_reason = value.reason + valueSerializer.writeInt32(value_reason.valueOf()) + } writeReplaceSymbolEffect(value: ReplaceSymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -22160,6 +22157,23 @@ export class Serializer extends SerializerBase { } } } + writeBusinessError(value: BusinessError): void { + let valueSerializer: Serializer = this + const value_name = value.name + valueSerializer.writeString(value_name) + const value_message = value.message + valueSerializer.writeString(value_message) + const value_stack = value.stack + let value_stack_type: int32 = RuntimeType.UNDEFINED + value_stack_type = runtimeType(value_stack) + valueSerializer.writeInt8(value_stack_type) + if ((RuntimeType.UNDEFINED) != (value_stack_type)) { + const value_stack_value = value_stack! + valueSerializer.writeString(value_stack_value) + } + const value_code = value.code + valueSerializer.writeNumber(value_code) + } writeWebHeader(value: WebHeader): void { let valueSerializer: Serializer = this const value_headerKey = value.headerKey @@ -22167,6 +22181,37 @@ export class Serializer extends SerializerBase { const value_headerValue = value.headerValue valueSerializer.writeString(value_headerValue) } + writeAnimationOptions(value: AnimationOptions): void { + let valueSerializer: Serializer = this + const value_duration = value.duration + let value_duration_type: int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + const value_iterations = value.iterations + let value_iterations_type: int32 = RuntimeType.UNDEFINED + value_iterations_type = runtimeType(value_iterations) + valueSerializer.writeInt8(value_iterations_type) + if ((RuntimeType.UNDEFINED) != (value_iterations_type)) { + const value_iterations_value = value_iterations! + valueSerializer.writeNumber(value_iterations_value) + } + } + writeAnimatedDrawableDescriptor(value: AnimatedDrawableDescriptor): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + writePixelMapDrawableDescriptor(value: PixelMapDrawableDescriptor): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + writeLayeredDrawableDescriptor(value: LayeredDrawableDescriptor): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } writeLength(value: Length): void { const valueType = runtimeType(value) this.writeInt8(valueType) @@ -22180,4 +22225,4 @@ export class Serializer extends SerializerBase { this.writeInt32((value as Resource).id as int32) } } -} \ No newline at end of file +} diff --git a/arkoala/framework/native/src/generated/Serializers.h b/arkoala/framework/native/src/generated/Serializers.h index edb52150bf20d70a31fbfb9abc41cf86cd5f906f..b5166b9fa5712f9daa09661ded3960ea2474ce46 100644 --- a/arkoala/framework/native/src/generated/Serializers.h +++ b/arkoala/framework/native/src/generated/Serializers.h @@ -4579,107 +4579,6 @@ inline Ark_RuntimeType runtimeType(const Opt_TextCase& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Map_String_CustomObject& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_String* value); -template <> -inline void WriteToString(std::string* result, const Ark_CustomObject* value); -template <> -inline void WriteToString(std::string* result, const Map_String_CustomObject* value) { - result->append("{"); - int32_t count = value->size; - for (int i = 0; i < count; i++) { - if (i > 0) result->append(", "); - WriteToString(result, (const Ark_String*)&value->keys[i]); - result->append(": "); - WriteToString(result, (const Ark_CustomObject*)&value->values[i]); - } - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Map_String_CustomObject* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Map_String_CustomObject& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_NavigationTransitionProxy_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_NavigationTransitionProxy_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_NavigationTransitionProxy_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_NavigationTransitionProxy_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_Boolean_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_Boolean_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_Boolean_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Boolean_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_ColorMetrics& value) { return INTEROP_RUNTIME_OBJECT; @@ -4847,6 +4746,45 @@ inline Ark_RuntimeType runtimeType(const Opt_StyledStringKey& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Map_String_CustomObject& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_String* value); +template <> +inline void WriteToString(std::string* result, const Ark_CustomObject* value); +template <> +inline void WriteToString(std::string* result, const Map_String_CustomObject* value) { + result->append("{"); + int32_t count = value->size; + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, (const Ark_String*)&value->keys[i]); + result->append(": "); + WriteToString(result, (const Ark_CustomObject*)&value->values[i]); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Map_String_CustomObject* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Map_String_CustomObject& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Margin_Dimension& value) { switch (value.selector) { @@ -5069,6 +5007,89 @@ inline Ark_RuntimeType runtimeType(const Opt_MenuType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_NestedScrollMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_NestedScrollMode value) { + result->append("Ark_NestedScrollMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NestedScrollMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NestedScrollMode& 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) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebviewController* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebviewController& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WebController& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebController value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebController* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebController& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_TouchObject& value) { return INTEROP_RUNTIME_OBJECT; @@ -5265,35 +5286,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Map_String_String& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NestedScrollMode& value) -{ - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_NestedScrollMode value) { - result->append("Ark_NestedScrollMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NestedScrollMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NestedScrollMode& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_WebResourceRequest& value) { return INTEROP_RUNTIME_OBJECT; @@ -5321,60 +5313,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) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_WebviewController* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WebviewController& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_WebController& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_WebController value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_WebController* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WebController& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Array_Header& value) { return INTEROP_RUNTIME_OBJECT; @@ -7730,6 +7668,68 @@ inline Ark_RuntimeType runtimeType(const Opt_NavDestinationMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_NavigationTransitionProxy_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_NavigationTransitionProxy_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_NavigationTransitionProxy_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_NavigationTransitionProxy_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_Boolean_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_Boolean_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_Boolean_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_Boolean_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_NavPathStack& value) { return INTEROP_RUNTIME_OBJECT; @@ -11501,135 +11501,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Float32& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomTheme& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_CustomTheme* value) { - result->append("{"); - // Ark_String _CustomThemeStub - result->append("._CustomThemeStub="); - WriteToString(result, &value->_CustomThemeStub); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_CustomTheme* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomTheme& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_RestrictedWorker& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_RestrictedWorker* value) { - result->append("{"); - // Ark_String _RestrictedWorkerStub - result->append("._RestrictedWorkerStub="); - WriteToString(result, &value->_RestrictedWorkerStub); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_RestrictedWorker* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Want& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Want* value) { - result->append("{"); - // Ark_String bundleName - result->append(".bundleName="); - WriteToString(result, &value->bundleName); - // Ark_String abilityName - result->append(", "); - result->append(".abilityName="); - WriteToString(result, &value->abilityName); - // Ark_String deviceId - result->append(", "); - result->append(".deviceId="); - WriteToString(result, &value->deviceId); - // Ark_String uri - result->append(", "); - result->append(".uri="); - WriteToString(result, &value->uri); - // Ark_String type - result->append(", "); - result->append(".type="); - WriteToString(result, &value->type); - // Ark_Number flags - result->append(", "); - result->append(".flags="); - WriteToString(result, &value->flags); - // Ark_String action - result->append(", "); - result->append(".action="); - WriteToString(result, &value->action); - // Map_String_CustomObject parameters - result->append(", "); - result->append(".parameters="); - WriteToString(result, &value->parameters); - // Array_String entities - result->append(", "); - result->append(".entities="); - WriteToString(result, &value->entities); - // Ark_String moduleName - result->append(", "); - result->append(".moduleName="); - WriteToString(result, &value->moduleName); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Want* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Want& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_StyledString& value) { return INTEROP_RUNTIME_OBJECT; @@ -11657,49 +11528,6 @@ inline Ark_RuntimeType runtimeType(const Opt_StyledString& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationAnimatedTransition& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_NavigationAnimatedTransition* value) { - result->append("{"); - // Callback_Boolean_Void onTransitionEnd - result->append(".onTransitionEnd="); - WriteToString(result, &value->onTransitionEnd); - // Ark_Number timeout - result->append(", "); - result->append(".timeout="); - WriteToString(result, &value->timeout); - // Ark_Boolean isInteractive - result->append(", "); - result->append(".isInteractive="); - WriteToString(result, &value->isInteractive); - // Callback_NavigationTransitionProxy_Void transition - result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NavigationAnimatedTransition* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationAnimatedTransition& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Profiler_Callback_String_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -12072,6 +11900,104 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_LeadingMarginPl return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_RestrictedWorker& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RestrictedWorker* value) { + result->append("{"); + // Ark_String _RestrictedWorkerStub + result->append("._RestrictedWorkerStub="); + WriteToString(result, &value->_RestrictedWorkerStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RestrictedWorker* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Want& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Want* value) { + result->append("{"); + // Ark_String bundleName + result->append(".bundleName="); + WriteToString(result, &value->bundleName); + // Ark_String abilityName + result->append(", "); + result->append(".abilityName="); + WriteToString(result, &value->abilityName); + // Ark_String deviceId + result->append(", "); + result->append(".deviceId="); + WriteToString(result, &value->deviceId); + // Ark_String uri + result->append(", "); + result->append(".uri="); + WriteToString(result, &value->uri); + // Ark_String type + result->append(", "); + result->append(".type="); + WriteToString(result, &value->type); + // Ark_Number flags + result->append(", "); + result->append(".flags="); + WriteToString(result, &value->flags); + // Ark_String action + result->append(", "); + result->append(".action="); + WriteToString(result, &value->action); + // Map_String_CustomObject parameters + result->append(", "); + result->append(".parameters="); + WriteToString(result, &value->parameters); + // Array_String entities + result->append(", "); + result->append(".entities="); + WriteToString(result, &value->entities); + // Ark_String moduleName + result->append(", "); + result->append(".moduleName="); + WriteToString(result, &value->moduleName); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Want* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Want& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_DpiFollowStrategy& value) { return INTEROP_RUNTIME_NUMBER; @@ -12850,21 +12776,25 @@ inline Ark_RuntimeType runtimeType(const Opt_WebElementType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardController& value) +inline Ark_RuntimeType runtimeType(const Callback_Literal_String_plainText_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WebKeyboardController value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Callback_Literal_String_plainText_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_WebKeyboardController* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Literal_String_plainText_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); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -12872,25 +12802,37 @@ inline void WriteToString(std::string* result, const Opt_WebKeyboardController* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardController& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_String_plainText_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Literal_String_plainText_Void& value) +inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptionsExt& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Literal_String_plainText_Void* value) { +inline void WriteToString(std::string* result, const Ark_NestedScrollOptionsExt* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Ark_NestedScrollMode scrollUp + result->append(".scrollUp="); + WriteToString(result, &value->scrollUp); + // Ark_NestedScrollMode scrollDown + result->append(", "); + result->append(".scrollDown="); + WriteToString(result, &value->scrollDown); + // Ark_NestedScrollMode scrollRight + result->append(", "); + result->append(".scrollRight="); + WriteToString(result, &value->scrollRight); + // Ark_NestedScrollMode scrollLeft + result->append(", "); + result->append(".scrollLeft="); + WriteToString(result, &value->scrollLeft); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Literal_String_plainText_Void* value) { +inline void WriteToString(std::string* result, const Opt_NestedScrollOptionsExt* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -12903,28 +12845,34 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_String result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_String_plainText_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptionsExt& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RenderProcessNotRespondingReason& value) +inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptions& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RenderProcessNotRespondingReason value) { - result->append("Ark_RenderProcessNotRespondingReason("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_NestedScrollOptions* value) { + result->append("{"); + // Ark_NestedScrollMode scrollForward + result->append(".scrollForward="); + WriteToString(result, value->scrollForward); + // Ark_NestedScrollMode scrollBackward + result->append(", "); + result->append(".scrollBackward="); + WriteToString(result, value->scrollBackward); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespondingReason* value) { +inline void WriteToString(std::string* result, const Opt_NestedScrollOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -12932,7 +12880,52 @@ inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespond result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingReason& value) +inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_WebController_WebviewController& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_WebController_WebviewController: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_WebController_WebviewController* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_WebController + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_WebviewController + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_WebController_WebviewController* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_WebController_WebviewController& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -13083,96 +13076,16 @@ inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedStatus& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptionsExt& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_NestedScrollOptionsExt* value) { - result->append("{"); - // Ark_NestedScrollMode scrollUp - result->append(".scrollUp="); - WriteToString(result, &value->scrollUp); - // Ark_NestedScrollMode scrollDown - result->append(", "); - result->append(".scrollDown="); - WriteToString(result, &value->scrollDown); - // Ark_NestedScrollMode scrollRight - result->append(", "); - result->append(".scrollRight="); - WriteToString(result, &value->scrollRight); - // Ark_NestedScrollMode scrollLeft - result->append(", "); - result->append(".scrollLeft="); - WriteToString(result, &value->scrollLeft); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NestedScrollOptionsExt* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptionsExt& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_DataResubmissionHandler& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NestedScrollOptions* value) { - result->append("{"); - // Ark_NestedScrollMode scrollForward - result->append(".scrollForward="); - WriteToString(result, value->scrollForward); - // Ark_NestedScrollMode scrollBackward - result->append(", "); - result->append(".scrollBackward="); - WriteToString(result, value->scrollBackward); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NestedScrollOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_WebNavigationType& value) -{ - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_WebNavigationType value) { - result->append("Ark_WebNavigationType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_DataResubmissionHandler value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_WebNavigationType* value) { +inline void WriteToString(std::string* result, const Opt_DataResubmissionHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -13185,21 +13098,21 @@ inline void WriteToString(std::string* result, const Opt_WebNavigationType* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebNavigationType& value) +inline Ark_RuntimeType runtimeType(const Opt_DataResubmissionHandler& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DataResubmissionHandler& value) +inline Ark_RuntimeType runtimeType(const Ark_ControllerHandler& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DataResubmissionHandler value) { +inline void WriteToString(std::string* result, const Ark_ControllerHandler value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_DataResubmissionHandler* value) { +inline void WriteToString(std::string* result, const Opt_ControllerHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -13212,21 +13125,21 @@ inline void WriteToString(std::string* result, const Opt_DataResubmissionHandler result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DataResubmissionHandler& value) +inline Ark_RuntimeType runtimeType(const Opt_ControllerHandler& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ControllerHandler& value) +inline Ark_RuntimeType runtimeType(const Ark_ClientAuthenticationHandler& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ControllerHandler value) { +inline void WriteToString(std::string* result, const Ark_ClientAuthenticationHandler value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_ControllerHandler* value) { +inline void WriteToString(std::string* result, const Opt_ClientAuthenticationHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -13239,26 +13152,38 @@ inline void WriteToString(std::string* result, const Opt_ControllerHandler* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ControllerHandler& value) +inline Ark_RuntimeType runtimeType(const Opt_ClientAuthenticationHandler& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ClientAuthenticationHandler& value) +inline Ark_RuntimeType runtimeType(const Array_Buffer& value) { return INTEROP_RUNTIME_OBJECT; } + template <> -inline void WriteToString(std::string* result, const Ark_ClientAuthenticationHandler value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Buffer* value); + +inline void WriteToString(std::string* result, const Array_Buffer* 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_Buffer*)&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_ClientAuthenticationHandler* value) { +inline void WriteToString(std::string* result, const Opt_Array_Buffer* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -13266,7 +13191,7 @@ inline void WriteToString(std::string* result, const Opt_ClientAuthenticationHan result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ClientAuthenticationHandler& value) +inline Ark_RuntimeType runtimeType(const Opt_Array_Buffer& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -13327,45 +13252,6 @@ inline Ark_RuntimeType runtimeType(const Opt_SslErrorHandler& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_Buffer& value) -{ - return INTEROP_RUNTIME_OBJECT; -} - -template <> -inline void WriteToString(std::string* result, const Ark_Buffer* value); - -inline void WriteToString(std::string* result, const Array_Buffer* 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_Buffer*)&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_Buffer* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Buffer& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_WebContextMenuResult& value) { return INTEROP_RUNTIME_OBJECT; @@ -13501,33 +13387,6 @@ inline Ark_RuntimeType runtimeType(const Opt_HttpAuthHandler& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FullScreenExitHandler& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_FullScreenExitHandler value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_FullScreenExitHandler* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_FullScreenExitHandler& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Function& value) { return INTEROP_RUNTIME_FUNCTION; @@ -13814,51 +13673,6 @@ inline Ark_RuntimeType runtimeType(const Opt_JsGeolocation& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_WebController_WebviewController& value) -{ - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_WebController_WebviewController: %d", value.selector); - } -} -template <> -inline void WriteToString(std::string* result, const Ark_Union_WebController_WebviewController* value) { - result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_WebController - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_WebviewController - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Union_WebController_WebviewController* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_WebController_WebviewController& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_RenderMode& value) { return INTEROP_RUNTIME_NUMBER; @@ -14276,6 +14090,118 @@ inline Ark_RuntimeType runtimeType(const Opt_FileSelectorMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_FullScreenExitHandler& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FullScreenExitHandler value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_FullScreenExitHandler* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FullScreenExitHandler& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardController& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebKeyboardController value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebKeyboardController* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardController& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RenderProcessNotRespondingReason& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_RenderProcessNotRespondingReason value) { + result->append("Ark_RenderProcessNotRespondingReason("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespondingReason* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingReason& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WebNavigationType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebNavigationType value) { + result->append("Ark_WebNavigationType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebNavigationType* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebNavigationType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_VideoController& value) { return INTEROP_RUNTIME_OBJECT; @@ -14383,6 +14309,37 @@ inline Ark_RuntimeType runtimeType(const Opt_SeekMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_CustomTheme& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CustomTheme* value) { + result->append("{"); + // Ark_String _CustomThemeStub + result->append("._CustomThemeStub="); + WriteToString(result, &value->_CustomThemeStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CustomTheme* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CustomTheme& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ToggleType& value) { return INTEROP_RUNTIME_NUMBER; @@ -15926,29 +15883,23 @@ inline Ark_RuntimeType runtimeType(const Opt_BarMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TabContentAnimatedTransition& value) +inline Ark_RuntimeType runtimeType(const Ark_EdgeEffect& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_TabContentAnimatedTransition* value) { - result->append("{"); - // Ark_Number timeout - result->append(".timeout="); - WriteToString(result, &value->timeout); - // Callback_TabContentTransitionProxy_Void transition - result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_EdgeEffect value) { + result->append("Ark_EdgeEffect("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_TabContentAnimatedTransition* value) { +inline void WriteToString(std::string* result, const Opt_EdgeEffect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -15956,23 +15907,23 @@ inline void WriteToString(std::string* result, const Opt_TabContentAnimatedTrans result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TabContentAnimatedTransition& value) +inline Ark_RuntimeType runtimeType(const Opt_EdgeEffect& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EdgeEffect& value) +inline Ark_RuntimeType runtimeType(const Ark_AnimationMode& value) { return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_EdgeEffect value) { - result->append("Ark_EdgeEffect("); +inline void WriteToString(std::string* result, const Ark_AnimationMode value) { + result->append("Ark_AnimationMode("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_EdgeEffect* value) { +inline void WriteToString(std::string* result, const Opt_AnimationMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -15985,28 +15936,34 @@ inline void WriteToString(std::string* result, const Opt_EdgeEffect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EdgeEffect& value) +inline Ark_RuntimeType runtimeType(const Opt_AnimationMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AnimationMode& value) +inline Ark_RuntimeType runtimeType(const Ark_TabContentAnimatedTransition& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AnimationMode value) { - result->append("Ark_AnimationMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_TabContentAnimatedTransition* value) { + result->append("{"); + // Ark_Number timeout + result->append(".timeout="); + WriteToString(result, &value->timeout); + // Callback_TabContentTransitionProxy_Void transition + result->append(", "); + result->append(".transition="); + WriteToString(result, &value->transition); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_AnimationMode* value) { +inline void WriteToString(std::string* result, const Opt_TabContentAnimatedTransition* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -16014,7 +15971,7 @@ inline void WriteToString(std::string* result, const Opt_AnimationMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AnimationMode& value) +inline Ark_RuntimeType runtimeType(const Opt_TabContentAnimatedTransition& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -16108,9 +16065,8 @@ inline Ark_RuntimeType runtimeType(const Ark_SymbolEffect& value) return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SymbolEffect* value) { - result->append("{"); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_SymbolEffect value) { + WriteToString(result, static_cast(value)); } template <> inline void WriteToString(std::string* result, const Opt_SymbolEffect* value) { @@ -16118,7 +16074,7 @@ inline void WriteToString(std::string* result, const Opt_SymbolEffect* value) { result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -16893,35 +16849,6 @@ inline Ark_RuntimeType runtimeType(const Opt_SearchButtonOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextDeleteDirection& value) -{ - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_TextDeleteDirection value) { - result->append("Ark_TextDeleteDirection("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_TextDeleteDirection* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDeleteDirection& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_CancelButtonSymbolOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -16992,6 +16919,35 @@ inline Ark_RuntimeType runtimeType(const Opt_CancelButtonOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_TextDeleteDirection& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextDeleteDirection value) { + result->append("Ark_TextDeleteDirection("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextDeleteDirection* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextDeleteDirection& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SearchController& value) { return INTEROP_RUNTIME_OBJECT; @@ -17855,20 +17811,20 @@ inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpanType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_RichEditorTextSpanResult& value) +inline Ark_RuntimeType runtimeType(const Array_TextDataDetectorType& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorTextSpanResult* value); +inline void WriteToString(std::string* result, const Ark_TextDataDetectorType value); -inline void WriteToString(std::string* result, const Array_RichEditorTextSpanResult* value) { +inline void WriteToString(std::string* result, const Array_TextDataDetectorType* value) { int32_t count = value->length; - result->append("{.array=allocArray({{"); + result->append("{.array=allocArray({{"); for (int i = 0; i < count; i++) { if (i > 0) result->append(", "); - WriteToString(result, (const Ark_RichEditorTextSpanResult*)&value->array[i]); + WriteToString(result, value->array[i]); } result->append("}})"); result->append(", .length="); @@ -17876,7 +17832,7 @@ inline void WriteToString(std::string* result, const Array_RichEditorTextSpanRes result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Array_RichEditorTextSpanResult* value) { +inline void WriteToString(std::string* result, const Opt_Array_TextDataDetectorType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -17889,25 +17845,25 @@ inline void WriteToString(std::string* result, const Opt_Array_RichEditorTextSpa result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorTextSpanResult& value) +inline Ark_RuntimeType runtimeType(const Opt_Array_TextDataDetectorType& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_RichEditorImageSpanResult& value) +inline Ark_RuntimeType runtimeType(const Array_RichEditorTextSpanResult& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanResult* value); +inline void WriteToString(std::string* result, const Ark_RichEditorTextSpanResult* value); -inline void WriteToString(std::string* result, const Array_RichEditorImageSpanResult* value) { +inline void WriteToString(std::string* result, const Array_RichEditorTextSpanResult* value) { int32_t count = value->length; - result->append("{.array=allocArray({{"); + result->append("{.array=allocArray({{"); for (int i = 0; i < count; i++) { if (i > 0) result->append(", "); - WriteToString(result, (const Ark_RichEditorImageSpanResult*)&value->array[i]); + WriteToString(result, (const Ark_RichEditorTextSpanResult*)&value->array[i]); } result->append("}})"); result->append(", .length="); @@ -17915,7 +17871,7 @@ inline void WriteToString(std::string* result, const Array_RichEditorImageSpanRe result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Array_RichEditorImageSpanResult* value) { +inline void WriteToString(std::string* result, const Opt_Array_RichEditorTextSpanResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -17928,25 +17884,25 @@ inline void WriteToString(std::string* result, const Opt_Array_RichEditorImageSp result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorImageSpanResult& value) +inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorTextSpanResult& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_TextDataDetectorType& value) +inline Ark_RuntimeType runtimeType(const Array_RichEditorImageSpanResult& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TextDataDetectorType value); +inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanResult* value); -inline void WriteToString(std::string* result, const Array_TextDataDetectorType* value) { +inline void WriteToString(std::string* result, const Array_RichEditorImageSpanResult* value) { int32_t count = value->length; - result->append("{.array=allocArray({{"); + result->append("{.array=allocArray({{"); for (int i = 0; i < count; i++) { if (i > 0) result->append(", "); - WriteToString(result, value->array[i]); + WriteToString(result, (const Ark_RichEditorImageSpanResult*)&value->array[i]); } result->append("}})"); result->append(", .length="); @@ -17954,7 +17910,7 @@ inline void WriteToString(std::string* result, const Array_TextDataDetectorType* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Array_TextDataDetectorType* value) { +inline void WriteToString(std::string* result, const Opt_Array_RichEditorImageSpanResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -17967,7 +17923,7 @@ inline void WriteToString(std::string* result, const Opt_Array_TextDataDetectorT result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_TextDataDetectorType& value) +inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorImageSpanResult& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -19255,6 +19211,49 @@ inline Ark_RuntimeType runtimeType(const Opt_NavContentInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_NavigationAnimatedTransition& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_NavigationAnimatedTransition* value) { + result->append("{"); + // Callback_Boolean_Void onTransitionEnd + result->append(".onTransitionEnd="); + WriteToString(result, &value->onTransitionEnd); + // Ark_Number timeout + result->append(", "); + result->append(".timeout="); + WriteToString(result, &value->timeout); + // Ark_Boolean isInteractive + result->append(", "); + result->append(".isInteractive="); + WriteToString(result, &value->isInteractive); + // Callback_NavigationTransitionProxy_Void transition + result->append(", "); + result->append(".transition="); + WriteToString(result, &value->transition); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NavigationAnimatedTransition* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NavigationAnimatedTransition& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_NavDestinationContext& value) { return INTEROP_RUNTIME_OBJECT; @@ -19912,12 +19911,8 @@ inline Ark_RuntimeType runtimeType(const Ark_DrawableDescriptor& value) return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DrawableDescriptor* value) { - result->append("{"); - // Ark_String _DrawableDescriptorStub - result->append("._DrawableDescriptorStub="); - WriteToString(result, &value->_DrawableDescriptorStub); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_DrawableDescriptor value) { + WriteToString(result, static_cast(value)); } template <> inline void WriteToString(std::string* result, const Opt_DrawableDescriptor* value) { @@ -19925,7 +19920,7 @@ inline void WriteToString(std::string* result, const Opt_DrawableDescriptor* val result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -22623,35 +22618,6 @@ inline Ark_RuntimeType runtimeType(const Opt_FunctionKey& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DismissReason& value) -{ - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_DismissReason value) { - result->append("Ark_DismissReason("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_DismissReason* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_DismissReason& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_SheetOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -25186,35 +25152,6 @@ inline Ark_RuntimeType runtimeType(const Opt_PixelRoundCalcPolicy& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TouchTestStrategy& value) -{ - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_TouchTestStrategy value) { - result->append("Ark_TouchTestStrategy("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_TouchTestStrategy* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_TouchTestStrategy& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Array_Rectangle& value) { return INTEROP_RUNTIME_OBJECT; @@ -25281,6 +25218,64 @@ inline Ark_RuntimeType runtimeType(const Opt_DrawModifier& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_TouchTestStrategy& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_TouchTestStrategy value) { + result->append("Ark_TouchTestStrategy("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TouchTestStrategy* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TouchTestStrategy& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DismissReason& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_DismissReason value) { + result->append("Ark_DismissReason("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DismissReason* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DismissReason& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_IntentionCode& value) { return INTEROP_RUNTIME_OBJECT; @@ -27759,321 +27754,6 @@ inline Ark_RuntimeType runtimeType(const Opt_DoubleAnimationParam& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WithThemeOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_WithThemeOptions* value) { - result->append("{"); - // Ark_CustomTheme theme - result->append(".theme="); - WriteToString(result, &value->theme); - // Ark_ThemeColorMode colorMode - result->append(", "); - result->append(".colorMode="); - WriteToString(result, &value->colorMode); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_WithThemeOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WithThemeOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const WithThemeInterface& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const WithThemeInterface* 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_WithThemeInterface* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WithThemeInterface& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Type_NavigationAttribute_customNavContentTransition_delegate& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Type_NavigationAttribute_customNavContentTransition_delegate* 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_Type_NavigationAttribute_customNavContentTransition_delegate* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_NavigationAttribute_customNavContentTransition_delegate& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const SliderTriggerChangeCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const SliderTriggerChangeCallback* 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_SliderTriggerChangeCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderTriggerChangeCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const PageTransitionCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const PageTransitionCallback* 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_PageTransitionCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PageTransitionCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const OnScrollCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const OnScrollCallback* 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_OnScrollCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScrollCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const OnMoveHandler& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const OnMoveHandler* 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_OnMoveHandler* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_OnMoveHandler& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_IsolatedOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_IsolatedOptions* value) { - result->append("{"); - // Ark_Want want - result->append(".want="); - WriteToString(result, &value->want); - // Ark_RestrictedWorker worker - result->append(", "); - result->append(".worker="); - WriteToString(result, &value->worker); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_IsolatedOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_IsolatedOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const IsolatedComponentInterface& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const IsolatedComponentInterface* 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_IsolatedComponentInterface* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_IsolatedComponentInterface& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_WithThemeAttribute& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_WithThemeAttribute* value) { - result->append("{"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_WithThemeAttribute* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WithThemeAttribute& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Callback_WithThemeAttribute_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -28291,37 +27971,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchResult_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_String_Unknown_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_String_Unknown_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_String_Unknown_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_String_Unknown_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Callback_Pointer_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -28539,68 +28188,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_OffsetResult_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_NavigationTitleMode_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_NavigationTitleMode_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_NavigationTitleMode_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_NavigationTitleMode_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_NavigationMode_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_NavigationMode_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_NavigationMode_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_NavigationMode_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Callback_Literal_Number_offsetRemain_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -28632,34 +28219,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Number_offsetRemai return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_IsolatedComponentAttribute& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_IsolatedComponentAttribute* value) { - result->append("{"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_IsolatedComponentAttribute* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_IsolatedComponentAttribute& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Callback_IsolatedComponentAttribute_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -28877,37 +28436,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Array_String_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const ButtonTriggerClickCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const ButtonTriggerClickCallback* 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_ButtonTriggerClickCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ButtonTriggerClickCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorController& value) { return INTEROP_RUNTIME_OBJECT; @@ -29287,24 +28815,52 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_SpanStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_code_Want_want& value) +inline Ark_RuntimeType runtimeType(const Ark_IsolatedComponentAttribute& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal_Number_code_Want_want* value) { +inline void WriteToString(std::string* result, const Ark_IsolatedComponentAttribute* value) { + result->append("{"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_IsolatedComponentAttribute* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_IsolatedComponentAttribute& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_IsolatedOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_IsolatedOptions* value) { result->append("{"); - // Ark_Number code - result->append(".code="); - WriteToString(result, &value->code); // Ark_Want want - result->append(", "); result->append(".want="); WriteToString(result, &value->want); + // Ark_RestrictedWorker worker + result->append(", "); + result->append(".worker="); + WriteToString(result, &value->worker); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Literal_Number_code_Want_want* value) { +inline void WriteToString(std::string* result, const Opt_IsolatedOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -29317,17 +28873,17 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_code_Wan result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_code_Want_want& value) +inline Ark_RuntimeType runtimeType(const Opt_IsolatedOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Literal_Number_code_Want_want_Void& value) +inline Ark_RuntimeType runtimeType(const IsolatedComponentInterface& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Literal_Number_code_Want_want_Void* value) { +inline void WriteToString(std::string* result, const IsolatedComponentInterface* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -29335,7 +28891,7 @@ inline void WriteToString(std::string* result, const Callback_Literal_Number_cod result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Literal_Number_code_Want_want_Void* value) { +inline void WriteToString(std::string* result, const Opt_IsolatedComponentInterface* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -29348,7 +28904,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Number result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Number_code_Want_want_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_IsolatedComponentInterface& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -29384,6 +28940,72 @@ inline Ark_RuntimeType runtimeType(const Opt_ReceiveCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_code_Want_want& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Literal_Number_code_Want_want* value) { + result->append("{"); + // Ark_Number code + result->append(".code="); + WriteToString(result, &value->code); + // Ark_Want want + result->append(", "); + result->append(".want="); + WriteToString(result, &value->want); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Literal_Number_code_Want_want* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_code_Want_want& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_Literal_Number_code_Want_want_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_Literal_Number_code_Want_want_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_Literal_Number_code_Want_want_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Number_code_Want_want_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_UIExtensionOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -29797,208 +29419,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Type_XComponentInterface_value& val return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AdsBlockedDetails& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_AdsBlockedDetails* value) { - result->append("{"); - // Ark_String url - result->append(".url="); - WriteToString(result, &value->url); - // Array_String adsBlocked - result->append(", "); - result->append(".adsBlocked="); - WriteToString(result, &value->adsBlocked); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_AdsBlockedDetails* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_AdsBlockedDetails& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const OnAdsBlockedCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const OnAdsBlockedCallback* 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_OnAdsBlockedCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_OnAdsBlockedCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_WebKeyboardOptions* value) { - result->append("{"); - // Ark_Boolean useSystemKeyboard - result->append(".useSystemKeyboard="); - WriteToString(result, value->useSystemKeyboard); - // Ark_Number enterKeyType - result->append(", "); - result->append(".enterKeyType="); - WriteToString(result, &value->enterKeyType); - // CustomNodeBuilder customKeyboard - result->append(", "); - result->append(".customKeyboard="); - WriteToString(result, &value->customKeyboard); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_WebKeyboardOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardCallbackInfo& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_WebKeyboardCallbackInfo* value) { - result->append("{"); - // Ark_WebKeyboardController controller - result->append(".controller="); - WriteToString(result, value->controller); - // Map_String_String attributes - result->append(", "); - result->append(".attributes="); - WriteToString(result, &value->attributes); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_WebKeyboardCallbackInfo* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardCallbackInfo& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const WebKeyboardCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const WebKeyboardCallback* 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_WebKeyboardCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const OnViewportFitChangedCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const OnViewportFitChangedCallback* 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_OnViewportFitChangedCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_OnViewportFitChangedCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_String_plainText& value) { return INTEROP_RUNTIME_OBJECT; @@ -30108,20 +29528,24 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_ExpandedMenuItemOptions& valu return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnRenderProcessRespondingCallback& value) +inline Ark_RuntimeType runtimeType(const Ark_NativeMediaPlayerConfig& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnRenderProcessRespondingCallback* value) { +inline void WriteToString(std::string* result, const Ark_NativeMediaPlayerConfig* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Ark_Boolean enable + result->append(".enable="); + WriteToString(result, value->enable); + // Ark_Boolean shouldOverlay + result->append(", "); + result->append(".shouldOverlay="); + WriteToString(result, value->shouldOverlay); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnRenderProcessRespondingCallback* value) { +inline void WriteToString(std::string* result, const Opt_NativeMediaPlayerConfig* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30134,33 +29558,39 @@ inline void WriteToString(std::string* result, const Opt_OnRenderProcessRespondi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnRenderProcessRespondingCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_NativeMediaPlayerConfig& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RenderProcessNotRespondingData& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_NestedScrollOptions_NestedScrollOptionsExt& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_NestedScrollOptions_NestedScrollOptionsExt: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_RenderProcessNotRespondingData* value) { +inline void WriteToString(std::string* result, const Ark_Union_NestedScrollOptions_NestedScrollOptionsExt* value) { result->append("{"); - // Ark_String jsStack - result->append(".jsStack="); - WriteToString(result, &value->jsStack); - // Ark_Number pid - result->append(", "); - result->append(".pid="); - WriteToString(result, &value->pid); - // Ark_RenderProcessNotRespondingReason reason + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".reason="); - WriteToString(result, value->reason); + // Ark_NestedScrollOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_NestedScrollOptionsExt + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespondingData* value) { +inline void WriteToString(std::string* result, const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30173,25 +29603,33 @@ inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespond result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingData& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnRenderProcessNotRespondingCallback& value) +inline Ark_RuntimeType runtimeType(const Array_ScriptItem& value) { return INTEROP_RUNTIME_OBJECT; } + template <> -inline void WriteToString(std::string* result, const OnRenderProcessNotRespondingCallback* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); +inline void WriteToString(std::string* result, const Ark_ScriptItem* value); + +inline void WriteToString(std::string* result, const Array_ScriptItem* 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_ScriptItem*)&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_OnRenderProcessNotRespondingCallback* value) { +inline void WriteToString(std::string* result, const Opt_Array_ScriptItem* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30204,29 +29642,29 @@ inline void WriteToString(std::string* result, const Opt_OnRenderProcessNotRespo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnRenderProcessNotRespondingCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Array_ScriptItem& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeMediaPlayerConfig& value) +inline Ark_RuntimeType runtimeType(const Ark_ScriptItem& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NativeMediaPlayerConfig* value) { +inline void WriteToString(std::string* result, const Ark_ScriptItem* value) { result->append("{"); - // Ark_Boolean enable - result->append(".enable="); - WriteToString(result, value->enable); - // Ark_Boolean shouldOverlay + // Ark_String script + result->append(".script="); + WriteToString(result, &value->script); + // Array_String scriptRules result->append(", "); - result->append(".shouldOverlay="); - WriteToString(result, value->shouldOverlay); + result->append(".scriptRules="); + WriteToString(result, &value->scriptRules); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NativeMediaPlayerConfig* value) { +inline void WriteToString(std::string* result, const Opt_ScriptItem* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30239,25 +29677,29 @@ inline void WriteToString(std::string* result, const Opt_NativeMediaPlayerConfig result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeMediaPlayerConfig& value) +inline Ark_RuntimeType runtimeType(const Opt_ScriptItem& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnOverrideUrlLoadingCallback& value) +inline Ark_RuntimeType runtimeType(const Ark_WebMediaOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnOverrideUrlLoadingCallback* value) { +inline void WriteToString(std::string* result, const Ark_WebMediaOptions* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Ark_Number resumeInterval + result->append(".resumeInterval="); + WriteToString(result, &value->resumeInterval); + // Ark_Boolean audioExclusive + result->append(", "); + result->append(".audioExclusive="); + WriteToString(result, &value->audioExclusive); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnOverrideUrlLoadingCallback* value) { +inline void WriteToString(std::string* result, const Opt_WebMediaOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30270,64 +29712,45 @@ inline void WriteToString(std::string* result, const Opt_OnOverrideUrlLoadingCal result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnOverrideUrlLoadingCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_WebMediaOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedTouchInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_JavaScriptProxy& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NativeEmbedTouchInfo* value) { +inline void WriteToString(std::string* result, const Ark_JavaScriptProxy* value) { result->append("{"); - // Ark_String embedId - result->append(".embedId="); - WriteToString(result, &value->embedId); - // Ark_TouchEvent touchEvent + // Ark_CustomObject object_ + result->append(".object_="); + WriteToString(result, &value->object_); + // Ark_String name result->append(", "); - result->append(".touchEvent="); - WriteToString(result, &value->touchEvent); - // Ark_EventResult result + result->append(".name="); + WriteToString(result, &value->name); + // Array_String methodList result->append(", "); - result->append(".result="); - WriteToString(result, &value->result); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NativeEmbedTouchInfo* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedTouchInfo& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_NativeEmbedTouchInfo_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_NativeEmbedTouchInfo_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + result->append(".methodList="); + WriteToString(result, &value->methodList); + // Ark_Union_WebController_WebviewController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, &value->controller); + // Array_String asyncMethodList + result->append(", "); + result->append(".asyncMethodList="); + WriteToString(result, &value->asyncMethodList); + // Ark_String permission + result->append(", "); + result->append(".permission="); + WriteToString(result, &value->permission); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_NativeEmbedTouchInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_JavaScriptProxy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30340,29 +29763,33 @@ inline void WriteToString(std::string* result, const Opt_Callback_NativeEmbedTou result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_NativeEmbedTouchInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_JavaScriptProxy& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedVisibilityInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedTouchInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NativeEmbedVisibilityInfo* value) { +inline void WriteToString(std::string* result, const Ark_NativeEmbedTouchInfo* value) { result->append("{"); - // Ark_Boolean visibility - result->append(".visibility="); - WriteToString(result, value->visibility); // Ark_String embedId - result->append(", "); result->append(".embedId="); WriteToString(result, &value->embedId); + // Ark_TouchEvent touchEvent + result->append(", "); + result->append(".touchEvent="); + WriteToString(result, &value->touchEvent); + // Ark_EventResult result + result->append(", "); + result->append(".result="); + WriteToString(result, &value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NativeEmbedVisibilityInfo* value) { +inline void WriteToString(std::string* result, const Opt_NativeEmbedTouchInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30375,17 +29802,17 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedVisibilityIn result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedVisibilityInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedTouchInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnNativeEmbedVisibilityChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_NativeEmbedTouchInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnNativeEmbedVisibilityChangeCallback* value) { +inline void WriteToString(std::string* result, const Callback_NativeEmbedTouchInfo_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -30393,7 +29820,7 @@ inline void WriteToString(std::string* result, const OnNativeEmbedVisibilityChan result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnNativeEmbedVisibilityChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_NativeEmbedTouchInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30406,7 +29833,7 @@ inline void WriteToString(std::string* result, const Opt_OnNativeEmbedVisibility result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnNativeEmbedVisibilityChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_NativeEmbedTouchInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -30485,34 +29912,24 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_NativeEmbedDataInfo_Void& return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_NestedScrollOptions_NestedScrollOptionsExt& value) +inline Ark_RuntimeType runtimeType(const Ark_OnOverScrollEvent& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_NestedScrollOptions_NestedScrollOptionsExt: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_NestedScrollOptions_NestedScrollOptionsExt* value) { +inline void WriteToString(std::string* result, const Ark_OnOverScrollEvent* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Number xOffset + result->append(".xOffset="); + WriteToString(result, &value->xOffset); + // Ark_Number yOffset result->append(", "); - // Ark_NestedScrollOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_NestedScrollOptionsExt - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".yOffset="); + WriteToString(result, &value->yOffset); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt* value) { +inline void WriteToString(std::string* result, const Opt_OnOverScrollEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30525,33 +29942,25 @@ inline void WriteToString(std::string* result, const Opt_Union_NestedScrollOptio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt& value) +inline Ark_RuntimeType runtimeType(const Opt_OnOverScrollEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_ScriptItem& value) +inline Ark_RuntimeType runtimeType(const Callback_OnOverScrollEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } - template <> -inline void WriteToString(std::string* result, const Ark_ScriptItem* value); - -inline void WriteToString(std::string* result, const Array_ScriptItem* 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_ScriptItem*)&value->array[i]); - } - result->append("}})"); - result->append(", .length="); - result->append(std::to_string(value->length)); +inline void WriteToString(std::string* result, const Callback_OnOverScrollEvent_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_Array_ScriptItem* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnOverScrollEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30564,29 +29973,25 @@ inline void WriteToString(std::string* result, const Opt_Array_ScriptItem* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_ScriptItem& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnOverScrollEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScriptItem& value) +inline Ark_RuntimeType runtimeType(const Ark_OnLoadInterceptEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ScriptItem* value) { +inline void WriteToString(std::string* result, const Ark_OnLoadInterceptEvent* value) { result->append("{"); - // Ark_String script - result->append(".script="); - WriteToString(result, &value->script); - // Array_String scriptRules - result->append(", "); - result->append(".scriptRules="); - WriteToString(result, &value->scriptRules); + // Ark_WebResourceRequest data + result->append(".data="); + WriteToString(result, value->data); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ScriptItem* value) { +inline void WriteToString(std::string* result, const Opt_OnLoadInterceptEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30599,29 +30004,25 @@ inline void WriteToString(std::string* result, const Opt_ScriptItem* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScriptItem& value) +inline Ark_RuntimeType runtimeType(const Opt_OnLoadInterceptEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_IntelligentTrackingPreventionDetails& value) +inline Ark_RuntimeType runtimeType(const Callback_OnLoadInterceptEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_IntelligentTrackingPreventionDetails* value) { +inline void WriteToString(std::string* result, const Callback_OnLoadInterceptEvent_Boolean* value) { result->append("{"); - // Ark_String host - result->append(".host="); - WriteToString(result, &value->host); - // Ark_String trackerHost - result->append(", "); - result->append(".trackerHost="); - WriteToString(result, &value->trackerHost); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_IntelligentTrackingPreventionDetails* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnLoadInterceptEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30634,25 +30035,29 @@ inline void WriteToString(std::string* result, const Opt_IntelligentTrackingPrev result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_IntelligentTrackingPreventionDetails& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnLoadInterceptEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnIntelligentTrackingPreventionCallback& value) +inline Ark_RuntimeType runtimeType(const Ark_OnFirstContentfulPaintEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnIntelligentTrackingPreventionCallback* value) { +inline void WriteToString(std::string* result, const Ark_OnFirstContentfulPaintEvent* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Ark_Number navigationStartTick + result->append(".navigationStartTick="); + WriteToString(result, &value->navigationStartTick); + // Ark_Number firstContentfulPaintMs + result->append(", "); + result->append(".firstContentfulPaintMs="); + WriteToString(result, &value->firstContentfulPaintMs); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnIntelligentTrackingPreventionCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnFirstContentfulPaintEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30665,41 +30070,25 @@ inline void WriteToString(std::string* result, const Opt_OnIntelligentTrackingPr result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnIntelligentTrackingPreventionCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnFirstContentfulPaintEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LoadCommittedDetails& value) +inline Ark_RuntimeType runtimeType(const Callback_OnFirstContentfulPaintEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LoadCommittedDetails* value) { +inline void WriteToString(std::string* result, const Callback_OnFirstContentfulPaintEvent_Void* value) { result->append("{"); - // Ark_Boolean isMainFrame - result->append(".isMainFrame="); - WriteToString(result, value->isMainFrame); - // Ark_Boolean isSameDocument - result->append(", "); - result->append(".isSameDocument="); - WriteToString(result, value->isSameDocument); - // Ark_Boolean didReplaceEntry - result->append(", "); - result->append(".didReplaceEntry="); - WriteToString(result, value->didReplaceEntry); - // Ark_WebNavigationType navigationType - result->append(", "); - result->append(".navigationType="); - WriteToString(result, value->navigationType); - // Ark_String url - result->append(", "); - result->append(".url="); - WriteToString(result, &value->url); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LoadCommittedDetails* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnFirstContentfulPaintEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30712,25 +30101,25 @@ inline void WriteToString(std::string* result, const Opt_LoadCommittedDetails* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LoadCommittedDetails& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnFirstContentfulPaintEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnNavigationEntryCommittedCallback& value) +inline Ark_RuntimeType runtimeType(const Ark_OnAudioStateChangedEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnNavigationEntryCommittedCallback* value) { +inline void WriteToString(std::string* result, const Ark_OnAudioStateChangedEvent* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Ark_Boolean playing + result->append(".playing="); + WriteToString(result, value->playing); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnNavigationEntryCommittedCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnAudioStateChangedEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30743,17 +30132,17 @@ inline void WriteToString(std::string* result, const Opt_OnNavigationEntryCommit result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnNavigationEntryCommittedCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnAudioStateChangedEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnSafeBrowsingCheckResultCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_OnAudioStateChangedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnSafeBrowsingCheckResultCallback* value) { +inline void WriteToString(std::string* result, const Callback_OnAudioStateChangedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -30761,7 +30150,7 @@ inline void WriteToString(std::string* result, const OnSafeBrowsingCheckResultCa result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSafeBrowsingCheckResultCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnAudioStateChangedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30774,29 +30163,25 @@ inline void WriteToString(std::string* result, const Opt_OnSafeBrowsingCheckResu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSafeBrowsingCheckResultCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnAudioStateChangedEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnOverScrollEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnDataResubmittedEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnOverScrollEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnDataResubmittedEvent* value) { result->append("{"); - // Ark_Number xOffset - result->append(".xOffset="); - WriteToString(result, &value->xOffset); - // Ark_Number yOffset - result->append(", "); - result->append(".yOffset="); - WriteToString(result, &value->yOffset); + // Ark_DataResubmissionHandler handler + result->append(".handler="); + WriteToString(result, value->handler); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnOverScrollEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnDataResubmittedEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30809,17 +30194,17 @@ inline void WriteToString(std::string* result, const Opt_OnOverScrollEvent* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnOverScrollEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnDataResubmittedEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnOverScrollEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnDataResubmittedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnOverScrollEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnDataResubmittedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -30827,7 +30212,7 @@ inline void WriteToString(std::string* result, const Callback_OnOverScrollEvent_ result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnOverScrollEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnDataResubmittedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30840,25 +30225,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnOverScrollEv result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnOverScrollEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnDataResubmittedEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnLoadInterceptEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPageVisibleEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnLoadInterceptEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnPageVisibleEvent* value) { result->append("{"); - // Ark_WebResourceRequest data - result->append(".data="); - WriteToString(result, value->data); + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnLoadInterceptEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnPageVisibleEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30871,17 +30256,17 @@ inline void WriteToString(std::string* result, const Opt_OnLoadInterceptEvent* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnLoadInterceptEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnPageVisibleEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnLoadInterceptEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPageVisibleEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnLoadInterceptEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_OnPageVisibleEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -30889,7 +30274,7 @@ inline void WriteToString(std::string* result, const Callback_OnLoadInterceptEve result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnLoadInterceptEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnPageVisibleEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30902,45 +30287,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnLoadIntercep result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnLoadInterceptEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPageVisibleEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LargestContentfulPaint& value) +inline Ark_RuntimeType runtimeType(const Ark_OnFaviconReceivedEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LargestContentfulPaint* value) { +inline void WriteToString(std::string* result, const Ark_OnFaviconReceivedEvent* value) { result->append("{"); - // Ark_Number navigationStartTime - result->append(".navigationStartTime="); - WriteToString(result, &value->navigationStartTime); - // Ark_Number largestImagePaintTime - result->append(", "); - result->append(".largestImagePaintTime="); - WriteToString(result, &value->largestImagePaintTime); - // Ark_Number largestTextPaintTime - result->append(", "); - result->append(".largestTextPaintTime="); - WriteToString(result, &value->largestTextPaintTime); - // Ark_Number imageBPP - result->append(", "); - result->append(".imageBPP="); - WriteToString(result, &value->imageBPP); - // Ark_Number largestImageLoadStartTime - result->append(", "); - result->append(".largestImageLoadStartTime="); - WriteToString(result, &value->largestImageLoadStartTime); - // Ark_Number largestImageLoadEndTime - result->append(", "); - result->append(".largestImageLoadEndTime="); - WriteToString(result, &value->largestImageLoadEndTime); + // Ark_PixelMap favicon + result->append(".favicon="); + WriteToString(result, value->favicon); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LargestContentfulPaint* value) { +inline void WriteToString(std::string* result, const Opt_OnFaviconReceivedEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30953,17 +30318,17 @@ inline void WriteToString(std::string* result, const Opt_LargestContentfulPaint* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LargestContentfulPaint& value) +inline Ark_RuntimeType runtimeType(const Opt_OnFaviconReceivedEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnLargestContentfulPaintCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_OnFaviconReceivedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnLargestContentfulPaintCallback* value) { +inline void WriteToString(std::string* result, const Callback_OnFaviconReceivedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -30971,7 +30336,7 @@ inline void WriteToString(std::string* result, const OnLargestContentfulPaintCal result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnLargestContentfulPaintCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnFaviconReceivedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30984,29 +30349,29 @@ inline void WriteToString(std::string* result, const Opt_OnLargestContentfulPain result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnLargestContentfulPaintCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnFaviconReceivedEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FirstMeaningfulPaint& value) +inline Ark_RuntimeType runtimeType(const Ark_OnTouchIconUrlReceivedEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FirstMeaningfulPaint* value) { +inline void WriteToString(std::string* result, const Ark_OnTouchIconUrlReceivedEvent* value) { result->append("{"); - // Ark_Number navigationStartTime - result->append(".navigationStartTime="); - WriteToString(result, &value->navigationStartTime); - // Ark_Number firstMeaningfulPaintTime + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_Boolean precomposed result->append(", "); - result->append(".firstMeaningfulPaintTime="); - WriteToString(result, &value->firstMeaningfulPaintTime); + result->append(".precomposed="); + WriteToString(result, value->precomposed); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FirstMeaningfulPaint* value) { +inline void WriteToString(std::string* result, const Opt_OnTouchIconUrlReceivedEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31019,17 +30384,17 @@ inline void WriteToString(std::string* result, const Opt_FirstMeaningfulPaint* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FirstMeaningfulPaint& value) +inline Ark_RuntimeType runtimeType(const Opt_OnTouchIconUrlReceivedEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnFirstMeaningfulPaintCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_OnTouchIconUrlReceivedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnFirstMeaningfulPaintCallback* value) { +inline void WriteToString(std::string* result, const Callback_OnTouchIconUrlReceivedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31037,7 +30402,7 @@ inline void WriteToString(std::string* result, const OnFirstMeaningfulPaintCallb result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnFirstMeaningfulPaintCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnTouchIconUrlReceivedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31050,30 +30415,38 @@ inline void WriteToString(std::string* result, const Opt_OnFirstMeaningfulPaintC result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnFirstMeaningfulPaintCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnTouchIconUrlReceivedEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnFirstContentfulPaintEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnWindowNewEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnFirstContentfulPaintEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnWindowNewEvent* value) { result->append("{"); - // Ark_Number navigationStartTick - result->append(".navigationStartTick="); - WriteToString(result, &value->navigationStartTick); - // Ark_Number firstContentfulPaintMs + // Ark_Boolean isAlert + result->append(".isAlert="); + WriteToString(result, value->isAlert); + // Ark_Boolean isUserTrigger result->append(", "); - result->append(".firstContentfulPaintMs="); - WriteToString(result, &value->firstContentfulPaintMs); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_OnFirstContentfulPaintEvent* value) { - result->append("{.tag="); + result->append(".isUserTrigger="); + WriteToString(result, value->isUserTrigger); + // Ark_String targetUrl + result->append(", "); + result->append(".targetUrl="); + WriteToString(result, &value->targetUrl); + // Ark_ControllerHandler handler + result->append(", "); + result->append(".handler="); + WriteToString(result, value->handler); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnWindowNewEvent* value) { + result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { @@ -31085,17 +30458,17 @@ inline void WriteToString(std::string* result, const Opt_OnFirstContentfulPaintE result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnFirstContentfulPaintEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnWindowNewEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnFirstContentfulPaintEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnWindowNewEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnFirstContentfulPaintEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnWindowNewEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31103,7 +30476,7 @@ inline void WriteToString(std::string* result, const Callback_OnFirstContentfulP result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnFirstContentfulPaintEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnWindowNewEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31116,25 +30489,41 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnFirstContent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnFirstContentfulPaintEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnWindowNewEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnAudioStateChangedEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnClientAuthenticationEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnAudioStateChangedEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnClientAuthenticationEvent* value) { result->append("{"); - // Ark_Boolean playing - result->append(".playing="); - WriteToString(result, value->playing); + // Ark_ClientAuthenticationHandler handler + result->append(".handler="); + WriteToString(result, value->handler); + // Ark_String host + result->append(", "); + result->append(".host="); + WriteToString(result, &value->host); + // Ark_Number port + result->append(", "); + result->append(".port="); + WriteToString(result, &value->port); + // Array_String keyTypes + result->append(", "); + result->append(".keyTypes="); + WriteToString(result, &value->keyTypes); + // Array_String issuers + result->append(", "); + result->append(".issuers="); + WriteToString(result, &value->issuers); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnAudioStateChangedEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnClientAuthenticationEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31147,17 +30536,17 @@ inline void WriteToString(std::string* result, const Opt_OnAudioStateChangedEven result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnAudioStateChangedEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnClientAuthenticationEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnAudioStateChangedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnClientAuthenticationEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnAudioStateChangedEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnClientAuthenticationEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31165,7 +30554,7 @@ inline void WriteToString(std::string* result, const Callback_OnAudioStateChange result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnAudioStateChangedEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnClientAuthenticationEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31178,25 +30567,33 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnAudioStateCh result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnAudioStateChangedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnClientAuthenticationEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnDataResubmittedEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnSslErrorEventReceiveEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnDataResubmittedEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnSslErrorEventReceiveEvent* value) { result->append("{"); - // Ark_DataResubmissionHandler handler + // Ark_SslErrorHandler handler result->append(".handler="); WriteToString(result, value->handler); + // Ark_SslError error + result->append(", "); + result->append(".error="); + WriteToString(result, value->error); + // Array_Buffer certChainData + result->append(", "); + result->append(".certChainData="); + WriteToString(result, &value->certChainData); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnDataResubmittedEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnSslErrorEventReceiveEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31209,17 +30606,17 @@ inline void WriteToString(std::string* result, const Opt_OnDataResubmittedEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnDataResubmittedEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSslErrorEventReceiveEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnDataResubmittedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnSslErrorEventReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnDataResubmittedEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnSslErrorEventReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31227,7 +30624,7 @@ inline void WriteToString(std::string* result, const Callback_OnDataResubmittedE result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnDataResubmittedEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnSslErrorEventReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31240,25 +30637,29 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnDataResubmit result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnDataResubmittedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnSslErrorEventReceiveEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPageVisibleEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnScrollEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnPageVisibleEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnScrollEvent* value) { result->append("{"); - // Ark_String url - result->append(".url="); - WriteToString(result, &value->url); + // Ark_Number xOffset + result->append(".xOffset="); + WriteToString(result, &value->xOffset); + // Ark_Number yOffset + result->append(", "); + result->append(".yOffset="); + WriteToString(result, &value->yOffset); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnPageVisibleEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnScrollEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31271,17 +30672,17 @@ inline void WriteToString(std::string* result, const Opt_OnPageVisibleEvent* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPageVisibleEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnScrollEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnPageVisibleEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnScrollEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnPageVisibleEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnScrollEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31289,7 +30690,7 @@ inline void WriteToString(std::string* result, const Callback_OnPageVisibleEvent result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnPageVisibleEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnScrollEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31302,25 +30703,33 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPageVisibleE result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPageVisibleEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScrollEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnFaviconReceivedEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnSearchResultReceiveEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnFaviconReceivedEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnSearchResultReceiveEvent* value) { result->append("{"); - // Ark_PixelMap favicon - result->append(".favicon="); - WriteToString(result, value->favicon); + // Ark_Number activeMatchOrdinal + result->append(".activeMatchOrdinal="); + WriteToString(result, &value->activeMatchOrdinal); + // Ark_Number numberOfMatches + result->append(", "); + result->append(".numberOfMatches="); + WriteToString(result, &value->numberOfMatches); + // Ark_Boolean isDoneCounting + result->append(", "); + result->append(".isDoneCounting="); + WriteToString(result, value->isDoneCounting); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnFaviconReceivedEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnSearchResultReceiveEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31333,17 +30742,17 @@ inline void WriteToString(std::string* result, const Opt_OnFaviconReceivedEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnFaviconReceivedEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSearchResultReceiveEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnFaviconReceivedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnSearchResultReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnFaviconReceivedEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnSearchResultReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31351,7 +30760,7 @@ inline void WriteToString(std::string* result, const Callback_OnFaviconReceivedE result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnFaviconReceivedEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnSearchResultReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31364,29 +30773,29 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnFaviconRecei result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnFaviconReceivedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnSearchResultReceiveEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnTouchIconUrlReceivedEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnContextMenuShowEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnTouchIconUrlReceivedEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnContextMenuShowEvent* value) { result->append("{"); - // Ark_String url - result->append(".url="); - WriteToString(result, &value->url); - // Ark_Boolean precomposed + // Ark_WebContextMenuParam param + result->append(".param="); + WriteToString(result, value->param); + // Ark_WebContextMenuResult result result->append(", "); - result->append(".precomposed="); - WriteToString(result, value->precomposed); + result->append(".result="); + WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTouchIconUrlReceivedEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnContextMenuShowEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31399,17 +30808,17 @@ inline void WriteToString(std::string* result, const Opt_OnTouchIconUrlReceivedE result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTouchIconUrlReceivedEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnContextMenuShowEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnTouchIconUrlReceivedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnContextMenuShowEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnTouchIconUrlReceivedEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnContextMenuShowEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31417,7 +30826,7 @@ inline void WriteToString(std::string* result, const Callback_OnTouchIconUrlRece result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnTouchIconUrlReceivedEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnContextMenuShowEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31430,37 +30839,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnTouchIconUrl result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnTouchIconUrlReceivedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnContextMenuShowEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnWindowNewEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnScreenCaptureRequestEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnWindowNewEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnScreenCaptureRequestEvent* value) { result->append("{"); - // Ark_Boolean isAlert - result->append(".isAlert="); - WriteToString(result, value->isAlert); - // Ark_Boolean isUserTrigger - result->append(", "); - result->append(".isUserTrigger="); - WriteToString(result, value->isUserTrigger); - // Ark_String targetUrl - result->append(", "); - result->append(".targetUrl="); - WriteToString(result, &value->targetUrl); - // Ark_ControllerHandler handler - result->append(", "); + // Ark_ScreenCaptureHandler handler result->append(".handler="); WriteToString(result, value->handler); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnWindowNewEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnScreenCaptureRequestEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31473,17 +30870,17 @@ inline void WriteToString(std::string* result, const Opt_OnWindowNewEvent* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnWindowNewEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnScreenCaptureRequestEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnWindowNewEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnScreenCaptureRequestEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnWindowNewEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnScreenCaptureRequestEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31491,7 +30888,7 @@ inline void WriteToString(std::string* result, const Callback_OnWindowNewEvent_V result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnWindowNewEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnScreenCaptureRequestEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31504,41 +30901,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnWindowNewEve result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnWindowNewEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScreenCaptureRequestEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnClientAuthenticationEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPermissionRequestEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnClientAuthenticationEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnPermissionRequestEvent* value) { result->append("{"); - // Ark_ClientAuthenticationHandler handler - result->append(".handler="); - WriteToString(result, value->handler); - // Ark_String host - result->append(", "); - result->append(".host="); - WriteToString(result, &value->host); - // Ark_Number port - result->append(", "); - result->append(".port="); - WriteToString(result, &value->port); - // Array_String keyTypes - result->append(", "); - result->append(".keyTypes="); - WriteToString(result, &value->keyTypes); - // Array_String issuers - result->append(", "); - result->append(".issuers="); - WriteToString(result, &value->issuers); + // Ark_PermissionRequest request + result->append(".request="); + WriteToString(result, value->request); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnClientAuthenticationEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnPermissionRequestEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31551,17 +30932,17 @@ inline void WriteToString(std::string* result, const Opt_OnClientAuthenticationE result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnClientAuthenticationEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnPermissionRequestEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnClientAuthenticationEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPermissionRequestEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnClientAuthenticationEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnPermissionRequestEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31569,7 +30950,7 @@ inline void WriteToString(std::string* result, const Callback_OnClientAuthentica result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnClientAuthenticationEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnPermissionRequestEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31582,49 +30963,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnClientAuthen result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnClientAuthenticationEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPermissionRequestEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SslErrorEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnInterceptRequestEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SslErrorEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnInterceptRequestEvent* value) { result->append("{"); - // Ark_SslErrorHandler handler - result->append(".handler="); - WriteToString(result, value->handler); - // Ark_SslError error - result->append(", "); - result->append(".error="); - WriteToString(result, value->error); - // Ark_String url - result->append(", "); - result->append(".url="); - WriteToString(result, &value->url); - // Ark_String originalUrl - result->append(", "); - result->append(".originalUrl="); - WriteToString(result, &value->originalUrl); - // Ark_String referrer - result->append(", "); - result->append(".referrer="); - WriteToString(result, &value->referrer); - // Ark_Boolean isFatalError - result->append(", "); - result->append(".isFatalError="); - WriteToString(result, value->isFatalError); - // Ark_Boolean isMainFrame - result->append(", "); - result->append(".isMainFrame="); - WriteToString(result, value->isMainFrame); + // Ark_WebResourceRequest request + result->append(".request="); + WriteToString(result, value->request); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SslErrorEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnInterceptRequestEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31637,17 +30994,17 @@ inline void WriteToString(std::string* result, const Opt_SslErrorEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SslErrorEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnInterceptRequestEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnSslErrorEventCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_OnInterceptRequestEvent_WebResourceResponse& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnSslErrorEventCallback* value) { +inline void WriteToString(std::string* result, const Callback_OnInterceptRequestEvent_WebResourceResponse* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31655,7 +31012,7 @@ inline void WriteToString(std::string* result, const OnSslErrorEventCallback* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSslErrorEventCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31668,33 +31025,33 @@ inline void WriteToString(std::string* result, const Opt_OnSslErrorEventCallback result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSslErrorEventCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnSslErrorEventReceiveEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnHttpAuthRequestEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnSslErrorEventReceiveEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnHttpAuthRequestEvent* value) { result->append("{"); - // Ark_SslErrorHandler handler + // Ark_HttpAuthHandler handler result->append(".handler="); WriteToString(result, value->handler); - // Ark_SslError error + // Ark_String host result->append(", "); - result->append(".error="); - WriteToString(result, value->error); - // Array_Buffer certChainData + result->append(".host="); + WriteToString(result, &value->host); + // Ark_String realm result->append(", "); - result->append(".certChainData="); - WriteToString(result, &value->certChainData); + result->append(".realm="); + WriteToString(result, &value->realm); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSslErrorEventReceiveEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnHttpAuthRequestEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31707,17 +31064,17 @@ inline void WriteToString(std::string* result, const Opt_OnSslErrorEventReceiveE result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSslErrorEventReceiveEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnHttpAuthRequestEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnSslErrorEventReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnHttpAuthRequestEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnSslErrorEventReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnHttpAuthRequestEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31725,7 +31082,7 @@ inline void WriteToString(std::string* result, const Callback_OnSslErrorEventRec result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnSslErrorEventReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnHttpAuthRequestEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31738,29 +31095,29 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnSslErrorEven result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnSslErrorEventReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnHttpAuthRequestEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnScrollEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnScaleChangeEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnScrollEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnScaleChangeEvent* value) { result->append("{"); - // Ark_Number xOffset - result->append(".xOffset="); - WriteToString(result, &value->xOffset); - // Ark_Number yOffset + // Ark_Number oldScale + result->append(".oldScale="); + WriteToString(result, &value->oldScale); + // Ark_Number newScale result->append(", "); - result->append(".yOffset="); - WriteToString(result, &value->yOffset); + result->append(".newScale="); + WriteToString(result, &value->newScale); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnScrollEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnScaleChangeEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31773,17 +31130,17 @@ inline void WriteToString(std::string* result, const Opt_OnScrollEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScrollEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnScaleChangeEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnScrollEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnScaleChangeEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnScrollEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnScaleChangeEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31791,46 +31148,7 @@ inline void WriteToString(std::string* result, const Callback_OnScrollEvent_Void result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnScrollEvent_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScrollEvent_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_OnSearchResultReceiveEvent& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_OnSearchResultReceiveEvent* value) { - result->append("{"); - // Ark_Number activeMatchOrdinal - result->append(".activeMatchOrdinal="); - WriteToString(result, &value->activeMatchOrdinal); - // Ark_Number numberOfMatches - result->append(", "); - result->append(".numberOfMatches="); - WriteToString(result, &value->numberOfMatches); - // Ark_Boolean isDoneCounting - result->append(", "); - result->append(".isDoneCounting="); - WriteToString(result, value->isDoneCounting); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_OnSearchResultReceiveEvent* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnScaleChangeEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31843,25 +31161,25 @@ inline void WriteToString(std::string* result, const Opt_OnSearchResultReceiveEv result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSearchResultReceiveEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScaleChangeEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnSearchResultReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Ark_OnResourceLoadEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnSearchResultReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const Ark_OnResourceLoadEvent* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnSearchResultReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnResourceLoadEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31874,17 +31192,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnSearchResult result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnSearchResultReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnResourceLoadEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnContextMenuHideCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_OnResourceLoadEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnContextMenuHideCallback* value) { +inline void WriteToString(std::string* result, const Callback_OnResourceLoadEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31892,7 +31210,7 @@ inline void WriteToString(std::string* result, const OnContextMenuHideCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnContextMenuHideCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnResourceLoadEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31905,29 +31223,29 @@ inline void WriteToString(std::string* result, const Opt_OnContextMenuHideCallba result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnContextMenuHideCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnResourceLoadEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnContextMenuShowEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_Function_callback__Object_fileSelector& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnContextMenuShowEvent* value) { +inline void WriteToString(std::string* result, const Ark_Literal_Function_callback__Object_fileSelector* value) { result->append("{"); - // Ark_WebContextMenuParam param - result->append(".param="); - WriteToString(result, value->param); - // Ark_WebContextMenuResult result + // Ark_Function callback_ + result->append(".callback_="); + WriteToString(result, value->callback_); + // Ark_CustomObject fileSelector result->append(", "); - result->append(".result="); - WriteToString(result, value->result); + result->append(".fileSelector="); + WriteToString(result, &value->fileSelector); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnContextMenuShowEvent* value) { +inline void WriteToString(std::string* result, const Opt_Literal_Function_callback__Object_fileSelector* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31940,17 +31258,17 @@ inline void WriteToString(std::string* result, const Opt_OnContextMenuShowEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnContextMenuShowEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal_Function_callback__Object_fileSelector& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnContextMenuShowEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Type_WebAttribute_onFileSelectorShow_callback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnContextMenuShowEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Type_WebAttribute_onFileSelectorShow_callback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -31958,7 +31276,7 @@ inline void WriteToString(std::string* result, const Callback_OnContextMenuShowE result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnContextMenuShowEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Type_WebAttribute_onFileSelectorShow_callback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31971,25 +31289,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnContextMenuS result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnContextMenuShowEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Type_WebAttribute_onFileSelectorShow_callback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnScreenCaptureRequestEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_Object_detail& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnScreenCaptureRequestEvent* value) { +inline void WriteToString(std::string* result, const Ark_Literal_Object_detail* value) { result->append("{"); - // Ark_ScreenCaptureHandler handler - result->append(".handler="); - WriteToString(result, value->handler); + // Ark_CustomObject detail + result->append(".detail="); + WriteToString(result, &value->detail); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnScreenCaptureRequestEvent* value) { +inline void WriteToString(std::string* result, const Opt_Literal_Object_detail* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32002,17 +31320,17 @@ inline void WriteToString(std::string* result, const Opt_OnScreenCaptureRequestE result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScreenCaptureRequestEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal_Object_detail& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnScreenCaptureRequestEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_Literal_Object_detail_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnScreenCaptureRequestEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_Literal_Object_detail_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32020,7 +31338,7 @@ inline void WriteToString(std::string* result, const Callback_OnScreenCaptureReq result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnScreenCaptureRequestEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Literal_Object_detail_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32033,25 +31351,29 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScreenCaptur result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScreenCaptureRequestEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Object_detail_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPermissionRequestEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnShowFileSelectorEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnPermissionRequestEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnShowFileSelectorEvent* value) { result->append("{"); - // Ark_PermissionRequest request - result->append(".request="); - WriteToString(result, value->request); + // Ark_FileSelectorResult result + result->append(".result="); + WriteToString(result, value->result); + // Ark_FileSelectorParam fileSelector + result->append(", "); + result->append(".fileSelector="); + WriteToString(result, value->fileSelector); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnPermissionRequestEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnShowFileSelectorEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32064,17 +31386,17 @@ inline void WriteToString(std::string* result, const Opt_OnPermissionRequestEven result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPermissionRequestEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnShowFileSelectorEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnPermissionRequestEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnShowFileSelectorEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnPermissionRequestEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnShowFileSelectorEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32082,7 +31404,7 @@ inline void WriteToString(std::string* result, const Callback_OnPermissionReques result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnPermissionRequestEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnShowFileSelectorEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32095,25 +31417,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPermissionRe result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPermissionRequestEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnShowFileSelectorEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnInterceptRequestEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnRenderExitedEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnInterceptRequestEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnRenderExitedEvent* value) { result->append("{"); - // Ark_WebResourceRequest request - result->append(".request="); - WriteToString(result, value->request); + // Ark_RenderExitReason renderExitReason + result->append(".renderExitReason="); + WriteToString(result, value->renderExitReason); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnInterceptRequestEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnRenderExitedEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32126,17 +31448,17 @@ inline void WriteToString(std::string* result, const Opt_OnInterceptRequestEvent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnInterceptRequestEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnRenderExitedEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnInterceptRequestEvent_WebResourceResponse& value) +inline Ark_RuntimeType runtimeType(const Callback_OnRenderExitedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnInterceptRequestEvent_WebResourceResponse* value) { +inline void WriteToString(std::string* result, const Callback_OnRenderExitedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32144,7 +31466,7 @@ inline void WriteToString(std::string* result, const Callback_OnInterceptRequest result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnRenderExitedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32157,33 +31479,29 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnInterceptReq result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnRenderExitedEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnHttpAuthRequestEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_Function_handler_Object_error& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnHttpAuthRequestEvent* value) { +inline void WriteToString(std::string* result, const Ark_Literal_Function_handler_Object_error* value) { result->append("{"); - // Ark_HttpAuthHandler handler + // Ark_Function handler result->append(".handler="); WriteToString(result, value->handler); - // Ark_String host + // Ark_CustomObject error result->append(", "); - result->append(".host="); - WriteToString(result, &value->host); - // Ark_String realm - result->append(", "); - result->append(".realm="); - WriteToString(result, &value->realm); + result->append(".error="); + WriteToString(result, &value->error); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnHttpAuthRequestEvent* value) { +inline void WriteToString(std::string* result, const Opt_Literal_Function_handler_Object_error* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32196,17 +31514,17 @@ inline void WriteToString(std::string* result, const Opt_OnHttpAuthRequestEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnHttpAuthRequestEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal_Function_handler_Object_error& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnHttpAuthRequestEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_Literal_Function_handler_Object_error_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnHttpAuthRequestEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_Literal_Function_handler_Object_error_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32214,7 +31532,7 @@ inline void WriteToString(std::string* result, const Callback_OnHttpAuthRequestE result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnHttpAuthRequestEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Literal_Function_handler_Object_error_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32227,29 +31545,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnHttpAuthRequ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnHttpAuthRequestEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Function_handler_Object_error_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnScaleChangeEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_Union_String_WebResourceRequest_data& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnScaleChangeEvent* value) { +inline void WriteToString(std::string* result, const Ark_Literal_Union_String_WebResourceRequest_data* value) { result->append("{"); - // Ark_Number oldScale - result->append(".oldScale="); - WriteToString(result, &value->oldScale); - // Ark_Number newScale - result->append(", "); - result->append(".newScale="); - WriteToString(result, &value->newScale); + // Ark_Union_String_WebResourceRequest data + result->append(".data="); + WriteToString(result, &value->data); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnScaleChangeEvent* value) { +inline void WriteToString(std::string* result, const Opt_Literal_Union_String_WebResourceRequest_data* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32262,17 +31576,17 @@ inline void WriteToString(std::string* result, const Opt_OnScaleChangeEvent* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScaleChangeEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal_Union_String_WebResourceRequest_data& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnScaleChangeEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Type_WebAttribute_onUrlLoadIntercept_callback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnScaleChangeEvent_Void* value) { +inline void WriteToString(std::string* result, const Type_WebAttribute_onUrlLoadIntercept_callback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32280,7 +31594,7 @@ inline void WriteToString(std::string* result, const Callback_OnScaleChangeEvent result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnScaleChangeEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Type_WebAttribute_onUrlLoadIntercept_callback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32293,33 +31607,29 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScaleChangeE result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScaleChangeEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Type_WebAttribute_onUrlLoadIntercept_callback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FullScreenEnterEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnRefreshAccessedHistoryEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FullScreenEnterEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnRefreshAccessedHistoryEvent* value) { result->append("{"); - // Ark_FullScreenExitHandler handler - result->append(".handler="); - WriteToString(result, value->handler); - // Ark_Number videoWidth - result->append(", "); - result->append(".videoWidth="); - WriteToString(result, &value->videoWidth); - // Ark_Number videoHeight + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_Boolean isRefreshed result->append(", "); - result->append(".videoHeight="); - WriteToString(result, &value->videoHeight); + result->append(".isRefreshed="); + WriteToString(result, value->isRefreshed); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FullScreenEnterEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnRefreshAccessedHistoryEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32332,17 +31642,17 @@ inline void WriteToString(std::string* result, const Opt_FullScreenEnterEvent* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FullScreenEnterEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnRefreshAccessedHistoryEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnFullScreenEnterCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_OnRefreshAccessedHistoryEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnFullScreenEnterCallback* value) { +inline void WriteToString(std::string* result, const Callback_OnRefreshAccessedHistoryEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32350,7 +31660,7 @@ inline void WriteToString(std::string* result, const OnFullScreenEnterCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnFullScreenEnterCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnRefreshAccessedHistoryEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32363,25 +31673,41 @@ inline void WriteToString(std::string* result, const Opt_OnFullScreenEnterCallba result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnFullScreenEnterCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnRefreshAccessedHistoryEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnResourceLoadEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnDownloadStartEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnResourceLoadEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnDownloadStartEvent* value) { result->append("{"); // Ark_String url result->append(".url="); WriteToString(result, &value->url); + // Ark_String userAgent + result->append(", "); + result->append(".userAgent="); + WriteToString(result, &value->userAgent); + // Ark_String contentDisposition + result->append(", "); + result->append(".contentDisposition="); + WriteToString(result, &value->contentDisposition); + // Ark_String mimetype + result->append(", "); + result->append(".mimetype="); + WriteToString(result, &value->mimetype); + // Ark_Number contentLength + result->append(", "); + result->append(".contentLength="); + WriteToString(result, &value->contentLength); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnResourceLoadEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnDownloadStartEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32394,17 +31720,17 @@ inline void WriteToString(std::string* result, const Opt_OnResourceLoadEvent* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnResourceLoadEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnDownloadStartEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnResourceLoadEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnDownloadStartEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnResourceLoadEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnDownloadStartEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32412,7 +31738,7 @@ inline void WriteToString(std::string* result, const Callback_OnResourceLoadEven result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnResourceLoadEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnDownloadStartEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32425,29 +31751,29 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnResourceLoad result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnResourceLoadEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnDownloadStartEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_Function_callback__Object_fileSelector& value) +inline Ark_RuntimeType runtimeType(const Ark_OnHttpErrorReceiveEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal_Function_callback__Object_fileSelector* value) { +inline void WriteToString(std::string* result, const Ark_OnHttpErrorReceiveEvent* value) { result->append("{"); - // Ark_Function callback_ - result->append(".callback_="); - WriteToString(result, value->callback_); - // Ark_CustomObject fileSelector + // Ark_WebResourceRequest request + result->append(".request="); + WriteToString(result, value->request); + // Ark_WebResourceResponse response result->append(", "); - result->append(".fileSelector="); - WriteToString(result, &value->fileSelector); + result->append(".response="); + WriteToString(result, value->response); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Literal_Function_callback__Object_fileSelector* value) { +inline void WriteToString(std::string* result, const Opt_OnHttpErrorReceiveEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32460,17 +31786,17 @@ inline void WriteToString(std::string* result, const Opt_Literal_Function_callba result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_Function_callback__Object_fileSelector& value) +inline Ark_RuntimeType runtimeType(const Opt_OnHttpErrorReceiveEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Type_WebAttribute_onFileSelectorShow_callback& value) +inline Ark_RuntimeType runtimeType(const Callback_OnHttpErrorReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Type_WebAttribute_onFileSelectorShow_callback* value) { +inline void WriteToString(std::string* result, const Callback_OnHttpErrorReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32478,7 +31804,7 @@ inline void WriteToString(std::string* result, const Type_WebAttribute_onFileSel result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Type_WebAttribute_onFileSelectorShow_callback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnHttpErrorReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32491,25 +31817,29 @@ inline void WriteToString(std::string* result, const Opt_Type_WebAttribute_onFil result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_WebAttribute_onFileSelectorShow_callback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnHttpErrorReceiveEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_Object_detail& value) +inline Ark_RuntimeType runtimeType(const Ark_OnErrorReceiveEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal_Object_detail* value) { +inline void WriteToString(std::string* result, const Ark_OnErrorReceiveEvent* value) { result->append("{"); - // Ark_CustomObject detail - result->append(".detail="); - WriteToString(result, &value->detail); + // Ark_WebResourceRequest request + result->append(".request="); + WriteToString(result, value->request); + // Ark_WebResourceError error + result->append(", "); + result->append(".error="); + WriteToString(result, value->error); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Literal_Object_detail* value) { +inline void WriteToString(std::string* result, const Opt_OnErrorReceiveEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32522,17 +31852,17 @@ inline void WriteToString(std::string* result, const Opt_Literal_Object_detail* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_Object_detail& value) +inline Ark_RuntimeType runtimeType(const Opt_OnErrorReceiveEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Literal_Object_detail_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_OnErrorReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Literal_Object_detail_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_OnErrorReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32540,7 +31870,7 @@ inline void WriteToString(std::string* result, const Callback_Literal_Object_det result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Literal_Object_detail_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnErrorReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32553,29 +31883,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Object result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Object_detail_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnErrorReceiveEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnShowFileSelectorEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnConsoleEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnShowFileSelectorEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnConsoleEvent* value) { result->append("{"); - // Ark_FileSelectorResult result - result->append(".result="); - WriteToString(result, value->result); - // Ark_FileSelectorParam fileSelector - result->append(", "); - result->append(".fileSelector="); - WriteToString(result, value->fileSelector); + // Ark_ConsoleMessage message + result->append(".message="); + WriteToString(result, value->message); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnShowFileSelectorEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnConsoleEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32588,17 +31914,17 @@ inline void WriteToString(std::string* result, const Opt_OnShowFileSelectorEvent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnShowFileSelectorEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnConsoleEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnShowFileSelectorEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_OnConsoleEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnShowFileSelectorEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_OnConsoleEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32606,7 +31932,7 @@ inline void WriteToString(std::string* result, const Callback_OnShowFileSelector result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnShowFileSelectorEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnConsoleEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32619,25 +31945,37 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnShowFileSele result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnShowFileSelectorEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnConsoleEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnRenderExitedEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPromptEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnRenderExitedEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnPromptEvent* value) { result->append("{"); - // Ark_RenderExitReason renderExitReason - result->append(".renderExitReason="); - WriteToString(result, value->renderExitReason); + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String message + result->append(", "); + result->append(".message="); + WriteToString(result, &value->message); + // Ark_String value + result->append(", "); + result->append(".value="); + WriteToString(result, &value->value); + // Ark_JsResult result + result->append(", "); + result->append(".result="); + WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnRenderExitedEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnPromptEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32650,17 +31988,17 @@ inline void WriteToString(std::string* result, const Opt_OnRenderExitedEvent* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnRenderExitedEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnPromptEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnRenderExitedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPromptEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnRenderExitedEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnPromptEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32668,7 +32006,7 @@ inline void WriteToString(std::string* result, const Callback_OnRenderExitedEven result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnRenderExitedEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnPromptEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32681,29 +32019,33 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnRenderExited result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnRenderExitedEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPromptEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_Function_handler_Object_error& value) +inline Ark_RuntimeType runtimeType(const Ark_OnConfirmEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal_Function_handler_Object_error* value) { +inline void WriteToString(std::string* result, const Ark_OnConfirmEvent* value) { result->append("{"); - // Ark_Function handler - result->append(".handler="); - WriteToString(result, value->handler); - // Ark_CustomObject error + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String message result->append(", "); - result->append(".error="); - WriteToString(result, &value->error); + result->append(".message="); + WriteToString(result, &value->message); + // Ark_JsResult result + result->append(", "); + result->append(".result="); + WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Literal_Function_handler_Object_error* value) { +inline void WriteToString(std::string* result, const Opt_OnConfirmEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32716,17 +32058,17 @@ inline void WriteToString(std::string* result, const Opt_Literal_Function_handle result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_Function_handler_Object_error& value) +inline Ark_RuntimeType runtimeType(const Opt_OnConfirmEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Literal_Function_handler_Object_error_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnConfirmEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Literal_Function_handler_Object_error_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnConfirmEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32734,7 +32076,7 @@ inline void WriteToString(std::string* result, const Callback_Literal_Function_h result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Literal_Function_handler_Object_error_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnConfirmEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32747,25 +32089,33 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Functi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Function_handler_Object_error_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnConfirmEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_Union_String_WebResourceRequest_data& value) +inline Ark_RuntimeType runtimeType(const Ark_OnBeforeUnloadEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal_Union_String_WebResourceRequest_data* value) { +inline void WriteToString(std::string* result, const Ark_OnBeforeUnloadEvent* value) { result->append("{"); - // Ark_Union_String_WebResourceRequest data - result->append(".data="); - WriteToString(result, &value->data); + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String message + result->append(", "); + result->append(".message="); + WriteToString(result, &value->message); + // Ark_JsResult result + result->append(", "); + result->append(".result="); + WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Literal_Union_String_WebResourceRequest_data* value) { +inline void WriteToString(std::string* result, const Opt_OnBeforeUnloadEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32778,17 +32128,17 @@ inline void WriteToString(std::string* result, const Opt_Literal_Union_String_We result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_Union_String_WebResourceRequest_data& value) +inline Ark_RuntimeType runtimeType(const Opt_OnBeforeUnloadEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Type_WebAttribute_onUrlLoadIntercept_callback& value) +inline Ark_RuntimeType runtimeType(const Callback_OnBeforeUnloadEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Type_WebAttribute_onUrlLoadIntercept_callback* value) { +inline void WriteToString(std::string* result, const Callback_OnBeforeUnloadEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32796,7 +32146,7 @@ inline void WriteToString(std::string* result, const Type_WebAttribute_onUrlLoad result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Type_WebAttribute_onUrlLoadIntercept_callback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnBeforeUnloadEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32809,29 +32159,33 @@ inline void WriteToString(std::string* result, const Opt_Type_WebAttribute_onUrl result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_WebAttribute_onUrlLoadIntercept_callback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnBeforeUnloadEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnRefreshAccessedHistoryEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnAlertEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnRefreshAccessedHistoryEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnAlertEvent* value) { result->append("{"); // Ark_String url result->append(".url="); WriteToString(result, &value->url); - // Ark_Boolean isRefreshed + // Ark_String message result->append(", "); - result->append(".isRefreshed="); - WriteToString(result, value->isRefreshed); + result->append(".message="); + WriteToString(result, &value->message); + // Ark_JsResult result + result->append(", "); + result->append(".result="); + WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnRefreshAccessedHistoryEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnAlertEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32844,17 +32198,17 @@ inline void WriteToString(std::string* result, const Opt_OnRefreshAccessedHistor result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnRefreshAccessedHistoryEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnAlertEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnRefreshAccessedHistoryEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnAlertEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnRefreshAccessedHistoryEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnAlertEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32862,7 +32216,7 @@ inline void WriteToString(std::string* result, const Callback_OnRefreshAccessedH result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnRefreshAccessedHistoryEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnAlertEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32875,41 +32229,29 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnRefreshAcces result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnRefreshAccessedHistoryEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnAlertEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnDownloadStartEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnGeolocationShowEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnDownloadStartEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnGeolocationShowEvent* value) { result->append("{"); - // Ark_String url - result->append(".url="); - WriteToString(result, &value->url); - // Ark_String userAgent - result->append(", "); - result->append(".userAgent="); - WriteToString(result, &value->userAgent); - // Ark_String contentDisposition - result->append(", "); - result->append(".contentDisposition="); - WriteToString(result, &value->contentDisposition); - // Ark_String mimetype - result->append(", "); - result->append(".mimetype="); - WriteToString(result, &value->mimetype); - // Ark_Number contentLength + // Ark_String origin + result->append(".origin="); + WriteToString(result, &value->origin); + // Ark_JsGeolocation geolocation result->append(", "); - result->append(".contentLength="); - WriteToString(result, &value->contentLength); + result->append(".geolocation="); + WriteToString(result, value->geolocation); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnDownloadStartEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnGeolocationShowEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32922,17 +32264,17 @@ inline void WriteToString(std::string* result, const Opt_OnDownloadStartEvent* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnDownloadStartEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnGeolocationShowEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnDownloadStartEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnGeolocationShowEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnDownloadStartEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnGeolocationShowEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -32940,7 +32282,7 @@ inline void WriteToString(std::string* result, const Callback_OnDownloadStartEve result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnDownloadStartEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnGeolocationShowEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32953,29 +32295,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnDownloadStar result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnDownloadStartEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnGeolocationShowEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnHttpErrorReceiveEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnTitleReceiveEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnHttpErrorReceiveEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnTitleReceiveEvent* value) { result->append("{"); - // Ark_WebResourceRequest request - result->append(".request="); - WriteToString(result, value->request); - // Ark_WebResourceResponse response - result->append(", "); - result->append(".response="); - WriteToString(result, value->response); + // Ark_String title + result->append(".title="); + WriteToString(result, &value->title); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnHttpErrorReceiveEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnTitleReceiveEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -32988,17 +32326,17 @@ inline void WriteToString(std::string* result, const Opt_OnHttpErrorReceiveEvent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnHttpErrorReceiveEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnTitleReceiveEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnHttpErrorReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnTitleReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnHttpErrorReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnTitleReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -33006,7 +32344,7 @@ inline void WriteToString(std::string* result, const Callback_OnHttpErrorReceive result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnHttpErrorReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnTitleReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33019,29 +32357,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnHttpErrorRec result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnHttpErrorReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnTitleReceiveEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnErrorReceiveEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnProgressChangeEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnErrorReceiveEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnProgressChangeEvent* value) { result->append("{"); - // Ark_WebResourceRequest request - result->append(".request="); - WriteToString(result, value->request); - // Ark_WebResourceError error - result->append(", "); - result->append(".error="); - WriteToString(result, value->error); + // Ark_Number newProgress + result->append(".newProgress="); + WriteToString(result, &value->newProgress); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnErrorReceiveEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnProgressChangeEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33054,17 +32388,17 @@ inline void WriteToString(std::string* result, const Opt_OnErrorReceiveEvent* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnErrorReceiveEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnProgressChangeEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnErrorReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnProgressChangeEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnErrorReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnProgressChangeEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -33072,7 +32406,7 @@ inline void WriteToString(std::string* result, const Callback_OnErrorReceiveEven result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnErrorReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnProgressChangeEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33085,25 +32419,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnErrorReceive result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnErrorReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnProgressChangeEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnConsoleEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPageBeginEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnConsoleEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnPageBeginEvent* value) { result->append("{"); - // Ark_ConsoleMessage message - result->append(".message="); - WriteToString(result, value->message); + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnConsoleEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnPageBeginEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33116,17 +32450,17 @@ inline void WriteToString(std::string* result, const Opt_OnConsoleEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnConsoleEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnPageBeginEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnConsoleEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPageBeginEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnConsoleEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_OnPageBeginEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -33134,7 +32468,7 @@ inline void WriteToString(std::string* result, const Callback_OnConsoleEvent_Boo result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnConsoleEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnPageBeginEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33147,37 +32481,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnConsoleEvent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnConsoleEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPageBeginEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPromptEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPageEndEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnPromptEvent* value) { +inline void WriteToString(std::string* result, const Ark_OnPageEndEvent* value) { result->append("{"); // Ark_String url result->append(".url="); WriteToString(result, &value->url); - // Ark_String message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_String value - result->append(", "); - result->append(".value="); - WriteToString(result, &value->value); - // Ark_JsResult result - result->append(", "); - result->append(".result="); - WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnPromptEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnPageEndEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33190,17 +32512,17 @@ inline void WriteToString(std::string* result, const Opt_OnPromptEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPromptEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnPageEndEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnPromptEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPageEndEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnPromptEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_OnPageEndEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -33208,7 +32530,7 @@ inline void WriteToString(std::string* result, const Callback_OnPromptEvent_Bool result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnPromptEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnPageEndEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33221,38 +32543,28 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPromptEvent_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPromptEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPageEndEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnConfirmEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardAvoidMode& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_OnConfirmEvent* value) { - result->append("{"); - // Ark_String url - result->append(".url="); - WriteToString(result, &value->url); - // Ark_String message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_JsResult result - result->append(", "); - result->append(".result="); - WriteToString(result, value->result); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_WebKeyboardAvoidMode value) { + result->append("Ark_WebKeyboardAvoidMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_OnConfirmEvent* value) { +inline void WriteToString(std::string* result, const Opt_WebKeyboardAvoidMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33260,25 +32572,41 @@ inline void WriteToString(std::string* result, const Opt_OnConfirmEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnConfirmEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardAvoidMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnConfirmEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Ark_WebOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnConfirmEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Ark_WebOptions* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Ark_Union_String_Resource src + result->append(".src="); + WriteToString(result, &value->src); + // Ark_Union_WebController_WebviewController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, &value->controller); + // Ark_RenderMode renderMode + result->append(", "); + result->append(".renderMode="); + WriteToString(result, &value->renderMode); + // Ark_Boolean incognitoMode + result->append(", "); + result->append(".incognitoMode="); + WriteToString(result, &value->incognitoMode); + // Ark_String sharedRenderProcessToken + result->append(", "); + result->append(".sharedRenderProcessToken="); + WriteToString(result, &value->sharedRenderProcessToken); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnConfirmEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_WebOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33291,33 +32619,51 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnConfirmEvent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnConfirmEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_WebOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnBeforeUnloadEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_Resource_Buffer& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_Number_Resource_Buffer: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_OnBeforeUnloadEvent* value) { +inline void WriteToString(std::string* result, const Ark_Union_String_Number_Resource_Buffer* value) { result->append("{"); - // Ark_String url - result->append(".url="); - WriteToString(result, &value->url); - // Ark_String message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_JsResult result + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".result="); - WriteToString(result, value->result); + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Number + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_Resource + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + // Ark_Buffer + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, value->value3); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnBeforeUnloadEvent* value) { +inline void WriteToString(std::string* result, const Opt_Union_String_Number_Resource_Buffer* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33330,25 +32676,51 @@ inline void WriteToString(std::string* result, const Opt_OnBeforeUnloadEvent* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnBeforeUnloadEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Resource_Buffer& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnBeforeUnloadEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_Buffer_Resource& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_Number_Buffer_Resource: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Callback_OnBeforeUnloadEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Ark_Union_String_Number_Buffer_Resource* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Number + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_Buffer + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, value->value2); + } + // Ark_Resource + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, &value->value3); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnBeforeUnloadEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Union_String_Number_Buffer_Resource* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33361,33 +32733,29 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnBeforeUnload result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnBeforeUnloadEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Buffer_Resource& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnAlertEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Header& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnAlertEvent* value) { +inline void WriteToString(std::string* result, const Ark_Header* value) { result->append("{"); - // Ark_String url - result->append(".url="); - WriteToString(result, &value->url); - // Ark_String message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_JsResult result + // Ark_String headerKey + result->append(".headerKey="); + WriteToString(result, &value->headerKey); + // Ark_String headerValue result->append(", "); - result->append(".result="); - WriteToString(result, value->result); + result->append(".headerValue="); + WriteToString(result, &value->headerValue); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnAlertEvent* value) { +inline void WriteToString(std::string* result, const Opt_Header* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33400,30 +32768,28 @@ inline void WriteToString(std::string* result, const Opt_OnAlertEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnAlertEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Header& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnAlertEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuEditStateFlags& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Callback_OnAlertEvent_Boolean* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_ContextMenuEditStateFlags value) { + result->append("Ark_ContextMenuEditStateFlags("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnAlertEvent_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_ContextMenuEditStateFlags* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33431,34 +32797,57 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnAlertEvent_B result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnAlertEvent_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_ContextMenuEditStateFlags& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnGeolocationShowEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_ProtectedResourceType& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_OnGeolocationShowEvent* value) { - result->append("{"); - // Ark_String origin - result->append(".origin="); - WriteToString(result, &value->origin); - // Ark_JsGeolocation geolocation - result->append(", "); - result->append(".geolocation="); - WriteToString(result, value->geolocation); +inline void WriteToString(std::string* result, const Ark_ProtectedResourceType value) { + result->append("Ark_ProtectedResourceType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ProtectedResourceType* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnGeolocationShowEvent* value) { +inline Ark_RuntimeType runtimeType(const Opt_ProtectedResourceType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WebLayoutMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebLayoutMode value) { + result->append("Ark_WebLayoutMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebLayoutMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33466,17 +32855,17 @@ inline void WriteToString(std::string* result, const Opt_OnGeolocationShowEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnGeolocationShowEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_WebLayoutMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnGeolocationShowEvent_Void& value) +inline Ark_RuntimeType runtimeType(const OnContextMenuHideCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnGeolocationShowEvent_Void* value) { +inline void WriteToString(std::string* result, const OnContextMenuHideCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -33484,7 +32873,7 @@ inline void WriteToString(std::string* result, const Callback_OnGeolocationShowE result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnGeolocationShowEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnContextMenuHideCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33497,25 +32886,33 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnGeolocationS result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnGeolocationShowEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnContextMenuHideCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnTitleReceiveEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_FullScreenEnterEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnTitleReceiveEvent* value) { +inline void WriteToString(std::string* result, const Ark_FullScreenEnterEvent* value) { result->append("{"); - // Ark_String title - result->append(".title="); - WriteToString(result, &value->title); + // Ark_FullScreenExitHandler handler + result->append(".handler="); + WriteToString(result, value->handler); + // Ark_Number videoWidth + result->append(", "); + result->append(".videoWidth="); + WriteToString(result, &value->videoWidth); + // Ark_Number videoHeight + result->append(", "); + result->append(".videoHeight="); + WriteToString(result, &value->videoHeight); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTitleReceiveEvent* value) { +inline void WriteToString(std::string* result, const Opt_FullScreenEnterEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33528,17 +32925,17 @@ inline void WriteToString(std::string* result, const Opt_OnTitleReceiveEvent* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTitleReceiveEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_FullScreenEnterEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnTitleReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const OnFullScreenEnterCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnTitleReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const OnFullScreenEnterCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -33546,7 +32943,7 @@ inline void WriteToString(std::string* result, const Callback_OnTitleReceiveEven result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnTitleReceiveEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnFullScreenEnterCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33559,30 +32956,28 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnTitleReceive result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnTitleReceiveEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnFullScreenEnterCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnProgressChangeEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_WebDarkMode& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_OnProgressChangeEvent* value) { - result->append("{"); - // Ark_Number newProgress - result->append(".newProgress="); - WriteToString(result, &value->newProgress); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_WebDarkMode value) { + result->append("Ark_WebDarkMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_OnProgressChangeEvent* value) { +inline void WriteToString(std::string* result, const Opt_WebDarkMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33590,30 +32985,28 @@ inline void WriteToString(std::string* result, const Opt_OnProgressChangeEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnProgressChangeEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_WebDarkMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnProgressChangeEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Ark_OverScrollMode& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Callback_OnProgressChangeEvent_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_OverScrollMode value) { + result->append("Ark_OverScrollMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnProgressChangeEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_OverScrollMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33621,30 +33014,28 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnProgressChan result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnProgressChangeEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OverScrollMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPageBeginEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_CacheMode& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_OnPageBeginEvent* value) { - result->append("{"); - // Ark_String url - result->append(".url="); - WriteToString(result, &value->url); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_CacheMode value) { + result->append("Ark_CacheMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_OnPageBeginEvent* value) { +inline void WriteToString(std::string* result, const Opt_CacheMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33652,30 +33043,28 @@ inline void WriteToString(std::string* result, const Opt_OnPageBeginEvent* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPageBeginEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_CacheMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnPageBeginEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Ark_ThreatType& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Callback_OnPageBeginEvent_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_ThreatType value) { + result->append("Ark_ThreatType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnPageBeginEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_ThreatType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33683,25 +33072,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPageBeginEve result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPageBeginEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_ThreatType& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPageEndEvent& value) +inline Ark_RuntimeType runtimeType(const OnSafeBrowsingCheckResultCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OnPageEndEvent* value) { +inline void WriteToString(std::string* result, const OnSafeBrowsingCheckResultCallback* value) { result->append("{"); - // Ark_String url - result->append(".url="); - WriteToString(result, &value->url); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnPageEndEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnSafeBrowsingCheckResultCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33714,30 +33103,28 @@ inline void WriteToString(std::string* result, const Opt_OnPageEndEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPageEndEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSafeBrowsingCheckResultCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_OnPageEndEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Ark_MixedMode& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Callback_OnPageEndEvent_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_MixedMode value) { + result->append("Ark_MixedMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnPageEndEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_MixedMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33745,29 +33132,33 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPageEndEvent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPageEndEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_MixedMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebMediaOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WebMediaOptions* value) { +inline void WriteToString(std::string* result, const Ark_WebKeyboardOptions* value) { result->append("{"); - // Ark_Number resumeInterval - result->append(".resumeInterval="); - WriteToString(result, &value->resumeInterval); - // Ark_Boolean audioExclusive + // Ark_Boolean useSystemKeyboard + result->append(".useSystemKeyboard="); + WriteToString(result, value->useSystemKeyboard); + // Ark_Number enterKeyType result->append(", "); - result->append(".audioExclusive="); - WriteToString(result, &value->audioExclusive); + result->append(".enterKeyType="); + WriteToString(result, &value->enterKeyType); + // CustomNodeBuilder customKeyboard + result->append(", "); + result->append(".customKeyboard="); + WriteToString(result, &value->customKeyboard); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_WebMediaOptions* value) { +inline void WriteToString(std::string* result, const Opt_WebKeyboardOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33780,45 +33171,29 @@ inline void WriteToString(std::string* result, const Opt_WebMediaOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebMediaOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_JavaScriptProxy& value) +inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardCallbackInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_JavaScriptProxy* value) { +inline void WriteToString(std::string* result, const Ark_WebKeyboardCallbackInfo* value) { result->append("{"); - // Ark_CustomObject object_ - result->append(".object_="); - WriteToString(result, &value->object_); - // Ark_String name - result->append(", "); - result->append(".name="); - WriteToString(result, &value->name); - // Array_String methodList - result->append(", "); - result->append(".methodList="); - WriteToString(result, &value->methodList); - // Ark_Union_WebController_WebviewController controller - result->append(", "); + // Ark_WebKeyboardController controller result->append(".controller="); - WriteToString(result, &value->controller); - // Array_String asyncMethodList - result->append(", "); - result->append(".asyncMethodList="); - WriteToString(result, &value->asyncMethodList); - // Ark_String permission + WriteToString(result, value->controller); + // Map_String_String attributes result->append(", "); - result->append(".permission="); - WriteToString(result, &value->permission); + result->append(".attributes="); + WriteToString(result, &value->attributes); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_JavaScriptProxy* value) { +inline void WriteToString(std::string* result, const Opt_WebKeyboardCallbackInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33831,28 +33206,30 @@ inline void WriteToString(std::string* result, const Opt_JavaScriptProxy* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_JavaScriptProxy& value) +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardCallbackInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardAvoidMode& value) +inline Ark_RuntimeType runtimeType(const WebKeyboardCallback& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WebKeyboardAvoidMode value) { - result->append("Ark_WebKeyboardAvoidMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const WebKeyboardCallback* 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_WebKeyboardAvoidMode* value) { +inline void WriteToString(std::string* result, const Opt_WebKeyboardCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33860,41 +33237,29 @@ inline void WriteToString(std::string* result, const Opt_WebKeyboardAvoidMode* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardAvoidMode& value) +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_AdsBlockedDetails& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WebOptions* value) { +inline void WriteToString(std::string* result, const Ark_AdsBlockedDetails* value) { result->append("{"); - // Ark_Union_String_Resource src - result->append(".src="); - WriteToString(result, &value->src); - // Ark_Union_WebController_WebviewController controller - result->append(", "); - result->append(".controller="); - WriteToString(result, &value->controller); - // Ark_RenderMode renderMode - result->append(", "); - result->append(".renderMode="); - WriteToString(result, &value->renderMode); - // Ark_Boolean incognitoMode - result->append(", "); - result->append(".incognitoMode="); - WriteToString(result, &value->incognitoMode); - // Ark_String sharedRenderProcessToken + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Array_String adsBlocked result->append(", "); - result->append(".sharedRenderProcessToken="); - WriteToString(result, &value->sharedRenderProcessToken); + result->append(".adsBlocked="); + WriteToString(result, &value->adsBlocked); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_WebOptions* value) { +inline void WriteToString(std::string* result, const Opt_AdsBlockedDetails* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33907,51 +33272,25 @@ inline void WriteToString(std::string* result, const Opt_WebOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_AdsBlockedDetails& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_Resource_Buffer& value) +inline Ark_RuntimeType runtimeType(const OnAdsBlockedCallback& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - case 3: return runtimeType(value.value3); - default: INTEROP_FATAL("Bad selector in Ark_Union_String_Number_Resource_Buffer: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_String_Number_Resource_Buffer* value) { +inline void WriteToString(std::string* result, const OnAdsBlockedCallback* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_String - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Number - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_Resource - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } - // Ark_Buffer - if (value->selector == 3) { - result->append(".value3="); - WriteToString(result, value->value3); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_String_Number_Resource_Buffer* value) { +inline void WriteToString(std::string* result, const Opt_OnAdsBlockedCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33964,56 +33303,28 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number_Res result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Resource_Buffer& value) +inline Ark_RuntimeType runtimeType(const Opt_OnAdsBlockedCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_Buffer_Resource& value) +inline Ark_RuntimeType runtimeType(const Ark_ViewportFit& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - case 3: return runtimeType(value.value3); - default: INTEROP_FATAL("Bad selector in Ark_Union_String_Number_Buffer_Resource: %d", value.selector); - } + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_Union_String_Number_Buffer_Resource* value) { - result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_String - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Number - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_Buffer - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, value->value2); - } - // Ark_Resource - if (value->selector == 3) { - result->append(".value3="); - WriteToString(result, &value->value3); - } - result->append("}"); +inline void WriteToString(std::string* result, const Ark_ViewportFit value) { + result->append("Ark_ViewportFit("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_String_Number_Buffer_Resource* value) { +inline void WriteToString(std::string* result, const Opt_ViewportFit* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -34021,29 +33332,25 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number_Buf result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Buffer_Resource& value) +inline Ark_RuntimeType runtimeType(const Opt_ViewportFit& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Header& value) +inline Ark_RuntimeType runtimeType(const OnViewportFitChangedCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Header* value) { +inline void WriteToString(std::string* result, const OnViewportFitChangedCallback* 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(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Header* value) { +inline void WriteToString(std::string* result, const Opt_OnViewportFitChangedCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34056,57 +33363,30 @@ inline void WriteToString(std::string* result, const Opt_Header* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Header& value) +inline Ark_RuntimeType runtimeType(const Opt_OnViewportFitChangedCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ViewportFit& value) +inline Ark_RuntimeType runtimeType(const OnRenderProcessRespondingCallback& value) { - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_ViewportFit value) { - result->append("Ark_ViewportFit("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Opt_ViewportFit* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } +inline void WriteToString(std::string* result, const OnRenderProcessRespondingCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ViewportFit& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ContextMenuEditStateFlags& value) -{ - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_ContextMenuEditStateFlags value) { - result->append("Ark_ContextMenuEditStateFlags("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ContextMenuEditStateFlags* value) { +inline void WriteToString(std::string* result, const Opt_OnRenderProcessRespondingCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -34114,28 +33394,38 @@ inline void WriteToString(std::string* result, const Opt_ContextMenuEditStateFla result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ContextMenuEditStateFlags& value) +inline Ark_RuntimeType runtimeType(const Opt_OnRenderProcessRespondingCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ProtectedResourceType& value) +inline Ark_RuntimeType runtimeType(const Ark_RenderProcessNotRespondingData& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ProtectedResourceType value) { - result->append("Ark_ProtectedResourceType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_RenderProcessNotRespondingData* value) { + result->append("{"); + // Ark_String jsStack + result->append(".jsStack="); + WriteToString(result, &value->jsStack); + // Ark_Number pid + result->append(", "); + result->append(".pid="); + WriteToString(result, &value->pid); + // Ark_RenderProcessNotRespondingReason reason + result->append(", "); + result->append(".reason="); + WriteToString(result, value->reason); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ProtectedResourceType* value) { +inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespondingData* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -34143,28 +33433,30 @@ inline void WriteToString(std::string* result, const Opt_ProtectedResourceType* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ProtectedResourceType& value) +inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingData& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebLayoutMode& value) +inline Ark_RuntimeType runtimeType(const OnRenderProcessNotRespondingCallback& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WebLayoutMode value) { - result->append("Ark_WebLayoutMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const OnRenderProcessNotRespondingCallback* 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_WebLayoutMode* value) { +inline void WriteToString(std::string* result, const Opt_OnRenderProcessNotRespondingCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -34172,28 +33464,34 @@ inline void WriteToString(std::string* result, const Opt_WebLayoutMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebLayoutMode& value) +inline Ark_RuntimeType runtimeType(const Opt_OnRenderProcessNotRespondingCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ThreatType& value) +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedVisibilityInfo& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ThreatType value) { - result->append("Ark_ThreatType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_NativeEmbedVisibilityInfo* value) { + result->append("{"); + // Ark_Boolean visibility + result->append(".visibility="); + WriteToString(result, value->visibility); + // Ark_String embedId + result->append(", "); + result->append(".embedId="); + WriteToString(result, &value->embedId); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ThreatType* value) { +inline void WriteToString(std::string* result, const Opt_NativeEmbedVisibilityInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -34201,28 +33499,30 @@ inline void WriteToString(std::string* result, const Opt_ThreatType* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ThreatType& value) +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedVisibilityInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebDarkMode& value) +inline Ark_RuntimeType runtimeType(const OnNativeEmbedVisibilityChangeCallback& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WebDarkMode value) { - result->append("Ark_WebDarkMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const OnNativeEmbedVisibilityChangeCallback* 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_WebDarkMode* value) { +inline void WriteToString(std::string* result, const Opt_OnNativeEmbedVisibilityChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -34230,28 +33530,34 @@ inline void WriteToString(std::string* result, const Opt_WebDarkMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebDarkMode& value) +inline Ark_RuntimeType runtimeType(const Opt_OnNativeEmbedVisibilityChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OverScrollMode& value) +inline Ark_RuntimeType runtimeType(const Ark_IntelligentTrackingPreventionDetails& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OverScrollMode value) { - result->append("Ark_OverScrollMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_IntelligentTrackingPreventionDetails* value) { + result->append("{"); + // Ark_String host + result->append(".host="); + WriteToString(result, &value->host); + // Ark_String trackerHost + result->append(", "); + result->append(".trackerHost="); + WriteToString(result, &value->trackerHost); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OverScrollMode* value) { +inline void WriteToString(std::string* result, const Opt_IntelligentTrackingPreventionDetails* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -34259,28 +33565,30 @@ inline void WriteToString(std::string* result, const Opt_OverScrollMode* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OverScrollMode& value) +inline Ark_RuntimeType runtimeType(const Opt_IntelligentTrackingPreventionDetails& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CacheMode& value) +inline Ark_RuntimeType runtimeType(const OnIntelligentTrackingPreventionCallback& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CacheMode value) { - result->append("Ark_CacheMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const OnIntelligentTrackingPreventionCallback* 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_CacheMode* value) { +inline void WriteToString(std::string* result, const Opt_OnIntelligentTrackingPreventionCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -34288,28 +33596,30 @@ inline void WriteToString(std::string* result, const Opt_CacheMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CacheMode& value) +inline Ark_RuntimeType runtimeType(const Opt_OnIntelligentTrackingPreventionCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MixedMode& value) +inline Ark_RuntimeType runtimeType(const OnOverrideUrlLoadingCallback& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_MixedMode value) { - result->append("Ark_MixedMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const OnOverrideUrlLoadingCallback* 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_MixedMode* value) { +inline void WriteToString(std::string* result, const Opt_OnOverrideUrlLoadingCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -34317,25 +33627,29 @@ inline void WriteToString(std::string* result, const Opt_MixedMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MixedMode& value) +inline Ark_RuntimeType runtimeType(const Opt_OnOverrideUrlLoadingCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PlaybackInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_FirstMeaningfulPaint& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_PlaybackInfo* value) { +inline void WriteToString(std::string* result, const Ark_FirstMeaningfulPaint* value) { result->append("{"); - // Ark_Number time - result->append(".time="); - WriteToString(result, &value->time); + // Ark_Number navigationStartTime + result->append(".navigationStartTime="); + WriteToString(result, &value->navigationStartTime); + // Ark_Number firstMeaningfulPaintTime + result->append(", "); + result->append(".firstMeaningfulPaintTime="); + WriteToString(result, &value->firstMeaningfulPaintTime); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PlaybackInfo* value) { +inline void WriteToString(std::string* result, const Opt_FirstMeaningfulPaint* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34348,17 +33662,17 @@ inline void WriteToString(std::string* result, const Opt_PlaybackInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PlaybackInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_FirstMeaningfulPaint& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_PlaybackInfo_Void& value) +inline Ark_RuntimeType runtimeType(const OnFirstMeaningfulPaintCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_PlaybackInfo_Void* value) { +inline void WriteToString(std::string* result, const OnFirstMeaningfulPaintCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -34366,7 +33680,7 @@ inline void WriteToString(std::string* result, const Callback_PlaybackInfo_Void* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_PlaybackInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnFirstMeaningfulPaintCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34379,25 +33693,45 @@ inline void WriteToString(std::string* result, const Opt_Callback_PlaybackInfo_V result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_PlaybackInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnFirstMeaningfulPaintCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PreparedInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_LargestContentfulPaint& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_PreparedInfo* value) { +inline void WriteToString(std::string* result, const Ark_LargestContentfulPaint* value) { result->append("{"); - // Ark_Number duration - result->append(".duration="); - WriteToString(result, &value->duration); + // Ark_Number navigationStartTime + result->append(".navigationStartTime="); + WriteToString(result, &value->navigationStartTime); + // Ark_Number largestImagePaintTime + result->append(", "); + result->append(".largestImagePaintTime="); + WriteToString(result, &value->largestImagePaintTime); + // Ark_Number largestTextPaintTime + result->append(", "); + result->append(".largestTextPaintTime="); + WriteToString(result, &value->largestTextPaintTime); + // Ark_Number imageBPP + result->append(", "); + result->append(".imageBPP="); + WriteToString(result, &value->imageBPP); + // Ark_Number largestImageLoadStartTime + result->append(", "); + result->append(".largestImageLoadStartTime="); + WriteToString(result, &value->largestImageLoadStartTime); + // Ark_Number largestImageLoadEndTime + result->append(", "); + result->append(".largestImageLoadEndTime="); + WriteToString(result, &value->largestImageLoadEndTime); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PreparedInfo* value) { +inline void WriteToString(std::string* result, const Opt_LargestContentfulPaint* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34410,17 +33744,17 @@ inline void WriteToString(std::string* result, const Opt_PreparedInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PreparedInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_LargestContentfulPaint& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_PreparedInfo_Void& value) +inline Ark_RuntimeType runtimeType(const OnLargestContentfulPaintCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_PreparedInfo_Void* value) { +inline void WriteToString(std::string* result, const OnLargestContentfulPaintCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -34428,7 +33762,7 @@ inline void WriteToString(std::string* result, const Callback_PreparedInfo_Void* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_PreparedInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnLargestContentfulPaintCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34441,25 +33775,49 @@ inline void WriteToString(std::string* result, const Opt_Callback_PreparedInfo_V result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_PreparedInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnLargestContentfulPaintCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FullscreenInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_SslErrorEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FullscreenInfo* value) { +inline void WriteToString(std::string* result, const Ark_SslErrorEvent* value) { result->append("{"); - // Ark_Boolean fullscreen - result->append(".fullscreen="); - WriteToString(result, value->fullscreen); + // Ark_SslErrorHandler handler + result->append(".handler="); + WriteToString(result, value->handler); + // Ark_SslError error + result->append(", "); + result->append(".error="); + WriteToString(result, value->error); + // Ark_String url + result->append(", "); + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String originalUrl + result->append(", "); + result->append(".originalUrl="); + WriteToString(result, &value->originalUrl); + // Ark_String referrer + result->append(", "); + result->append(".referrer="); + WriteToString(result, &value->referrer); + // Ark_Boolean isFatalError + result->append(", "); + result->append(".isFatalError="); + WriteToString(result, value->isFatalError); + // Ark_Boolean isMainFrame + result->append(", "); + result->append(".isMainFrame="); + WriteToString(result, value->isMainFrame); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FullscreenInfo* value) { +inline void WriteToString(std::string* result, const Opt_SslErrorEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34472,17 +33830,17 @@ inline void WriteToString(std::string* result, const Opt_FullscreenInfo* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FullscreenInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_SslErrorEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_FullscreenInfo_Void& value) +inline Ark_RuntimeType runtimeType(const OnSslErrorEventCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_FullscreenInfo_Void* value) { +inline void WriteToString(std::string* result, const OnSslErrorEventCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -34490,7 +33848,7 @@ inline void WriteToString(std::string* result, const Callback_FullscreenInfo_Voi result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_FullscreenInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnSslErrorEventCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34503,41 +33861,41 @@ inline void WriteToString(std::string* result, const Opt_Callback_FullscreenInfo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_FullscreenInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSslErrorEventCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_VideoOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_LoadCommittedDetails& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_VideoOptions* value) { +inline void WriteToString(std::string* result, const Ark_LoadCommittedDetails* value) { result->append("{"); - // Ark_Union_String_Resource src - result->append(".src="); - WriteToString(result, &value->src); - // Ark_Union_Number_String_PlaybackSpeed currentProgressRate + // Ark_Boolean isMainFrame + result->append(".isMainFrame="); + WriteToString(result, value->isMainFrame); + // Ark_Boolean isSameDocument result->append(", "); - result->append(".currentProgressRate="); - WriteToString(result, &value->currentProgressRate); - // Ark_Union_String_PixelMap_Resource previewUri + result->append(".isSameDocument="); + WriteToString(result, value->isSameDocument); + // Ark_Boolean didReplaceEntry result->append(", "); - result->append(".previewUri="); - WriteToString(result, &value->previewUri); - // Ark_VideoController controller + result->append(".didReplaceEntry="); + WriteToString(result, value->didReplaceEntry); + // Ark_WebNavigationType navigationType result->append(", "); - result->append(".controller="); - WriteToString(result, &value->controller); - // Ark_ImageAIOptions imageAIOptions + result->append(".navigationType="); + WriteToString(result, value->navigationType); + // Ark_String url result->append(", "); - result->append(".imageAIOptions="); - WriteToString(result, &value->imageAIOptions); + result->append(".url="); + WriteToString(result, &value->url); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_VideoOptions* value) { +inline void WriteToString(std::string* result, const Opt_LoadCommittedDetails* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34550,37 +33908,25 @@ inline void WriteToString(std::string* result, const Opt_VideoOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_VideoOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_LoadCommittedDetails& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwitchStyle& value) +inline Ark_RuntimeType runtimeType(const OnNavigationEntryCommittedCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SwitchStyle* value) { +inline void WriteToString(std::string* result, const OnNavigationEntryCommittedCallback* value) { result->append("{"); - // Ark_Union_Number_Resource pointRadius - result->append(".pointRadius="); - WriteToString(result, &value->pointRadius); - // Ark_ResourceColor unselectedColor - result->append(", "); - result->append(".unselectedColor="); - WriteToString(result, &value->unselectedColor); - // Ark_ResourceColor pointColor - result->append(", "); - result->append(".pointColor="); - WriteToString(result, &value->pointColor); - // Ark_Union_Number_Resource trackBorderRadius - result->append(", "); - result->append(".trackBorderRadius="); - WriteToString(result, &value->trackBorderRadius); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SwitchStyle* value) { +inline void WriteToString(std::string* result, const Opt_OnNavigationEntryCommittedCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34593,29 +33939,25 @@ inline void WriteToString(std::string* result, const Opt_SwitchStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwitchStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_OnNavigationEntryCommittedCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ToggleOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_PlaybackInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ToggleOptions* value) { +inline void WriteToString(std::string* result, const Ark_PlaybackInfo* value) { result->append("{"); - // Ark_ToggleType type - result->append(".type="); - WriteToString(result, value->type); - // Ark_Boolean isOn - result->append(", "); - result->append(".isOn="); - WriteToString(result, &value->isOn); + // Ark_Number time + result->append(".time="); + WriteToString(result, &value->time); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ToggleOptions* value) { +inline void WriteToString(std::string* result, const Opt_PlaybackInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34628,33 +33970,25 @@ inline void WriteToString(std::string* result, const Opt_ToggleOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ToggleOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_PlaybackInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TimePickerResult& value) +inline Ark_RuntimeType runtimeType(const Callback_PlaybackInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TimePickerResult* value) { +inline void WriteToString(std::string* result, const Callback_PlaybackInfo_Void* value) { result->append("{"); - // Ark_Number hour - result->append(".hour="); - WriteToString(result, &value->hour); - // Ark_Number minute - result->append(", "); - result->append(".minute="); - WriteToString(result, &value->minute); - // Ark_Number second - result->append(", "); - result->append(".second="); - WriteToString(result, &value->second); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TimePickerResult* value) { +inline void WriteToString(std::string* result, const Opt_Callback_PlaybackInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34667,29 +34001,25 @@ inline void WriteToString(std::string* result, const Opt_TimePickerResult* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TimePickerResult& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_PlaybackInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TimePickerOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_PreparedInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TimePickerOptions* value) { +inline void WriteToString(std::string* result, const Ark_PreparedInfo* value) { result->append("{"); - // Ark_Date selected - result->append(".selected="); - WriteToString(result, &value->selected); - // Ark_TimePickerFormat format - result->append(", "); - result->append(".format="); - WriteToString(result, &value->format); + // Ark_Number duration + result->append(".duration="); + WriteToString(result, &value->duration); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TimePickerOptions* value) { +inline void WriteToString(std::string* result, const Opt_PreparedInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34702,33 +34032,25 @@ inline void WriteToString(std::string* result, const Opt_TimePickerOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TimePickerOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_PreparedInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextTimerOptions& value) +inline Ark_RuntimeType runtimeType(const Callback_PreparedInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TextTimerOptions* value) { +inline void WriteToString(std::string* result, const Callback_PreparedInfo_Void* value) { result->append("{"); - // Ark_Boolean isCountDown - result->append(".isCountDown="); - WriteToString(result, &value->isCountDown); - // Ark_Number count - result->append(", "); - result->append(".count="); - WriteToString(result, &value->count); - // Ark_TextTimerController controller - result->append(", "); - result->append(".controller="); - WriteToString(result, &value->controller); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextTimerOptions* value) { +inline void WriteToString(std::string* result, const Opt_Callback_PreparedInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -34741,24 +34063,418 @@ inline void WriteToString(std::string* result, const Opt_TextTimerOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextTimerOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_PreparedInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextPickerResult& value) +inline Ark_RuntimeType runtimeType(const Ark_FullscreenInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TextPickerResult* value) { +inline void WriteToString(std::string* result, const Ark_FullscreenInfo* value) { result->append("{"); - // Ark_Union_String_Array_String value - result->append(".value="); - WriteToString(result, &value->value); - // Ark_Union_Number_Array_Number index - result->append(", "); - result->append(".index="); + // Ark_Boolean fullscreen + result->append(".fullscreen="); + WriteToString(result, value->fullscreen); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FullscreenInfo* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FullscreenInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_FullscreenInfo_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_FullscreenInfo_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_FullscreenInfo_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_FullscreenInfo_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_VideoOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_VideoOptions* value) { + result->append("{"); + // Ark_Union_String_Resource src + result->append(".src="); + WriteToString(result, &value->src); + // Ark_Union_Number_String_PlaybackSpeed currentProgressRate + result->append(", "); + result->append(".currentProgressRate="); + WriteToString(result, &value->currentProgressRate); + // Ark_Union_String_PixelMap_Resource previewUri + result->append(", "); + result->append(".previewUri="); + WriteToString(result, &value->previewUri); + // Ark_VideoController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, &value->controller); + // Ark_ImageAIOptions imageAIOptions + result->append(", "); + result->append(".imageAIOptions="); + WriteToString(result, &value->imageAIOptions); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_VideoOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_VideoOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WithThemeAttribute& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WithThemeAttribute* value) { + result->append("{"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WithThemeAttribute* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WithThemeAttribute& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WithThemeOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WithThemeOptions* value) { + result->append("{"); + // Ark_CustomTheme theme + result->append(".theme="); + WriteToString(result, &value->theme); + // Ark_ThemeColorMode colorMode + result->append(", "); + result->append(".colorMode="); + WriteToString(result, &value->colorMode); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WithThemeOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WithThemeOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const WithThemeInterface& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const WithThemeInterface* 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_WithThemeInterface* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WithThemeInterface& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SwitchStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwitchStyle* value) { + result->append("{"); + // Ark_Union_Number_Resource pointRadius + result->append(".pointRadius="); + WriteToString(result, &value->pointRadius); + // Ark_ResourceColor unselectedColor + result->append(", "); + result->append(".unselectedColor="); + WriteToString(result, &value->unselectedColor); + // Ark_ResourceColor pointColor + result->append(", "); + result->append(".pointColor="); + WriteToString(result, &value->pointColor); + // Ark_Union_Number_Resource trackBorderRadius + result->append(", "); + result->append(".trackBorderRadius="); + WriteToString(result, &value->trackBorderRadius); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwitchStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SwitchStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ToggleOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ToggleOptions* value) { + result->append("{"); + // Ark_ToggleType type + result->append(".type="); + WriteToString(result, value->type); + // Ark_Boolean isOn + result->append(", "); + result->append(".isOn="); + WriteToString(result, &value->isOn); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ToggleOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ToggleOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TimePickerResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TimePickerResult* value) { + result->append("{"); + // Ark_Number hour + result->append(".hour="); + WriteToString(result, &value->hour); + // Ark_Number minute + result->append(", "); + result->append(".minute="); + WriteToString(result, &value->minute); + // Ark_Number second + result->append(", "); + result->append(".second="); + WriteToString(result, &value->second); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TimePickerResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TimePickerResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TimePickerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TimePickerOptions* value) { + result->append("{"); + // Ark_Date selected + result->append(".selected="); + WriteToString(result, &value->selected); + // Ark_TimePickerFormat format + result->append(", "); + result->append(".format="); + WriteToString(result, &value->format); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TimePickerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TimePickerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TextTimerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextTimerOptions* value) { + result->append("{"); + // Ark_Boolean isCountDown + result->append(".isCountDown="); + WriteToString(result, &value->isCountDown); + // Ark_Number count + result->append(", "); + result->append(".count="); + WriteToString(result, &value->count); + // Ark_TextTimerController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, &value->controller); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextTimerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextTimerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TextPickerResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextPickerResult* value) { + result->append("{"); + // Ark_Union_String_Array_String value + result->append(".value="); + WriteToString(result, &value->value); + // Ark_Union_Number_Array_Number index + result->append(", "); + result->append(".index="); WriteToString(result, &value->index); result->append("}"); } @@ -35432,12 +35148,12 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_String_PasteEvent_Void& va return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const TextAreaSubmitCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_EnterKeyType_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TextAreaSubmitCallback* value) { +inline void WriteToString(std::string* result, const Callback_EnterKeyType_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -35445,7 +35161,7 @@ inline void WriteToString(std::string* result, const TextAreaSubmitCallback* val result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextAreaSubmitCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_EnterKeyType_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -35458,17 +35174,17 @@ inline void WriteToString(std::string* result, const Opt_TextAreaSubmitCallback* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextAreaSubmitCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_EnterKeyType_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_EnterKeyType_Void& value) +inline Ark_RuntimeType runtimeType(const TextAreaSubmitCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_EnterKeyType_Void* value) { +inline void WriteToString(std::string* result, const TextAreaSubmitCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -35476,7 +35192,7 @@ inline void WriteToString(std::string* result, const Callback_EnterKeyType_Void* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_EnterKeyType_Void* value) { +inline void WriteToString(std::string* result, const Opt_TextAreaSubmitCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -35489,7 +35205,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_EnterKeyType_V result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_EnterKeyType_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_TextAreaSubmitCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -35755,20 +35471,36 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_CustomBuilder return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnTabsContentWillChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Ark_BarGridColumnOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnTabsContentWillChangeCallback* value) { +inline void WriteToString(std::string* result, const Ark_BarGridColumnOptions* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Ark_Number sm + result->append(".sm="); + WriteToString(result, &value->sm); + // Ark_Number md + result->append(", "); + result->append(".md="); + WriteToString(result, &value->md); + // Ark_Number lg + result->append(", "); + result->append(".lg="); + WriteToString(result, &value->lg); + // Ark_Length margin + result->append(", "); + result->append(".margin="); + WriteToString(result, &value->margin); + // Ark_Length gutter + result->append(", "); + result->append(".gutter="); + WriteToString(result, &value->gutter); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTabsContentWillChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_BarGridColumnOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -35781,26 +35513,30 @@ inline void WriteToString(std::string* result, const Opt_OnTabsContentWillChange result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTabsContentWillChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_BarGridColumnOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TabContentTransitionProxy& value) +inline Ark_RuntimeType runtimeType(const OnTabsContentWillChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TabContentTransitionProxy value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const OnTabsContentWillChangeCallback* 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_TabContentTransitionProxy* value) { +inline void WriteToString(std::string* result, const Opt_OnTabsContentWillChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -35808,30 +35544,26 @@ inline void WriteToString(std::string* result, const Opt_TabContentTransitionPro result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TabContentTransitionProxy& value) +inline Ark_RuntimeType runtimeType(const Opt_OnTabsContentWillChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const TabsCustomContentTransitionCallback& value) +inline Ark_RuntimeType runtimeType(const Ark_TabContentTransitionProxy& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TabsCustomContentTransitionCallback* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_TabContentTransitionProxy value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_TabsCustomContentTransitionCallback* value) { +inline void WriteToString(std::string* result, const Opt_TabContentTransitionProxy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -35839,41 +35571,25 @@ inline void WriteToString(std::string* result, const Opt_TabsCustomContentTransi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TabsCustomContentTransitionCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_TabContentTransitionProxy& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BarGridColumnOptions& value) +inline Ark_RuntimeType runtimeType(const TabsCustomContentTransitionCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BarGridColumnOptions* value) { +inline void WriteToString(std::string* result, const TabsCustomContentTransitionCallback* value) { result->append("{"); - // Ark_Number sm - result->append(".sm="); - WriteToString(result, &value->sm); - // Ark_Number md - result->append(", "); - result->append(".md="); - WriteToString(result, &value->md); - // Ark_Number lg - result->append(", "); - result->append(".lg="); - WriteToString(result, &value->lg); - // Ark_Length margin - result->append(", "); - result->append(".margin="); - WriteToString(result, &value->margin); - // Ark_Length gutter - result->append(", "); - result->append(".gutter="); - WriteToString(result, &value->gutter); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BarGridColumnOptions* value) { +inline void WriteToString(std::string* result, const Opt_TabsCustomContentTransitionCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -35886,7 +35602,7 @@ inline void WriteToString(std::string* result, const Opt_BarGridColumnOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BarGridColumnOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_TabsCustomContentTransitionCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -36062,6 +35778,33 @@ inline Ark_RuntimeType runtimeType(const Opt_TabsOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PulseSymbolEffect& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PulseSymbolEffect value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_PulseSymbolEffect* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PulseSymbolEffect& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_BounceSymbolEffect& value) { return INTEROP_RUNTIME_OBJECT; @@ -36404,25 +36147,21 @@ inline Ark_RuntimeType runtimeType(const Opt_SwiperContentAnimatedTransition& va return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnSwiperGestureSwipeCallback& value) +inline Ark_RuntimeType runtimeType(const Ark_IndicatorComponentController& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnSwiperGestureSwipeCallback* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_IndicatorComponentController value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_OnSwiperGestureSwipeCallback* value) { +inline void WriteToString(std::string* result, const Opt_IndicatorComponentController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -36430,25 +36169,45 @@ inline void WriteToString(std::string* result, const Opt_OnSwiperGestureSwipeCal result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSwiperGestureSwipeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_IndicatorComponentController& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnSwiperAnimationEndCallback& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_DotIndicator_DigitIndicator_Boolean& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_DotIndicator_DigitIndicator_Boolean: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const OnSwiperAnimationEndCallback* value) { +inline void WriteToString(std::string* result, const Ark_Union_DotIndicator_DigitIndicator_Boolean* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_DotIndicator + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_DigitIndicator + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_Boolean + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationEndCallback* value) { +inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_DigitIndicator_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -36461,33 +36220,25 @@ inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationEndCal result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSwiperAnimationEndCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwiperAnimationEvent& value) +inline Ark_RuntimeType runtimeType(const OnSwiperGestureSwipeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SwiperAnimationEvent* value) { +inline void WriteToString(std::string* result, const OnSwiperGestureSwipeCallback* value) { result->append("{"); - // Ark_Number currentOffset - result->append(".currentOffset="); - WriteToString(result, &value->currentOffset); - // Ark_Number targetOffset - result->append(", "); - result->append(".targetOffset="); - WriteToString(result, &value->targetOffset); - // Ark_Number velocity - result->append(", "); - result->append(".velocity="); - WriteToString(result, &value->velocity); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SwiperAnimationEvent* value) { +inline void WriteToString(std::string* result, const Opt_OnSwiperGestureSwipeCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -36500,17 +36251,17 @@ inline void WriteToString(std::string* result, const Opt_SwiperAnimationEvent* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwiperAnimationEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSwiperGestureSwipeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnSwiperAnimationStartCallback& value) +inline Ark_RuntimeType runtimeType(const OnSwiperAnimationEndCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnSwiperAnimationStartCallback* value) { +inline void WriteToString(std::string* result, const OnSwiperAnimationEndCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -36518,7 +36269,7 @@ inline void WriteToString(std::string* result, const OnSwiperAnimationStartCallb result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationStartCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationEndCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -36531,26 +36282,38 @@ inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationStartC result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSwiperAnimationStartCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSwiperAnimationEndCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_IndicatorComponentController& value) +inline Ark_RuntimeType runtimeType(const Ark_SwiperAnimationEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_IndicatorComponentController value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_SwiperAnimationEvent* value) { + result->append("{"); + // Ark_Number currentOffset + result->append(".currentOffset="); + WriteToString(result, &value->currentOffset); + // Ark_Number targetOffset + result->append(", "); + result->append(".targetOffset="); + WriteToString(result, &value->targetOffset); + // Ark_Number velocity + result->append(", "); + result->append(".velocity="); + WriteToString(result, &value->velocity); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_IndicatorComponentController* value) { +inline void WriteToString(std::string* result, const Opt_SwiperAnimationEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -36558,45 +36321,25 @@ inline void WriteToString(std::string* result, const Opt_IndicatorComponentContr result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_IndicatorComponentController& value) +inline Ark_RuntimeType runtimeType(const Opt_SwiperAnimationEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_DotIndicator_DigitIndicator_Boolean& value) +inline Ark_RuntimeType runtimeType(const OnSwiperAnimationStartCallback& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_DotIndicator_DigitIndicator_Boolean: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_DotIndicator_DigitIndicator_Boolean* value) { +inline void WriteToString(std::string* result, const OnSwiperAnimationStartCallback* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_DotIndicator - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_DigitIndicator - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_Boolean - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, value->value2); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_DigitIndicator_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationStartCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -36609,7 +36352,7 @@ inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_Digi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSwiperAnimationStartCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -37008,6 +36751,37 @@ inline Ark_RuntimeType runtimeType(const Opt_SliderOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const SliderTriggerChangeCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const SliderTriggerChangeCallback* 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_SliderTriggerChangeCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SliderTriggerChangeCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SliderInteraction& value) { return INTEROP_RUNTIME_NUMBER; @@ -37372,204 +37146,6 @@ inline Ark_RuntimeType runtimeType(const Opt_SecurityComponentLayoutDirection& v return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_DeleteValue_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_DeleteValue_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_DeleteValue_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_DeleteValue_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_DeleteValue& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_DeleteValue* value) { - result->append("{"); - // Ark_Number deleteOffset - result->append(".deleteOffset="); - WriteToString(result, &value->deleteOffset); - // Ark_TextDeleteDirection direction - result->append(", "); - result->append(".direction="); - WriteToString(result, value->direction); - // Ark_String deleteValue - result->append(", "); - result->append(".deleteValue="); - WriteToString(result, &value->deleteValue); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_DeleteValue* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_DeleteValue& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_DeleteValue_Boolean& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_DeleteValue_Boolean* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_DeleteValue_Boolean* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_DeleteValue_Boolean& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_InsertValue_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_InsertValue_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_InsertValue_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_InsertValue_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_InsertValue& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_InsertValue* value) { - result->append("{"); - // Ark_Number insertOffset - result->append(".insertOffset="); - WriteToString(result, &value->insertOffset); - // Ark_String insertValue - result->append(", "); - result->append(".insertValue="); - WriteToString(result, &value->insertValue); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_InsertValue* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_InsertValue& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_InsertValue_Boolean& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_InsertValue_Boolean* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_InsertValue_Boolean* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_InsertValue_Boolean& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_TextDecorationOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -37733,37 +37309,6 @@ inline Ark_RuntimeType runtimeType(const Opt_EditableTextOnChangeCallback& value return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const SearchSubmitCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const SearchSubmitCallback* 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_SearchSubmitCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SearchSubmitCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_CaretStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -37889,6 +37434,235 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_IconOptions_SymbolGlyphModifi return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_DeleteValue_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_DeleteValue_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_DeleteValue_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_DeleteValue_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DeleteValue& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DeleteValue* value) { + result->append("{"); + // Ark_Number deleteOffset + result->append(".deleteOffset="); + WriteToString(result, &value->deleteOffset); + // Ark_TextDeleteDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, value->direction); + // Ark_String deleteValue + result->append(", "); + result->append(".deleteValue="); + WriteToString(result, &value->deleteValue); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DeleteValue* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DeleteValue& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_DeleteValue_Boolean& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_DeleteValue_Boolean* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_DeleteValue_Boolean* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_DeleteValue_Boolean& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_InsertValue_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_InsertValue_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_InsertValue_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_InsertValue_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_InsertValue& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_InsertValue* value) { + result->append("{"); + // Ark_Number insertOffset + result->append(".insertOffset="); + WriteToString(result, &value->insertOffset); + // Ark_String insertValue + result->append(", "); + result->append(".insertValue="); + WriteToString(result, &value->insertValue); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_InsertValue* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_InsertValue& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_InsertValue_Boolean& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_InsertValue_Boolean* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_InsertValue_Boolean* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_InsertValue_Boolean& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const SearchSubmitCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const SearchSubmitCallback* 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_SearchSubmitCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SearchSubmitCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SearchOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -38078,20 +37852,40 @@ inline Ark_RuntimeType runtimeType(const Opt_ScrollSnapOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnScrollFrameBeginHandlerResult& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Color_Number_String& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Color_Number_String: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_OnScrollFrameBeginHandlerResult* value) { +inline void WriteToString(std::string* result, const Ark_Union_Color_Number_String* value) { result->append("{"); - // Ark_Number offsetRemain - result->append(".offsetRemain="); - WriteToString(result, &value->offsetRemain); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Color + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_Number + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_String + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginHandlerResult* value) { +inline void WriteToString(std::string* result, const Opt_Union_Color_Number_String* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38104,17 +37898,17 @@ inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginHandl result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScrollFrameBeginHandlerResult& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Color_Number_String& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnScrollFrameBeginCallback& value) +inline Ark_RuntimeType runtimeType(const ScrollOnScrollCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnScrollFrameBeginCallback* value) { +inline void WriteToString(std::string* result, const ScrollOnScrollCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -38122,7 +37916,7 @@ inline void WriteToString(std::string* result, const OnScrollFrameBeginCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginCallback* value) { +inline void WriteToString(std::string* result, const Opt_ScrollOnScrollCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38135,45 +37929,25 @@ inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginCallb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScrollFrameBeginCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_ScrollOnScrollCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Color_Number_String& value) +inline Ark_RuntimeType runtimeType(const Ark_OnScrollFrameBeginHandlerResult& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Color_Number_String: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Color_Number_String* value) { +inline void WriteToString(std::string* result, const Ark_OnScrollFrameBeginHandlerResult* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_Color - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_Number - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_String - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + // Ark_Number offsetRemain + result->append(".offsetRemain="); + WriteToString(result, &value->offsetRemain); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Color_Number_String* value) { +inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginHandlerResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38186,17 +37960,17 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_Number_Stri result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Color_Number_String& value) +inline Ark_RuntimeType runtimeType(const Opt_OnScrollFrameBeginHandlerResult& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnScrollEdgeCallback& value) +inline Ark_RuntimeType runtimeType(const OnScrollFrameBeginCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnScrollEdgeCallback* value) { +inline void WriteToString(std::string* result, const OnScrollFrameBeginCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -38204,7 +37978,7 @@ inline void WriteToString(std::string* result, const OnScrollEdgeCallback* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnScrollEdgeCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38217,17 +37991,17 @@ inline void WriteToString(std::string* result, const Opt_OnScrollEdgeCallback* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScrollEdgeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnScrollFrameBeginCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const ScrollOnScrollCallback& value) +inline Ark_RuntimeType runtimeType(const OnScrollEdgeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ScrollOnScrollCallback* value) { +inline void WriteToString(std::string* result, const OnScrollEdgeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -38235,7 +38009,7 @@ inline void WriteToString(std::string* result, const ScrollOnScrollCallback* val result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ScrollOnScrollCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnScrollEdgeCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38248,7 +38022,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollOnScrollCallback* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollOnScrollCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnScrollEdgeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -38574,25 +38348,21 @@ inline Ark_RuntimeType runtimeType(const Opt_EditMenuOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CopyEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_SubmitEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CopyEvent* value) { - result->append("{"); - // Callback_Void preventDefault - result->append(".preventDefault="); - WriteToString(result, &value->preventDefault); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_SubmitEvent value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_CopyEvent* value) { +inline void WriteToString(std::string* result, const Opt_SubmitEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -38600,17 +38370,17 @@ inline void WriteToString(std::string* result, const Opt_CopyEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CopyEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_SubmitEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_CopyEvent_Void& value) +inline Ark_RuntimeType runtimeType(const SubmitCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_CopyEvent_Void* value) { +inline void WriteToString(std::string* result, const SubmitCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -38618,7 +38388,7 @@ inline void WriteToString(std::string* result, const Callback_CopyEvent_Void* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_CopyEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_SubmitCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38631,30 +38401,28 @@ inline void WriteToString(std::string* result, const Opt_Callback_CopyEvent_Void result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_CopyEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_SubmitCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CutEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_EnterKeyType& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_CutEvent* value) { - result->append("{"); - // Callback_Void preventDefault - result->append(".preventDefault="); - WriteToString(result, &value->preventDefault); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_EnterKeyType value) { + result->append("Ark_EnterKeyType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_CutEvent* value) { +inline void WriteToString(std::string* result, const Opt_EnterKeyType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -38662,30 +38430,28 @@ inline void WriteToString(std::string* result, const Opt_CutEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CutEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_EnterKeyType& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_CutEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorType& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Callback_CutEvent_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_TextDataDetectorType value) { + result->append("Ark_TextDataDetectorType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_CutEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_TextDataDetectorType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -38693,37 +38459,37 @@ inline void WriteToString(std::string* result, const Opt_Callback_CutEvent_Void* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_CutEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorType& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorChangeValue& value) +inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorConfig& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorChangeValue* value) { +inline void WriteToString(std::string* result, const Ark_TextDataDetectorConfig* value) { result->append("{"); - // Ark_TextRange rangeBefore - result->append(".rangeBefore="); - WriteToString(result, &value->rangeBefore); - // Array_RichEditorTextSpanResult replacedSpans + // Array_TextDataDetectorType types + result->append(".types="); + WriteToString(result, &value->types); + // Callback_String_Void onDetectResultUpdate result->append(", "); - result->append(".replacedSpans="); - WriteToString(result, &value->replacedSpans); - // Array_RichEditorImageSpanResult replacedImageSpans + result->append(".onDetectResultUpdate="); + WriteToString(result, &value->onDetectResultUpdate); + // Ark_ResourceColor color result->append(", "); - result->append(".replacedImageSpans="); - WriteToString(result, &value->replacedImageSpans); - // Array_RichEditorTextSpanResult replacedSymbolSpans + result->append(".color="); + WriteToString(result, &value->color); + // Ark_DecorationStyleInterface decoration result->append(", "); - result->append(".replacedSymbolSpans="); - WriteToString(result, &value->replacedSymbolSpans); + result->append(".decoration="); + WriteToString(result, &value->decoration); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorChangeValue* value) { +inline void WriteToString(std::string* result, const Opt_TextDataDetectorConfig* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38736,25 +38502,25 @@ inline void WriteToString(std::string* result, const Opt_RichEditorChangeValue* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorChangeValue& value) +inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorConfig& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_RichEditorChangeValue_Boolean& value) +inline Ark_RuntimeType runtimeType(const Ark_PasteEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RichEditorChangeValue_Boolean* value) { +inline void WriteToString(std::string* result, const Ark_PasteEvent* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Callback_Void preventDefault + result->append(".preventDefault="); + WriteToString(result, &value->preventDefault); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RichEditorChangeValue_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_PasteEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38767,26 +38533,30 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorChan result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorChangeValue_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_PasteEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SubmitEvent& value) +inline Ark_RuntimeType runtimeType(const PasteEventCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SubmitEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const PasteEventCallback* 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_SubmitEvent* value) { +inline void WriteToString(std::string* result, const Opt_PasteEventCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -38794,25 +38564,25 @@ inline void WriteToString(std::string* result, const Opt_SubmitEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SubmitEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_PasteEventCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const SubmitCallback& value) +inline Ark_RuntimeType runtimeType(const Ark_CopyEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const SubmitCallback* value) { +inline void WriteToString(std::string* result, const Ark_CopyEvent* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Callback_Void preventDefault + result->append(".preventDefault="); + WriteToString(result, &value->preventDefault); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SubmitCallback* value) { +inline void WriteToString(std::string* result, const Opt_CopyEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38825,28 +38595,30 @@ inline void WriteToString(std::string* result, const Opt_SubmitCallback* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SubmitCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_CopyEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EnterKeyType& value) +inline Ark_RuntimeType runtimeType(const Callback_CopyEvent_Void& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_EnterKeyType value) { - result->append("Ark_EnterKeyType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Callback_CopyEvent_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_EnterKeyType* value) { +inline void WriteToString(std::string* result, const Opt_Callback_CopyEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -38854,28 +38626,30 @@ inline void WriteToString(std::string* result, const Opt_EnterKeyType* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EnterKeyType& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_CopyEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorType& value) +inline Ark_RuntimeType runtimeType(const Ark_CutEvent& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TextDataDetectorType value) { - result->append("Ark_TextDataDetectorType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_CutEvent* value) { + result->append("{"); + // Callback_Void preventDefault + result->append(".preventDefault="); + WriteToString(result, &value->preventDefault); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextDataDetectorType* value) { +inline void WriteToString(std::string* result, const Opt_CutEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -38883,37 +38657,25 @@ inline void WriteToString(std::string* result, const Opt_TextDataDetectorType* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorType& value) +inline Ark_RuntimeType runtimeType(const Opt_CutEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorConfig& value) +inline Ark_RuntimeType runtimeType(const Callback_CutEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TextDataDetectorConfig* value) { +inline void WriteToString(std::string* result, const Callback_CutEvent_Void* value) { result->append("{"); - // Array_TextDataDetectorType types - result->append(".types="); - WriteToString(result, &value->types); - // Callback_String_Void onDetectResultUpdate - result->append(", "); - result->append(".onDetectResultUpdate="); - WriteToString(result, &value->onDetectResultUpdate); - // Ark_ResourceColor color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_DecorationStyleInterface decoration - result->append(", "); - result->append(".decoration="); - WriteToString(result, &value->decoration); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextDataDetectorConfig* value) { +inline void WriteToString(std::string* result, const Opt_Callback_CutEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38926,25 +38688,37 @@ inline void WriteToString(std::string* result, const Opt_TextDataDetectorConfig* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorConfig& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_CutEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PasteEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_RichEditorChangeValue& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_PasteEvent* value) { +inline void WriteToString(std::string* result, const Ark_RichEditorChangeValue* value) { result->append("{"); - // Callback_Void preventDefault - result->append(".preventDefault="); - WriteToString(result, &value->preventDefault); + // Ark_TextRange rangeBefore + result->append(".rangeBefore="); + WriteToString(result, &value->rangeBefore); + // Array_RichEditorTextSpanResult replacedSpans + result->append(", "); + result->append(".replacedSpans="); + WriteToString(result, &value->replacedSpans); + // Array_RichEditorImageSpanResult replacedImageSpans + result->append(", "); + result->append(".replacedImageSpans="); + WriteToString(result, &value->replacedImageSpans); + // Array_RichEditorTextSpanResult replacedSymbolSpans + result->append(", "); + result->append(".replacedSymbolSpans="); + WriteToString(result, &value->replacedSymbolSpans); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PasteEvent* value) { +inline void WriteToString(std::string* result, const Opt_RichEditorChangeValue* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38957,17 +38731,17 @@ inline void WriteToString(std::string* result, const Opt_PasteEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PasteEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_RichEditorChangeValue& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const PasteEventCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_RichEditorChangeValue_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const PasteEventCallback* value) { +inline void WriteToString(std::string* result, const Callback_RichEditorChangeValue_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -38975,7 +38749,7 @@ inline void WriteToString(std::string* result, const PasteEventCallback* value) result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PasteEventCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RichEditorChangeValue_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -38988,7 +38762,7 @@ inline void WriteToString(std::string* result, const Opt_PasteEventCallback* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PasteEventCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorChangeValue_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -40500,6 +40274,41 @@ inline Ark_RuntimeType runtimeType(const Opt_PolygonOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PluginComponentOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PluginComponentOptions* value) { + result->append("{"); + // Ark_PluginComponentTemplate template + result->append(".template="); + WriteToString(result, &value->template_); + // Ark_String data + result->append(", "); + result->append(".data="); + WriteToString(result, &value->data); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PluginComponentOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PluginComponentOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PluginErrorData& value) { return INTEROP_RUNTIME_OBJECT; @@ -40566,41 +40375,6 @@ inline Ark_RuntimeType runtimeType(const Opt_PluginErrorCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PluginComponentOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_PluginComponentOptions* value) { - result->append("{"); - // Ark_PluginComponentTemplate template - result->append(".template="); - WriteToString(result, &value->template_); - // Ark_String data - result->append(", "); - result->append(".data="); - WriteToString(result, &value->data); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PluginComponentOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PluginComponentOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Callback_Array_Number_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -40942,20 +40716,34 @@ inline Ark_RuntimeType runtimeType(const Opt_ParticleType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Number_Number_PanelMode_Void& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_PanelHeight& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_PanelHeight: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Callback_Number_Number_PanelMode_Void* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_PanelHeight* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Length + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_PanelHeight + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_PanelMode_Void* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_PanelHeight* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -40968,39 +40756,25 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_PanelMode_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_PanelHeight& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_PanelHeight& value) +inline Ark_RuntimeType runtimeType(const Callback_Number_Number_PanelMode_Void& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_PanelHeight: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_PanelHeight* value) { +inline void WriteToString(std::string* result, const Callback_Number_Number_PanelMode_Void* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_Length - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_PanelHeight - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_PanelHeight* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_PanelMode_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -41013,7 +40787,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_PanelHe result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_PanelHeight& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_PanelMode_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -41076,6 +40850,37 @@ inline Ark_RuntimeType runtimeType(const Opt_PanelMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const PageTransitionCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const PageTransitionCallback* 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_PageTransitionCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PageTransitionCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SlideEffect& value) { return INTEROP_RUNTIME_NUMBER; @@ -41224,6 +41029,130 @@ inline Ark_RuntimeType runtimeType(const Opt_NavigationTransitionProxy& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Type_NavigationAttribute_customNavContentTransition_delegate& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Type_NavigationAttribute_customNavContentTransition_delegate* 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_Type_NavigationAttribute_customNavContentTransition_delegate* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Type_NavigationAttribute_customNavContentTransition_delegate& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_String_Unknown_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_String_Unknown_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_String_Unknown_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_String_Unknown_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_NavigationMode_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_NavigationMode_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_NavigationMode_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_NavigationMode_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_NavigationTitleMode_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_NavigationTitleMode_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_NavigationTitleMode_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_NavigationTitleMode_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationOperation& value) { return INTEROP_RUNTIME_NUMBER; @@ -41729,37 +41658,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Type_NavDestinationAttribute_title_ return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_NavDestinationContext_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_NavDestinationContext_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_NavDestinationContext_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_NavDestinationContext_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationMenuItem& value) { return INTEROP_RUNTIME_OBJECT; @@ -41903,6 +41801,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_PixelMap_SymbolGl return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_NavDestinationContext_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_NavDestinationContext_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_NavDestinationContext_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_NavDestinationContext_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_Boolean& value) { return INTEROP_RUNTIME_OBJECT; @@ -42187,7 +42116,7 @@ inline void WriteToString(std::string* result, const Ark_Union_PixelMap_Resource // Ark_DrawableDescriptor if (value->selector == 2) { result->append(".value2="); - WriteToString(result, &value->value2); + WriteToString(result, value->value2); } // Ark_ASTCResource if (value->selector == 3) { @@ -42663,20 +42592,44 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LengthConstrain& value return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Number_Number_Boolean& value) +inline Ark_RuntimeType runtimeType(const Ark_ChainAnimationOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Number_Number_Boolean* value) { +inline void WriteToString(std::string* result, const Ark_ChainAnimationOptions* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + // Ark_Length minSpace + result->append(".minSpace="); + WriteToString(result, &value->minSpace); + // Ark_Length maxSpace + result->append(", "); + result->append(".maxSpace="); + WriteToString(result, &value->maxSpace); + // Ark_Number conductivity + result->append(", "); + result->append(".conductivity="); + WriteToString(result, &value->conductivity); + // Ark_Number intensity + result->append(", "); + result->append(".intensity="); + WriteToString(result, &value->intensity); + // Ark_ChainEdgeEffect edgeEffect + result->append(", "); + result->append(".edgeEffect="); + WriteToString(result, &value->edgeEffect); + // Ark_Number stiffness + result->append(", "); + result->append(".stiffness="); + WriteToString(result, &value->stiffness); + // Ark_Number damping + result->append(", "); + result->append(".damping="); + WriteToString(result, &value->damping); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_ChainAnimationOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -42689,17 +42642,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_ChainAnimationOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Number_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_Number_Number_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Number_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_Number_Number_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -42707,7 +42660,7 @@ inline void WriteToString(std::string* result, const Callback_Number_Boolean* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Number_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -42720,17 +42673,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Boolean result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnScrollVisibleContentChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_Number_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnScrollVisibleContentChangeCallback* value) { +inline void WriteToString(std::string* result, const Callback_Number_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -42738,7 +42691,7 @@ inline void WriteToString(std::string* result, const OnScrollVisibleContentChang result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnScrollVisibleContentChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Number_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -42751,7 +42704,7 @@ inline void WriteToString(std::string* result, const Opt_OnScrollVisibleContentC result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScrollVisibleContentChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -42787,44 +42740,28 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_Number_Void& return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ChainAnimationOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_ListOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ChainAnimationOptions* value) { +inline void WriteToString(std::string* result, const Ark_ListOptions* value) { result->append("{"); - // Ark_Length minSpace - result->append(".minSpace="); - WriteToString(result, &value->minSpace); - // Ark_Length maxSpace - result->append(", "); - result->append(".maxSpace="); - WriteToString(result, &value->maxSpace); - // Ark_Number conductivity - result->append(", "); - result->append(".conductivity="); - WriteToString(result, &value->conductivity); - // Ark_Number intensity - result->append(", "); - result->append(".intensity="); - WriteToString(result, &value->intensity); - // Ark_ChainEdgeEffect edgeEffect - result->append(", "); - result->append(".edgeEffect="); - WriteToString(result, &value->edgeEffect); - // Ark_Number stiffness + // Ark_Number initialIndex + result->append(".initialIndex="); + WriteToString(result, &value->initialIndex); + // Ark_Union_Number_String space result->append(", "); - result->append(".stiffness="); - WriteToString(result, &value->stiffness); - // Ark_Number damping + result->append(".space="); + WriteToString(result, &value->space); + // Ark_Scroller scroller result->append(", "); - result->append(".damping="); - WriteToString(result, &value->damping); + result->append(".scroller="); + WriteToString(result, &value->scroller); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ChainAnimationOptions* value) { +inline void WriteToString(std::string* result, const Opt_ListOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -42837,38 +42774,26 @@ inline void WriteToString(std::string* result, const Opt_ChainAnimationOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ChainAnimationOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ListOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ListOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_ListScroller& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ListOptions* value) { - result->append("{"); - // Ark_Number initialIndex - result->append(".initialIndex="); - WriteToString(result, &value->initialIndex); - // Ark_Union_Number_String space - result->append(", "); - result->append(".space="); - WriteToString(result, &value->space); - // Ark_Scroller scroller - result->append(", "); - result->append(".scroller="); - WriteToString(result, &value->scroller); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_ListScroller value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_ListOptions* value) { +inline void WriteToString(std::string* result, const Opt_ListScroller* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -42876,26 +42801,30 @@ inline void WriteToString(std::string* result, const Opt_ListOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ListScroller& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ListScroller& value) +inline Ark_RuntimeType runtimeType(const OnScrollVisibleContentChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ListScroller value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const OnScrollVisibleContentChangeCallback* 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_ListScroller* value) { +inline void WriteToString(std::string* result, const Opt_OnScrollVisibleContentChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -42903,7 +42832,7 @@ inline void WriteToString(std::string* result, const Opt_ListScroller* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListScroller& value) +inline Ark_RuntimeType runtimeType(const Opt_OnScrollVisibleContentChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -43405,100 +43334,6 @@ inline Ark_RuntimeType runtimeType(const Opt_ImageErrorCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Type_ImageAttribute_onComplete_callback_event& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Type_ImageAttribute_onComplete_callback_event* value) { - result->append("{"); - // Ark_Number width - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Number height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_Number componentWidth - result->append(", "); - result->append(".componentWidth="); - WriteToString(result, &value->componentWidth); - // Ark_Number componentHeight - result->append(", "); - result->append(".componentHeight="); - WriteToString(result, &value->componentHeight); - // Ark_Number loadingStatus - result->append(", "); - result->append(".loadingStatus="); - WriteToString(result, &value->loadingStatus); - // Ark_Number contentWidth - result->append(", "); - result->append(".contentWidth="); - WriteToString(result, &value->contentWidth); - // Ark_Number contentHeight - result->append(", "); - result->append(".contentHeight="); - WriteToString(result, &value->contentHeight); - // Ark_Number contentOffsetX - result->append(", "); - result->append(".contentOffsetX="); - WriteToString(result, &value->contentOffsetX); - // Ark_Number contentOffsetY - result->append(", "); - result->append(".contentOffsetY="); - WriteToString(result, &value->contentOffsetY); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Type_ImageAttribute_onComplete_callback_event* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_ImageAttribute_onComplete_callback_event& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_Type_ImageAttribute_onComplete_callback_event_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_Type_ImageAttribute_onComplete_callback_event_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_ImageSourceSize& value) { return INTEROP_RUNTIME_OBJECT; @@ -43534,6 +43369,100 @@ inline Ark_RuntimeType runtimeType(const Opt_ImageSourceSize& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Type_ImageAttribute_onComplete_callback_event& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Type_ImageAttribute_onComplete_callback_event* value) { + result->append("{"); + // Ark_Number width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Number componentWidth + result->append(", "); + result->append(".componentWidth="); + WriteToString(result, &value->componentWidth); + // Ark_Number componentHeight + result->append(", "); + result->append(".componentHeight="); + WriteToString(result, &value->componentHeight); + // Ark_Number loadingStatus + result->append(", "); + result->append(".loadingStatus="); + WriteToString(result, &value->loadingStatus); + // Ark_Number contentWidth + result->append(", "); + result->append(".contentWidth="); + WriteToString(result, &value->contentWidth); + // Ark_Number contentHeight + result->append(", "); + result->append(".contentHeight="); + WriteToString(result, &value->contentHeight); + // Ark_Number contentOffsetX + result->append(", "); + result->append(".contentOffsetX="); + WriteToString(result, &value->contentOffsetX); + // Ark_Number contentOffsetY + result->append(", "); + result->append(".contentOffsetY="); + WriteToString(result, &value->contentOffsetY); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Type_ImageAttribute_onComplete_callback_event* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Type_ImageAttribute_onComplete_callback_event& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_Type_ImageAttribute_onComplete_callback_event_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_Type_ImageAttribute_onComplete_callback_event_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor& value) { switch (value.selector) { @@ -43562,7 +43491,7 @@ inline void WriteToString(std::string* result, const Ark_Union_PixelMap_Resource // Ark_DrawableDescriptor if (value->selector == 2) { result->append(".value2="); - WriteToString(result, &value->value2); + WriteToString(result, value->value2); } result->append("}"); } @@ -43614,7 +43543,7 @@ inline void WriteToString(std::string* result, const Ark_Union_PixelMap_Resource // Ark_DrawableDescriptor if (value->selector == 2) { result->append(".value2="); - WriteToString(result, &value->value2); + WriteToString(result, value->value2); } // Ark_ImageContent if (value->selector == 3) { @@ -43973,35 +43902,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_offsetRemain& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollState& value) -{ - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_ScrollState value) { - result->append("Ark_ScrollState("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ScrollState* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollState& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Callback_Number_ScrollState_Literal_Number_offsetRemain& value) { return INTEROP_RUNTIME_OBJECT; @@ -44318,32 +44218,32 @@ inline Ark_RuntimeType runtimeType(const Opt_GridDirection& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Tuple_Number_Number_Number_Number& value) +inline Ark_RuntimeType runtimeType(const Ark_GridLayoutOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Tuple_Number_Number_Number_Number* value) { +inline void WriteToString(std::string* result, const Ark_GridLayoutOptions* value) { result->append("{"); - // Ark_Number value0 - result->append(".value0="); - WriteToString(result, &value->value0); - // Ark_Number value1 + // Ark_Tuple_Number_Number regularSize + result->append(".regularSize="); + WriteToString(result, &value->regularSize); + // Array_Number irregularIndexes result->append(", "); - result->append(".value1="); - WriteToString(result, &value->value1); - // Ark_Number value2 + result->append(".irregularIndexes="); + WriteToString(result, &value->irregularIndexes); + // Callback_Number_Tuple_Number_Number onGetIrregularSizeByIndex result->append(", "); - result->append(".value2="); - WriteToString(result, &value->value2); - // Ark_Number value3 + result->append(".onGetIrregularSizeByIndex="); + WriteToString(result, &value->onGetIrregularSizeByIndex); + // Callback_Number_Tuple_Number_Number_Number_Number onGetRectByIndex result->append(", "); - result->append(".value3="); - WriteToString(result, &value->value3); + result->append(".onGetRectByIndex="); + WriteToString(result, &value->onGetRectByIndex); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Tuple_Number_Number_Number_Number* value) { +inline void WriteToString(std::string* result, const Opt_GridLayoutOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -44356,37 +44256,37 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Number_Number_Num result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Tuple_Number_Number_Number_Number& value) +inline Ark_RuntimeType runtimeType(const Opt_GridLayoutOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridLayoutOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Tuple_Number_Number_Number_Number& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GridLayoutOptions* value) { +inline void WriteToString(std::string* result, const Ark_Tuple_Number_Number_Number_Number* value) { result->append("{"); - // Ark_Tuple_Number_Number regularSize - result->append(".regularSize="); - WriteToString(result, &value->regularSize); - // Array_Number irregularIndexes + // Ark_Number value0 + result->append(".value0="); + WriteToString(result, &value->value0); + // Ark_Number value1 result->append(", "); - result->append(".irregularIndexes="); - WriteToString(result, &value->irregularIndexes); - // Callback_Number_Tuple_Number_Number onGetIrregularSizeByIndex + result->append(".value1="); + WriteToString(result, &value->value1); + // Ark_Number value2 result->append(", "); - result->append(".onGetIrregularSizeByIndex="); - WriteToString(result, &value->onGetIrregularSizeByIndex); - // Callback_Number_Tuple_Number_Number_Number_Number onGetRectByIndex + result->append(".value2="); + WriteToString(result, &value->value2); + // Ark_Number value3 result->append(", "); - result->append(".onGetRectByIndex="); - WriteToString(result, &value->onGetRectByIndex); + result->append(".value3="); + WriteToString(result, &value->value3); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GridLayoutOptions* value) { +inline void WriteToString(std::string* result, const Opt_Tuple_Number_Number_Number_Number* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -44399,7 +44299,7 @@ inline void WriteToString(std::string* result, const Opt_GridLayoutOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridLayoutOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Tuple_Number_Number_Number_Number& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -45935,80 +45835,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Week& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BusinessError& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_BusinessError* value) { - result->append("{"); - // Ark_String name - result->append(".name="); - WriteToString(result, &value->name); - // Ark_String message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_String stack - result->append(", "); - result->append(".stack="); - WriteToString(result, &value->stack); - // Ark_Number code - result->append(", "); - result->append(".code="); - WriteToString(result, &value->code); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_BusinessError* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_BusinessError& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const ErrorCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const ErrorCallback* 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_ErrorCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ErrorCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_TerminationInfo& value) { return INTEROP_RUNTIME_OBJECT; @@ -46620,6 +46446,97 @@ inline Ark_RuntimeType runtimeType(const Opt_ChildrenMainSize& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const OnMoveHandler& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const OnMoveHandler* 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_OnMoveHandler* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OnMoveHandler& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ScrollState& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ScrollState value) { + result->append("Ark_ScrollState("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ScrollState* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ScrollState& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const OnScrollCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const OnScrollCallback* 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_OnScrollCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OnScrollCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ContentClipMode_RectShape& value) { switch (value.selector) { @@ -46948,138 +46865,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_String_FunctionKey& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SpringBackAction& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_SpringBackAction* value) { - result->append("{"); - // Callback_Void springBack - result->append(".springBack="); - WriteToString(result, &value->springBack); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SpringBackAction* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SpringBackAction& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_DismissSheetAction& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_DismissSheetAction* value) { - result->append("{"); - // Callback_Void dismiss - result->append(".dismiss="); - WriteToString(result, &value->dismiss); - // Ark_DismissReason reason - result->append(", "); - result->append(".reason="); - WriteToString(result, value->reason); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_DismissSheetAction* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_DismissSheetAction& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SheetDismiss& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_SheetDismiss* value) { - result->append("{"); - // Callback_Void dismiss - result->append(".dismiss="); - WriteToString(result, &value->dismiss); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SheetDismiss* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SheetDismiss& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_DismissContentCoverAction& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_DismissContentCoverAction* value) { - result->append("{"); - // Callback_Void dismiss - result->append(".dismiss="); - WriteToString(result, &value->dismiss); - // Ark_DismissReason reason - result->append(", "); - result->append(".reason="); - WriteToString(result, value->reason); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_DismissContentCoverAction* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_DismissContentCoverAction& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Array_MenuElement_CustomBuilder& value) { switch (value.selector) { @@ -47172,72 +46957,6 @@ inline Ark_RuntimeType runtimeType(const Opt_MenuElement& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DismissPopupAction& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_DismissPopupAction* value) { - result->append("{"); - // Callback_Void dismiss - result->append(".dismiss="); - WriteToString(result, &value->dismiss); - // Ark_DismissReason reason - result->append(", "); - result->append(".reason="); - WriteToString(result, value->reason); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_DismissPopupAction* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_DismissPopupAction& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_Boolean_isVisible& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Literal_Boolean_isVisible* value) { - result->append("{"); - // Ark_Boolean isVisible - result->append(".isVisible="); - WriteToString(result, value->isVisible); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Literal_Boolean_isVisible* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_Boolean_isVisible& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Union_PopupOptions_CustomPopupOptions& value) { switch (value.selector) { @@ -47492,315 +47211,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_SafeAreaType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_TouchEvent_HitTestMode& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_TouchEvent_HitTestMode* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_HitTestMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchEvent_HitTestMode& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Array_GestureRecognizer& value) -{ - return INTEROP_RUNTIME_OBJECT; -} - -template <> -inline void WriteToString(std::string* result, const Ark_GestureRecognizer value); - -inline void WriteToString(std::string* result, const Array_GestureRecognizer* 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_GestureRecognizer* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != 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_GestureRecognizer& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const ShouldBuiltInRecognizerParallelWithCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const ShouldBuiltInRecognizerParallelWithCallback* 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_ShouldBuiltInRecognizerParallelWithCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ShouldBuiltInRecognizerParallelWithCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureRecognizer& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_GestureRecognizer value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_GestureRecognizer* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureRecognizer& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureJudgeResult& value) -{ - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_GestureJudgeResult value) { - result->append("Ark_GestureJudgeResult("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_GestureJudgeResult* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureJudgeResult& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_FingerInfo& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_FingerInfo* value) { - result->append("{"); - // Ark_Number id - result->append(".id="); - WriteToString(result, &value->id); - // Ark_Number globalX - result->append(", "); - result->append(".globalX="); - WriteToString(result, &value->globalX); - // Ark_Number globalY - result->append(", "); - result->append(".globalY="); - WriteToString(result, &value->globalY); - // Ark_Number localX - result->append(", "); - result->append(".localX="); - WriteToString(result, &value->localX); - // Ark_Number localY - result->append(", "); - result->append(".localY="); - WriteToString(result, &value->localY); - // Ark_Number displayX - result->append(", "); - result->append(".displayX="); - WriteToString(result, &value->displayX); - // Ark_Number displayY - result->append(", "); - result->append(".displayY="); - WriteToString(result, &value->displayY); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_FingerInfo* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_FingerInfo& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_BaseGestureEvent& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_BaseGestureEvent value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_BaseGestureEvent* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_BaseGestureEvent& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureInfo& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_GestureInfo* value) { - result->append("{"); - // Ark_String tag - result->append(".tag="); - WriteToString(result, &value->tag); - // Ark_GestureControl_GestureType type - result->append(", "); - result->append(".type="); - WriteToString(result, value->type); - // Ark_Boolean isSystemGesture - result->append(", "); - result->append(".isSystemGesture="); - WriteToString(result, value->isSystemGesture); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_GestureInfo* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureInfo& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_BackgroundBrightnessOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -48248,37 +47658,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_linearGradient_va return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_PreDragStatus_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_PreDragStatus_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_PreDragStatus_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_PreDragStatus_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Union_CustomBuilder_DragItemInfo_String& value) { switch (value.selector) { @@ -48400,113 +47779,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_UniformDataType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_DragEvent_String_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_DragEvent_String_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_DragEvent_String_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_DragEvent_String_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_CustomBuilder_DragItemInfo& value) -{ - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_CustomBuilder_DragItemInfo: %d", value.selector); - } -} -template <> -inline void WriteToString(std::string* result, const Ark_Union_CustomBuilder_DragItemInfo* value) { - result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // CustomNodeBuilder - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_DragItemInfo - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_DragItemInfo* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomBuilder_DragItemInfo& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedAlignRuleOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -48763,37 +48035,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Visibility& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Area_Area_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_Area_Area_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_Area_Area_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Area_Area_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_InvertOptions& value) { switch (value.selector) { @@ -49009,37 +48250,6 @@ inline Ark_RuntimeType runtimeType(const Opt_FocusBoxStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_KeyEvent_Boolean& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_KeyEvent_Boolean* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_KeyEvent_Boolean* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_KeyEvent_Boolean& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_HoverEffect& value) { return INTEROP_RUNTIME_NUMBER; @@ -49100,37 +48310,6 @@ inline Ark_RuntimeType runtimeType(const Opt_AccessibilityCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Boolean_HoverEvent_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_Boolean_HoverEvent_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_Boolean_HoverEvent_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Boolean_HoverEvent_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_ColoringStrategy& value) { switch (value.selector) { @@ -49473,7 +48652,560 @@ inline void WriteToString(std::string* result, const Ark_BorderOptions* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BorderOptions* value) { +inline void WriteToString(std::string* result, const Opt_BorderOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BorderOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Filter& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Filter* value) { + result->append("{"); + // Ark_String _FilterStub + result->append("._FilterStub="); + WriteToString(result, &value->_FilterStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Filter* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Filter& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_VisualEffect& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_VisualEffect* value) { + result->append("{"); + // Ark_String _VisualEffectStub + result->append("._VisualEffectStub="); + WriteToString(result, &value->_VisualEffectStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_VisualEffect* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_VisualEffect& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ForegroundEffectOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ForegroundEffectOptions* value) { + result->append("{"); + // Ark_Number radius + result->append(".radius="); + WriteToString(result, &value->radius); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ForegroundEffectOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ForegroundEffectOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ResizableOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ResizableOptions* value) { + result->append("{"); + // Ark_EdgeWidths slice + result->append(".slice="); + WriteToString(result, &value->slice); + // Ark_DrawingLattice lattice + result->append(", "); + result->append(".lattice="); + WriteToString(result, &value->lattice); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ResizableOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ResizableOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_BackgroundEffectOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_BackgroundEffectOptions* value) { + result->append("{"); + // Ark_Number radius + result->append(".radius="); + WriteToString(result, &value->radius); + // Ark_Number saturation + result->append(", "); + result->append(".saturation="); + WriteToString(result, &value->saturation); + // Ark_Number brightness + result->append(", "); + result->append(".brightness="); + WriteToString(result, &value->brightness); + // Ark_ResourceColor color + result->append(", "); + result->append(".color="); + WriteToString(result, &value->color); + // Ark_AdaptiveColor adaptiveColor + result->append(", "); + result->append(".adaptiveColor="); + WriteToString(result, &value->adaptiveColor); + // Ark_BlurOptions blurOptions + result->append(", "); + result->append(".blurOptions="); + WriteToString(result, &value->blurOptions); + // Ark_BlurStyleActivePolicy policy + result->append(", "); + result->append(".policy="); + WriteToString(result, &value->policy); + // Ark_ResourceColor inactiveColor + result->append(", "); + result->append(".inactiveColor="); + WriteToString(result, &value->inactiveColor); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_BackgroundEffectOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BackgroundEffectOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_Position_Alignment& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Position_Alignment: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_Position_Alignment* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Position + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Alignment + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_Position_Alignment* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Alignment& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_SizeOptions_ImageSize& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_SizeOptions_ImageSize: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_SizeOptions_ImageSize* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_SizeOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_ImageSize + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_SizeOptions_ImageSize* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_SizeOptions_ImageSize& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PixelRoundPolicy& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PixelRoundPolicy* value) { + result->append("{"); + // Ark_PixelRoundCalcPolicy start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_PixelRoundCalcPolicy top + result->append(", "); + result->append(".top="); + WriteToString(result, &value->top); + // Ark_PixelRoundCalcPolicy end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Ark_PixelRoundCalcPolicy bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PixelRoundPolicy* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PixelRoundPolicy& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_Margin_Length_LocalizedMargin& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Margin_Length_LocalizedMargin: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_Margin_Length_LocalizedMargin* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Padding + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Length + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedPadding + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_Margin_Length_LocalizedMargin* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_Margin_Length_LocalizedMargin& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_LengthMetrics_LocalizedPadding& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_LengthMetrics_LocalizedPadding: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_Padding_LengthMetrics_LocalizedPadding* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Padding + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_LengthMetrics + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + // Ark_LocalizedPadding + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_Padding_LengthMetrics_LocalizedPadding* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_LengthMetrics_LocalizedPadding& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Length_LocalizedPadding& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_Length_LocalizedPadding: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_Padding_Length_LocalizedPadding* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Padding + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Length + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedPadding + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_Padding_Length_LocalizedPadding* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Length_LocalizedPadding& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ChainWeightOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ChainWeightOptions* value) { + result->append("{"); + // Ark_Number horizontal + result->append(".horizontal="); + WriteToString(result, &value->horizontal); + // Ark_Number vertical + result->append(", "); + result->append(".vertical="); + WriteToString(result, &value->vertical); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ChainWeightOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ChainWeightOptions& 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) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Array_Rectangle_Rectangle: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_Array_Rectangle_Rectangle* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Array_Rectangle + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Rectangle + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_Array_Rectangle_Rectangle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49486,30 +49218,28 @@ inline void WriteToString(std::string* result, const Opt_BorderOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BorderOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Array_Rectangle_Rectangle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Filter& value) +inline Ark_RuntimeType runtimeType(const Ark_HitTestMode& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_Filter* value) { - result->append("{"); - // Ark_String _FilterStub - result->append("._FilterStub="); - WriteToString(result, &value->_FilterStub); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_HitTestMode value) { + result->append("Ark_HitTestMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_Filter* value) { +inline void WriteToString(std::string* result, const Opt_HitTestMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -49517,25 +49247,25 @@ inline void WriteToString(std::string* result, const Opt_Filter* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Filter& value) +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_VisualEffect& value) +inline Ark_RuntimeType runtimeType(const Callback_TouchEvent_HitTestMode& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_VisualEffect* value) { +inline void WriteToString(std::string* result, const Callback_TouchEvent_HitTestMode* value) { result->append("{"); - // Ark_String _VisualEffectStub - result->append("._VisualEffectStub="); - WriteToString(result, &value->_VisualEffectStub); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_VisualEffect* value) { +inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_HitTestMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49548,25 +49278,33 @@ inline void WriteToString(std::string* result, const Opt_VisualEffect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_VisualEffect& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchEvent_HitTestMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ForegroundEffectOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_GestureInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ForegroundEffectOptions* value) { +inline void WriteToString(std::string* result, const Ark_GestureInfo* value) { result->append("{"); - // Ark_Number radius - result->append(".radius="); - WriteToString(result, &value->radius); + // Ark_String tag + result->append(".tag="); + WriteToString(result, &value->tag); + // Ark_GestureControl_GestureType type + result->append(", "); + result->append(".type="); + WriteToString(result, value->type); + // Ark_Boolean isSystemGesture + result->append(", "); + result->append(".isSystemGesture="); + WriteToString(result, value->isSystemGesture); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ForegroundEffectOptions* value) { +inline void WriteToString(std::string* result, const Opt_GestureInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49579,29 +49317,25 @@ inline void WriteToString(std::string* result, const Opt_ForegroundEffectOptions result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ForegroundEffectOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_GestureInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ResizableOptions& value) +inline Ark_RuntimeType runtimeType(const Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ResizableOptions* value) { +inline void WriteToString(std::string* result, const Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult* value) { result->append("{"); - // Ark_EdgeWidths slice - result->append(".slice="); - WriteToString(result, &value->slice); - // Ark_DrawingLattice lattice - result->append(", "); - result->append(".lattice="); - WriteToString(result, &value->lattice); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ResizableOptions* value) { +inline void WriteToString(std::string* result, const Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49614,53 +49348,25 @@ inline void WriteToString(std::string* result, const Opt_ResizableOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ResizableOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BackgroundEffectOptions& value) +inline Ark_RuntimeType runtimeType(const Callback_PreDragStatus_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BackgroundEffectOptions* value) { +inline void WriteToString(std::string* result, const Callback_PreDragStatus_Void* value) { result->append("{"); - // Ark_Number radius - result->append(".radius="); - WriteToString(result, &value->radius); - // Ark_Number saturation - result->append(", "); - result->append(".saturation="); - WriteToString(result, &value->saturation); - // Ark_Number brightness - result->append(", "); - result->append(".brightness="); - WriteToString(result, &value->brightness); - // Ark_ResourceColor color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_AdaptiveColor adaptiveColor - result->append(", "); - result->append(".adaptiveColor="); - WriteToString(result, &value->adaptiveColor); - // Ark_BlurOptions blurOptions - result->append(", "); - result->append(".blurOptions="); - WriteToString(result, &value->blurOptions); - // Ark_BlurStyleActivePolicy policy - result->append(", "); - result->append(".policy="); - WriteToString(result, &value->policy); - // Ark_ResourceColor inactiveColor - result->append(", "); - result->append(".inactiveColor="); - WriteToString(result, &value->inactiveColor); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BackgroundEffectOptions* value) { +inline void WriteToString(std::string* result, const Opt_Callback_PreDragStatus_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49673,39 +49379,25 @@ inline void WriteToString(std::string* result, const Opt_BackgroundEffectOptions result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BackgroundEffectOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_PreDragStatus_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Position_Alignment& value) +inline Ark_RuntimeType runtimeType(const Callback_DragEvent_String_Void& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Position_Alignment: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Position_Alignment* value) { +inline void WriteToString(std::string* result, const Callback_DragEvent_String_Void* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_Position - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Alignment - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Position_Alignment* value) { +inline void WriteToString(std::string* result, const Opt_Callback_DragEvent_String_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49718,39 +49410,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Alignmen result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Alignment& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_DragEvent_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_SizeOptions_ImageSize& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_CustomBuilder_DragItemInfo& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_SizeOptions_ImageSize: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_CustomBuilder_DragItemInfo: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_SizeOptions_ImageSize* value) { +inline void WriteToString(std::string* result, const Ark_Union_CustomBuilder_DragItemInfo* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_SizeOptions + // CustomNodeBuilder if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_ImageSize + // Ark_DragItemInfo if (value->selector == 1) { result->append(".value1="); - WriteToString(result, value->value1); + WriteToString(result, &value->value1); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_SizeOptions_ImageSize* value) { +inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_DragItemInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49763,88 +49455,25 @@ inline void WriteToString(std::string* result, const Opt_Union_SizeOptions_Image result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SizeOptions_ImageSize& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomBuilder_DragItemInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PixelRoundPolicy& value) +inline Ark_RuntimeType runtimeType(const Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_PixelRoundPolicy* value) { - result->append("{"); - // Ark_PixelRoundCalcPolicy start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_PixelRoundCalcPolicy top - result->append(", "); - result->append(".top="); - WriteToString(result, &value->top); - // Ark_PixelRoundCalcPolicy end - result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); - // Ark_PixelRoundCalcPolicy bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PixelRoundPolicy* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PixelRoundPolicy& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Margin_Length_LocalizedMargin& value) -{ - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Margin_Length_LocalizedMargin: %d", value.selector); - } -} -template <> -inline void WriteToString(std::string* result, const Ark_Union_Margin_Length_LocalizedMargin* value) { +inline void WriteToString(std::string* result, const Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_Padding - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Length - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedPadding - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Margin_Length_LocalizedMargin* value) { +inline void WriteToString(std::string* result, const Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49857,45 +49486,25 @@ inline void WriteToString(std::string* result, const Opt_Union_Margin_Length_Loc result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Margin_Length_LocalizedMargin& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_LengthMetrics_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Callback_Area_Area_Void& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_LengthMetrics_LocalizedPadding: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Padding_LengthMetrics_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Callback_Area_Area_Void* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_Padding - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_LengthMetrics - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } - // Ark_LocalizedPadding - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Padding_LengthMetrics_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Area_Area_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49908,45 +49517,25 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_LengthMet result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_LengthMetrics_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Area_Area_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Length_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Callback_KeyEvent_Boolean& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_Length_LocalizedPadding: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Padding_Length_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Callback_KeyEvent_Boolean* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_Padding - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Length - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedPadding - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Padding_Length_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Opt_Callback_KeyEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49959,29 +49548,25 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Length_Lo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Length_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_KeyEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ChainWeightOptions& value) +inline Ark_RuntimeType runtimeType(const Callback_Boolean_HoverEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ChainWeightOptions* value) { +inline void WriteToString(std::string* result, const Callback_Boolean_HoverEvent_Void* value) { result->append("{"); - // Ark_Number horizontal - result->append(".horizontal="); - WriteToString(result, &value->horizontal); - // Ark_Number vertical - result->append(", "); - result->append(".vertical="); - WriteToString(result, &value->vertical); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ChainWeightOptions* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Boolean_HoverEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49994,7 +49579,7 @@ inline void WriteToString(std::string* result, const Opt_ChainWeightOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ChainWeightOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Boolean_HoverEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -50163,23 +49748,29 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Array_TouchTestInfo_TouchR return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_HitTestMode& value) +inline Ark_RuntimeType runtimeType(const Ark_DismissPopupAction& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_HitTestMode value) { - result->append("Ark_HitTestMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_DismissPopupAction* value) { + result->append("{"); + // Callback_Void dismiss + result->append(".dismiss="); + WriteToString(result, &value->dismiss); + // Ark_DismissReason reason + result->append(", "); + result->append(".reason="); + WriteToString(result, value->reason); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_HitTestMode* value) { +inline void WriteToString(std::string* result, const Opt_DismissPopupAction* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -50187,39 +49778,157 @@ inline void WriteToString(std::string* result, const Opt_HitTestMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HitTestMode& value) +inline Ark_RuntimeType runtimeType(const Opt_DismissPopupAction& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Array_Rectangle_Rectangle& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_Boolean_isVisible& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Array_Rectangle_Rectangle: %d", value.selector); + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Literal_Boolean_isVisible* value) { + result->append("{"); + // Ark_Boolean isVisible + result->append(".isVisible="); + WriteToString(result, value->isVisible); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Literal_Boolean_isVisible* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Ark_Union_Array_Rectangle_Rectangle* value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Boolean_isVisible& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SpringBackAction& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SpringBackAction* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Callback_Void springBack + result->append(".springBack="); + WriteToString(result, &value->springBack); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SpringBackAction* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SpringBackAction& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DismissSheetAction& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DismissSheetAction* value) { + result->append("{"); + // Callback_Void dismiss + result->append(".dismiss="); + WriteToString(result, &value->dismiss); + // Ark_DismissReason reason result->append(", "); - // Array_Rectangle - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); + result->append(".reason="); + WriteToString(result, value->reason); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DismissSheetAction* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } - // Ark_Rectangle - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DismissSheetAction& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SheetDismiss& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SheetDismiss* value) { + result->append("{"); + // Callback_Void dismiss + result->append(".dismiss="); + WriteToString(result, &value->dismiss); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SheetDismiss* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Array_Rectangle_Rectangle* value) { +inline Ark_RuntimeType runtimeType(const Opt_SheetDismiss& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DismissContentCoverAction& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DismissContentCoverAction* value) { + result->append("{"); + // Callback_Void dismiss + result->append(".dismiss="); + WriteToString(result, &value->dismiss); + // Ark_DismissReason reason + result->append(", "); + result->append(".reason="); + WriteToString(result, value->reason); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DismissContentCoverAction* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50232,7 +49941,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_Rectangle_R result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Array_Rectangle_Rectangle& value) +inline Ark_RuntimeType runtimeType(const Opt_DismissContentCoverAction& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -50318,6 +50027,214 @@ inline Ark_RuntimeType runtimeType(const Opt_PixelMapMock& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_GestureRecognizer& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +inline void WriteToString(std::string* result, const Ark_GestureRecognizer value); + +inline void WriteToString(std::string* result, const Array_GestureRecognizer* 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_GestureRecognizer* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != 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_GestureRecognizer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const ShouldBuiltInRecognizerParallelWithCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const ShouldBuiltInRecognizerParallelWithCallback* 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_ShouldBuiltInRecognizerParallelWithCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ShouldBuiltInRecognizerParallelWithCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GestureJudgeResult& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_GestureJudgeResult value) { + result->append("Ark_GestureJudgeResult("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GestureJudgeResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GestureJudgeResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GestureRecognizer& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GestureRecognizer value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_GestureRecognizer* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GestureRecognizer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FingerInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FingerInfo* value) { + result->append("{"); + // Ark_Number id + result->append(".id="); + WriteToString(result, &value->id); + // Ark_Number globalX + result->append(", "); + result->append(".globalX="); + WriteToString(result, &value->globalX); + // Ark_Number globalY + result->append(", "); + result->append(".globalY="); + WriteToString(result, &value->globalY); + // Ark_Number localX + result->append(", "); + result->append(".localX="); + WriteToString(result, &value->localX); + // Ark_Number localY + result->append(", "); + result->append(".localY="); + WriteToString(result, &value->localY); + // Ark_Number displayX + result->append(", "); + result->append(".displayX="); + WriteToString(result, &value->displayX); + // Ark_Number displayY + result->append(", "); + result->append(".displayY="); + WriteToString(result, &value->displayY); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FingerInfo* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FingerInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_BaseGestureEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_BaseGestureEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_BaseGestureEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BaseGestureEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_HistoricalPoint& value) { return INTEROP_RUNTIME_OBJECT; @@ -50914,37 +50831,6 @@ inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnCheckboxChangeCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const OnCheckboxChangeCallback* 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_OnCheckboxChangeCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_OnCheckboxChangeCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_MarkStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -51013,6 +50899,37 @@ inline Ark_RuntimeType runtimeType(const Opt_CheckBoxShape& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const OnCheckboxChangeCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const OnCheckboxChangeCallback* 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_OnCheckboxChangeCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OnCheckboxChangeCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_CheckboxOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -51318,154 +51235,6 @@ inline Ark_RuntimeType runtimeType(const Opt_CalendarOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CalendarRequestedData& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_CalendarRequestedData* value) { - result->append("{"); - // Ark_Number year - result->append(".year="); - WriteToString(result, &value->year); - // Ark_Number month - result->append(", "); - result->append(".month="); - WriteToString(result, &value->month); - // Ark_Number currentYear - result->append(", "); - result->append(".currentYear="); - WriteToString(result, &value->currentYear); - // Ark_Number currentMonth - result->append(", "); - result->append(".currentMonth="); - WriteToString(result, &value->currentMonth); - // Ark_Number monthState - result->append(", "); - result->append(".monthState="); - WriteToString(result, &value->monthState); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_CalendarRequestedData* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_CalendarRequestedData& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_CalendarRequestedData_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_CalendarRequestedData_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_CalendarRequestedData_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarRequestedData_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_CalendarSelectedDate& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_CalendarSelectedDate* value) { - result->append("{"); - // Ark_Number year - result->append(".year="); - WriteToString(result, &value->year); - // Ark_Number month - result->append(", "); - result->append(".month="); - WriteToString(result, &value->month); - // Ark_Number day - result->append(", "); - result->append(".day="); - WriteToString(result, &value->day); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_CalendarSelectedDate* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_CalendarSelectedDate& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_CalendarSelectedDate_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_CalendarSelectedDate_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_CalendarSelectedDate_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarSelectedDate_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_WorkStateStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -51781,6 +51550,154 @@ inline Ark_RuntimeType runtimeType(const Opt_CurrentDayStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_CalendarRequestedData& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CalendarRequestedData* value) { + result->append("{"); + // Ark_Number year + result->append(".year="); + WriteToString(result, &value->year); + // Ark_Number month + result->append(", "); + result->append(".month="); + WriteToString(result, &value->month); + // Ark_Number currentYear + result->append(", "); + result->append(".currentYear="); + WriteToString(result, &value->currentYear); + // Ark_Number currentMonth + result->append(", "); + result->append(".currentMonth="); + WriteToString(result, &value->currentMonth); + // Ark_Number monthState + result->append(", "); + result->append(".monthState="); + WriteToString(result, &value->monthState); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CalendarRequestedData* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CalendarRequestedData& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_CalendarRequestedData_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_CalendarRequestedData_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_CalendarRequestedData_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarRequestedData_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CalendarSelectedDate& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CalendarSelectedDate* value) { + result->append("{"); + // Ark_Number year + result->append(".year="); + WriteToString(result, &value->year); + // Ark_Number month + result->append(", "); + result->append(".month="); + WriteToString(result, &value->month); + // Ark_Number day + result->append(", "); + result->append(".day="); + WriteToString(result, &value->day); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CalendarSelectedDate* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CalendarSelectedDate& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_CalendarSelectedDate_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_CalendarSelectedDate_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_CalendarSelectedDate_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarSelectedDate_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_CalendarDay& value) { return INTEROP_RUNTIME_OBJECT; @@ -51946,6 +51863,37 @@ inline Ark_RuntimeType runtimeType(const Opt_ButtonOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const ButtonTriggerClickCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const ButtonTriggerClickCallback* 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_ButtonTriggerClickCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ButtonTriggerClickCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithString& value) { return INTEROP_RUNTIME_OBJECT; @@ -52194,12 +52142,12 @@ inline Ark_RuntimeType runtimeType(const Opt_SpringProp& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerPopupSelectCallback& value) +inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerRequestPopupDataCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnAlphabetIndexerPopupSelectCallback* value) { +inline void WriteToString(std::string* result, const OnAlphabetIndexerRequestPopupDataCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -52207,7 +52155,7 @@ inline void WriteToString(std::string* result, const OnAlphabetIndexerPopupSelec result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerPopupSelectCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerRequestPopupDataCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52220,17 +52168,17 @@ inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerPopupS result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerPopupSelectCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerRequestPopupDataCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerRequestPopupDataCallback& value) +inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerPopupSelectCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnAlphabetIndexerRequestPopupDataCallback* value) { +inline void WriteToString(std::string* result, const OnAlphabetIndexerPopupSelectCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -52238,7 +52186,7 @@ inline void WriteToString(std::string* result, const OnAlphabetIndexerRequestPop result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerRequestPopupDataCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerPopupSelectCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52251,7 +52199,7 @@ inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerReques result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerRequestPopupDataCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerPopupSelectCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -52432,24 +52380,28 @@ inline Ark_RuntimeType runtimeType(const Opt_Type_AlertDialog_show_value& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DismissDialogAction& value) +inline Ark_RuntimeType runtimeType(const Ark_SheetInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DismissDialogAction* value) { +inline void WriteToString(std::string* result, const Ark_SheetInfo* value) { result->append("{"); - // Callback_Void dismiss - result->append(".dismiss="); - WriteToString(result, &value->dismiss); - // Ark_DismissReason reason + // Ark_Union_String_Resource title + result->append(".title="); + WriteToString(result, &value->title); + // Ark_Union_String_Resource icon result->append(", "); - result->append(".reason="); - WriteToString(result, value->reason); + result->append(".icon="); + WriteToString(result, &value->icon); + // VoidCallback action + result->append(", "); + result->append(".action="); + WriteToString(result, &value->action); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DismissDialogAction* value) { +inline void WriteToString(std::string* result, const Opt_SheetInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52462,33 +52414,29 @@ inline void WriteToString(std::string* result, const Opt_DismissDialogAction* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DismissDialogAction& value) +inline Ark_RuntimeType runtimeType(const Opt_SheetInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SheetInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_DismissDialogAction& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SheetInfo* value) { +inline void WriteToString(std::string* result, const Ark_DismissDialogAction* value) { result->append("{"); - // Ark_Union_String_Resource title - result->append(".title="); - WriteToString(result, &value->title); - // Ark_Union_String_Resource icon - result->append(", "); - result->append(".icon="); - WriteToString(result, &value->icon); - // VoidCallback action + // Callback_Void dismiss + result->append(".dismiss="); + WriteToString(result, &value->dismiss); + // Ark_DismissReason reason result->append(", "); - result->append(".action="); - WriteToString(result, &value->action); + result->append(".reason="); + WriteToString(result, value->reason); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SheetInfo* value) { +inline void WriteToString(std::string* result, const Opt_DismissDialogAction* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52501,7 +52449,7 @@ inline void WriteToString(std::string* result, const Opt_SheetInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SheetInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_DismissDialogAction& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -52702,6 +52650,80 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_RectShapeOptions_RoundRectSha return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_BusinessError& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_BusinessError* value) { + result->append("{"); + // Ark_String name + result->append(".name="); + WriteToString(result, &value->name); + // Ark_String message + result->append(", "); + result->append(".message="); + WriteToString(result, &value->message); + // Ark_String stack + result->append(", "); + result->append(".stack="); + WriteToString(result, &value->stack); + // Ark_Number code + result->append(", "); + result->append(".code="); + WriteToString(result, &value->code); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_BusinessError* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BusinessError& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const ErrorCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const ErrorCallback* 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_ErrorCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ErrorCallback& 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; @@ -52776,6 +52798,161 @@ 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_AnimationOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_AnimationOptions* value) { + result->append("{"); + // Ark_Number duration + result->append(".duration="); + WriteToString(result, &value->duration); + // Ark_Number iterations + result->append(", "); + result->append(".iterations="); + WriteToString(result, &value->iterations); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AnimationOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AnimationOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_PixelMap& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +inline void WriteToString(std::string* result, const Ark_PixelMap value); + +inline void WriteToString(std::string* result, const Array_PixelMap* 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_PixelMap* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != 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_PixelMap& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_AnimatedDrawableDescriptor& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_AnimatedDrawableDescriptor value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_AnimatedDrawableDescriptor* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AnimatedDrawableDescriptor& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PixelMapDrawableDescriptor& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PixelMapDrawableDescriptor value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_PixelMapDrawableDescriptor* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PixelMapDrawableDescriptor& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LayeredDrawableDescriptor& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LayeredDrawableDescriptor value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_LayeredDrawableDescriptor* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LayeredDrawableDescriptor& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_NativePointer& value) { return INTEROP_RUNTIME_OBJECT; @@ -53970,23 +54147,23 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeEventTarget(Ark_EventTarget value) + void writeWebviewController(Ark_WebviewController value) { Serializer& valueSerializer = *this; - const auto value_area = value.area; - valueSerializer.writeArea(value_area); + valueSerializer.writePointer(value); } - void writeWebResourceRequest(Ark_WebResourceRequest value) + void writeWebController(Ark_WebController value) { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeWebviewController(Ark_WebviewController value) + void writeEventTarget(Ark_EventTarget value) { Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); + const auto value_area = value.area; + valueSerializer.writeArea(value_area); } - void writeWebController(Ark_WebController value) + void writeWebResourceRequest(Ark_WebResourceRequest value) { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); @@ -56152,151 +56329,11 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_action.call)); valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); } - void writeCustomTheme(Ark_CustomTheme value) - { - Serializer& valueSerializer = *this; - const auto value__CustomThemeStub = value._CustomThemeStub; - valueSerializer.writeString(value__CustomThemeStub); - } - void writeRestrictedWorker(Ark_RestrictedWorker value) - { - Serializer& valueSerializer = *this; - const auto value__RestrictedWorkerStub = value._RestrictedWorkerStub; - valueSerializer.writeString(value__RestrictedWorkerStub); - } - void writeWant(Ark_Want value) - { - Serializer& valueSerializer = *this; - const auto value_bundleName = value.bundleName; - Ark_Int32 value_bundleName_type = INTEROP_RUNTIME_UNDEFINED; - value_bundleName_type = runtimeType(value_bundleName); - valueSerializer.writeInt8(value_bundleName_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bundleName_type)) { - const auto value_bundleName_value = value_bundleName.value; - valueSerializer.writeString(value_bundleName_value); - } - const auto value_abilityName = value.abilityName; - Ark_Int32 value_abilityName_type = INTEROP_RUNTIME_UNDEFINED; - value_abilityName_type = runtimeType(value_abilityName); - valueSerializer.writeInt8(value_abilityName_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_abilityName_type)) { - const auto value_abilityName_value = value_abilityName.value; - valueSerializer.writeString(value_abilityName_value); - } - const auto value_deviceId = value.deviceId; - Ark_Int32 value_deviceId_type = INTEROP_RUNTIME_UNDEFINED; - value_deviceId_type = runtimeType(value_deviceId); - valueSerializer.writeInt8(value_deviceId_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_deviceId_type)) { - const auto value_deviceId_value = value_deviceId.value; - valueSerializer.writeString(value_deviceId_value); - } - const auto value_uri = value.uri; - Ark_Int32 value_uri_type = INTEROP_RUNTIME_UNDEFINED; - value_uri_type = runtimeType(value_uri); - valueSerializer.writeInt8(value_uri_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_uri_type)) { - const auto value_uri_value = value_uri.value; - valueSerializer.writeString(value_uri_value); - } - const auto value_type = value.type; - Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; - value_type_type = runtimeType(value_type); - valueSerializer.writeInt8(value_type_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { - const auto value_type_value = value_type.value; - valueSerializer.writeString(value_type_value); - } - const auto value_flags = value.flags; - Ark_Int32 value_flags_type = INTEROP_RUNTIME_UNDEFINED; - value_flags_type = runtimeType(value_flags); - valueSerializer.writeInt8(value_flags_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_flags_type)) { - const auto value_flags_value = value_flags.value; - valueSerializer.writeNumber(value_flags_value); - } - const auto value_action = value.action; - Ark_Int32 value_action_type = INTEROP_RUNTIME_UNDEFINED; - value_action_type = runtimeType(value_action); - valueSerializer.writeInt8(value_action_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_action_type)) { - const auto value_action_value = value_action.value; - valueSerializer.writeString(value_action_value); - } - const auto value_parameters = value.parameters; - Ark_Int32 value_parameters_type = INTEROP_RUNTIME_UNDEFINED; - value_parameters_type = runtimeType(value_parameters); - valueSerializer.writeInt8(value_parameters_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_parameters_type)) { - const auto value_parameters_value = value_parameters.value; - valueSerializer.writeInt32(value_parameters_value.size); - for (int32_t i = 0; i < value_parameters_value.size; i++) { - auto value_parameters_value_key = value_parameters_value.keys[i]; - auto value_parameters_value_value = value_parameters_value.values[i]; - valueSerializer.writeString(value_parameters_value_key); - valueSerializer.writeCustomObject("Object", value_parameters_value_value); - } - } - const auto value_entities = value.entities; - Ark_Int32 value_entities_type = INTEROP_RUNTIME_UNDEFINED; - value_entities_type = runtimeType(value_entities); - valueSerializer.writeInt8(value_entities_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_entities_type)) { - const auto value_entities_value = value_entities.value; - valueSerializer.writeInt32(value_entities_value.length); - for (int i = 0; i < value_entities_value.length; i++) { - const Ark_String value_entities_value_element = value_entities_value.array[i]; - valueSerializer.writeString(value_entities_value_element); - } - } - const auto value_moduleName = value.moduleName; - Ark_Int32 value_moduleName_type = INTEROP_RUNTIME_UNDEFINED; - value_moduleName_type = runtimeType(value_moduleName); - valueSerializer.writeInt8(value_moduleName_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_moduleName_type)) { - const auto value_moduleName_value = value_moduleName.value; - valueSerializer.writeString(value_moduleName_value); - } - } void writeStyledString(Ark_StyledString value) { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeNavigationAnimatedTransition(Ark_NavigationAnimatedTransition value) - { - Serializer& valueSerializer = *this; - const auto value_onTransitionEnd = value.onTransitionEnd; - Ark_Int32 value_onTransitionEnd_type = INTEROP_RUNTIME_UNDEFINED; - value_onTransitionEnd_type = runtimeType(value_onTransitionEnd); - valueSerializer.writeInt8(value_onTransitionEnd_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onTransitionEnd_type)) { - const auto value_onTransitionEnd_value = value_onTransitionEnd.value; - valueSerializer.writeCallbackResource(value_onTransitionEnd_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onTransitionEnd_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onTransitionEnd_value.callSync)); - } - const auto value_timeout = value.timeout; - Ark_Int32 value_timeout_type = INTEROP_RUNTIME_UNDEFINED; - value_timeout_type = runtimeType(value_timeout); - valueSerializer.writeInt8(value_timeout_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_timeout_type)) { - const auto value_timeout_value = value_timeout.value; - valueSerializer.writeNumber(value_timeout_value); - } - const auto value_isInteractive = value.isInteractive; - Ark_Int32 value_isInteractive_type = INTEROP_RUNTIME_UNDEFINED; - value_isInteractive_type = runtimeType(value_isInteractive); - valueSerializer.writeInt8(value_isInteractive_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_isInteractive_type)) { - const auto value_isInteractive_value = value_isInteractive.value; - valueSerializer.writeBoolean(value_isInteractive_value); - } - const auto value_transition = value.transition; - valueSerializer.writeCallbackResource(value_transition.resource); - valueSerializer.writePointer(reinterpret_cast(value_transition.call)); - valueSerializer.writePointer(reinterpret_cast(value_transition.callSync)); - } void writeLinearIndicatorStyle(Ark_LinearIndicatorStyle value) { Serializer& valueSerializer = *this; @@ -56477,6 +56514,106 @@ class Serializer : public SerializerBase { valueSerializer.writeBackgroundColorStyle(value_styledValue_12); } } + void writeRestrictedWorker(Ark_RestrictedWorker value) + { + Serializer& valueSerializer = *this; + const auto value__RestrictedWorkerStub = value._RestrictedWorkerStub; + valueSerializer.writeString(value__RestrictedWorkerStub); + } + void writeWant(Ark_Want value) + { + Serializer& valueSerializer = *this; + const auto value_bundleName = value.bundleName; + Ark_Int32 value_bundleName_type = INTEROP_RUNTIME_UNDEFINED; + value_bundleName_type = runtimeType(value_bundleName); + valueSerializer.writeInt8(value_bundleName_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bundleName_type)) { + const auto value_bundleName_value = value_bundleName.value; + valueSerializer.writeString(value_bundleName_value); + } + const auto value_abilityName = value.abilityName; + Ark_Int32 value_abilityName_type = INTEROP_RUNTIME_UNDEFINED; + value_abilityName_type = runtimeType(value_abilityName); + valueSerializer.writeInt8(value_abilityName_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_abilityName_type)) { + const auto value_abilityName_value = value_abilityName.value; + valueSerializer.writeString(value_abilityName_value); + } + const auto value_deviceId = value.deviceId; + Ark_Int32 value_deviceId_type = INTEROP_RUNTIME_UNDEFINED; + value_deviceId_type = runtimeType(value_deviceId); + valueSerializer.writeInt8(value_deviceId_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_deviceId_type)) { + const auto value_deviceId_value = value_deviceId.value; + valueSerializer.writeString(value_deviceId_value); + } + const auto value_uri = value.uri; + Ark_Int32 value_uri_type = INTEROP_RUNTIME_UNDEFINED; + value_uri_type = runtimeType(value_uri); + valueSerializer.writeInt8(value_uri_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_uri_type)) { + const auto value_uri_value = value_uri.value; + valueSerializer.writeString(value_uri_value); + } + const auto value_type = value.type; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; + value_type_type = runtimeType(value_type); + valueSerializer.writeInt8(value_type_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { + const auto value_type_value = value_type.value; + valueSerializer.writeString(value_type_value); + } + const auto value_flags = value.flags; + Ark_Int32 value_flags_type = INTEROP_RUNTIME_UNDEFINED; + value_flags_type = runtimeType(value_flags); + valueSerializer.writeInt8(value_flags_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_flags_type)) { + const auto value_flags_value = value_flags.value; + valueSerializer.writeNumber(value_flags_value); + } + const auto value_action = value.action; + Ark_Int32 value_action_type = INTEROP_RUNTIME_UNDEFINED; + value_action_type = runtimeType(value_action); + valueSerializer.writeInt8(value_action_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_action_type)) { + const auto value_action_value = value_action.value; + valueSerializer.writeString(value_action_value); + } + const auto value_parameters = value.parameters; + Ark_Int32 value_parameters_type = INTEROP_RUNTIME_UNDEFINED; + value_parameters_type = runtimeType(value_parameters); + valueSerializer.writeInt8(value_parameters_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_parameters_type)) { + const auto value_parameters_value = value_parameters.value; + valueSerializer.writeInt32(value_parameters_value.size); + for (int32_t i = 0; i < value_parameters_value.size; i++) { + auto value_parameters_value_key = value_parameters_value.keys[i]; + auto value_parameters_value_value = value_parameters_value.values[i]; + valueSerializer.writeString(value_parameters_value_key); + valueSerializer.writeCustomObject("Object", value_parameters_value_value); + } + } + const auto value_entities = value.entities; + Ark_Int32 value_entities_type = INTEROP_RUNTIME_UNDEFINED; + value_entities_type = runtimeType(value_entities); + valueSerializer.writeInt8(value_entities_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_entities_type)) { + const auto value_entities_value = value_entities.value; + valueSerializer.writeInt32(value_entities_value.length); + for (int i = 0; i < value_entities_value.length; i++) { + const Ark_String value_entities_value_element = value_entities_value.array[i]; + valueSerializer.writeString(value_entities_value_element); + } + } + const auto value_moduleName = value.moduleName; + Ark_Int32 value_moduleName_type = INTEROP_RUNTIME_UNDEFINED; + value_moduleName_type = runtimeType(value_moduleName); + valueSerializer.writeInt8(value_moduleName_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_moduleName_type)) { + const auto value_moduleName_value = value_moduleName.value; + valueSerializer.writeString(value_moduleName_value); + } + } void writeWaterFlowAttribute(Ark_WaterFlowAttribute value) { } @@ -56832,10 +56969,49 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_menuType_value)); } } - void writeWebKeyboardController(Ark_WebKeyboardController value) + void writeNestedScrollOptionsExt(Ark_NestedScrollOptionsExt value) { Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); + const auto value_scrollUp = value.scrollUp; + Ark_Int32 value_scrollUp_type = INTEROP_RUNTIME_UNDEFINED; + value_scrollUp_type = runtimeType(value_scrollUp); + valueSerializer.writeInt8(value_scrollUp_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollUp_type)) { + const auto value_scrollUp_value = value_scrollUp.value; + valueSerializer.writeInt32(static_cast(value_scrollUp_value)); + } + const auto value_scrollDown = value.scrollDown; + Ark_Int32 value_scrollDown_type = INTEROP_RUNTIME_UNDEFINED; + value_scrollDown_type = runtimeType(value_scrollDown); + valueSerializer.writeInt8(value_scrollDown_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollDown_type)) { + const auto value_scrollDown_value = value_scrollDown.value; + valueSerializer.writeInt32(static_cast(value_scrollDown_value)); + } + const auto value_scrollRight = value.scrollRight; + Ark_Int32 value_scrollRight_type = INTEROP_RUNTIME_UNDEFINED; + value_scrollRight_type = runtimeType(value_scrollRight); + valueSerializer.writeInt8(value_scrollRight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollRight_type)) { + const auto value_scrollRight_value = value_scrollRight.value; + valueSerializer.writeInt32(static_cast(value_scrollRight_value)); + } + const auto value_scrollLeft = value.scrollLeft; + Ark_Int32 value_scrollLeft_type = INTEROP_RUNTIME_UNDEFINED; + value_scrollLeft_type = runtimeType(value_scrollLeft); + valueSerializer.writeInt8(value_scrollLeft_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollLeft_type)) { + const auto value_scrollLeft_value = value_scrollLeft.value; + valueSerializer.writeInt32(static_cast(value_scrollLeft_value)); + } + } + void writeNestedScrollOptions(Ark_NestedScrollOptions value) + { + Serializer& valueSerializer = *this; + const auto value_scrollForward = value.scrollForward; + valueSerializer.writeInt32(static_cast(value_scrollForward)); + const auto value_scrollBackward = value.scrollBackward; + valueSerializer.writeInt32(static_cast(value_scrollBackward)); } void writeEventResult(Ark_EventResult value) { @@ -56929,50 +57105,6 @@ class Serializer : public SerializerBase { } } } - void writeNestedScrollOptionsExt(Ark_NestedScrollOptionsExt value) - { - Serializer& valueSerializer = *this; - const auto value_scrollUp = value.scrollUp; - Ark_Int32 value_scrollUp_type = INTEROP_RUNTIME_UNDEFINED; - value_scrollUp_type = runtimeType(value_scrollUp); - valueSerializer.writeInt8(value_scrollUp_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollUp_type)) { - const auto value_scrollUp_value = value_scrollUp.value; - valueSerializer.writeInt32(static_cast(value_scrollUp_value)); - } - const auto value_scrollDown = value.scrollDown; - Ark_Int32 value_scrollDown_type = INTEROP_RUNTIME_UNDEFINED; - value_scrollDown_type = runtimeType(value_scrollDown); - valueSerializer.writeInt8(value_scrollDown_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollDown_type)) { - const auto value_scrollDown_value = value_scrollDown.value; - valueSerializer.writeInt32(static_cast(value_scrollDown_value)); - } - const auto value_scrollRight = value.scrollRight; - Ark_Int32 value_scrollRight_type = INTEROP_RUNTIME_UNDEFINED; - value_scrollRight_type = runtimeType(value_scrollRight); - valueSerializer.writeInt8(value_scrollRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollRight_type)) { - const auto value_scrollRight_value = value_scrollRight.value; - valueSerializer.writeInt32(static_cast(value_scrollRight_value)); - } - const auto value_scrollLeft = value.scrollLeft; - Ark_Int32 value_scrollLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_scrollLeft_type = runtimeType(value_scrollLeft); - valueSerializer.writeInt8(value_scrollLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollLeft_type)) { - const auto value_scrollLeft_value = value_scrollLeft.value; - valueSerializer.writeInt32(static_cast(value_scrollLeft_value)); - } - } - void writeNestedScrollOptions(Ark_NestedScrollOptions value) - { - Serializer& valueSerializer = *this; - const auto value_scrollForward = value.scrollForward; - valueSerializer.writeInt32(static_cast(value_scrollForward)); - const auto value_scrollBackward = value.scrollBackward; - valueSerializer.writeInt32(static_cast(value_scrollBackward)); - } void writeDataResubmissionHandler(Ark_DataResubmissionHandler value) { Serializer& valueSerializer = *this; @@ -57018,11 +57150,6 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeFullScreenExitHandler(Ark_FullScreenExitHandler value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } void writeFileSelectorParam(Ark_FileSelectorParam value) { Serializer& valueSerializer = *this; @@ -57069,11 +57196,27 @@ class Serializer : public SerializerBase { const auto value_captureMode = value.captureMode; valueSerializer.writeInt32(static_cast(value_captureMode)); } + void writeFullScreenExitHandler(Ark_FullScreenExitHandler value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeWebKeyboardController(Ark_WebKeyboardController value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeVideoController(Ark_VideoController value) { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeCustomTheme(Ark_CustomTheme value) + { + Serializer& valueSerializer = *this; + const auto value__CustomThemeStub = value._CustomThemeStub; + valueSerializer.writeString(value__CustomThemeStub); + } void writeTimePickerDialogOptions(Ark_TimePickerDialogOptions value) { Serializer& valueSerializer = *this; @@ -58491,6 +58634,8 @@ class Serializer : public SerializerBase { } void writeSymbolEffect(Ark_SymbolEffect value) { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); } void writeDigitIndicator(Ark_DigitIndicator value) { @@ -60073,6 +60218,40 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_navDestinationId_value); } } + void writeNavigationAnimatedTransition(Ark_NavigationAnimatedTransition value) + { + Serializer& valueSerializer = *this; + const auto value_onTransitionEnd = value.onTransitionEnd; + Ark_Int32 value_onTransitionEnd_type = INTEROP_RUNTIME_UNDEFINED; + value_onTransitionEnd_type = runtimeType(value_onTransitionEnd); + valueSerializer.writeInt8(value_onTransitionEnd_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onTransitionEnd_type)) { + const auto value_onTransitionEnd_value = value_onTransitionEnd.value; + valueSerializer.writeCallbackResource(value_onTransitionEnd_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onTransitionEnd_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onTransitionEnd_value.callSync)); + } + const auto value_timeout = value.timeout; + Ark_Int32 value_timeout_type = INTEROP_RUNTIME_UNDEFINED; + value_timeout_type = runtimeType(value_timeout); + valueSerializer.writeInt8(value_timeout_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_timeout_type)) { + const auto value_timeout_value = value_timeout.value; + valueSerializer.writeNumber(value_timeout_value); + } + const auto value_isInteractive = value.isInteractive; + Ark_Int32 value_isInteractive_type = INTEROP_RUNTIME_UNDEFINED; + value_isInteractive_type = runtimeType(value_isInteractive); + valueSerializer.writeInt8(value_isInteractive_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isInteractive_type)) { + const auto value_isInteractive_value = value_isInteractive.value; + valueSerializer.writeBoolean(value_isInteractive_value); + } + const auto value_transition = value.transition; + valueSerializer.writeCallbackResource(value_transition.resource); + valueSerializer.writePointer(reinterpret_cast(value_transition.call)); + valueSerializer.writePointer(reinterpret_cast(value_transition.callSync)); + } void writeNavDestinationContext(Ark_NavDestinationContext value) { Serializer& valueSerializer = *this; @@ -60518,8 +60697,7 @@ class Serializer : public SerializerBase { void writeDrawableDescriptor(Ark_DrawableDescriptor value) { Serializer& valueSerializer = *this; - const auto value__DrawableDescriptorStub = value._DrawableDescriptorStub; - valueSerializer.writeString(value__DrawableDescriptorStub); + valueSerializer.writePointer(value); } void writeMatrix2D(Ark_Matrix2D value) { @@ -66884,40 +67062,6 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_onFinish_value.callSync)); } } - void writeWithThemeOptions(Ark_WithThemeOptions value) - { - Serializer& valueSerializer = *this; - const auto value_theme = value.theme; - Ark_Int32 value_theme_type = INTEROP_RUNTIME_UNDEFINED; - value_theme_type = runtimeType(value_theme); - valueSerializer.writeInt8(value_theme_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_theme_type)) { - const auto value_theme_value = value_theme.value; - valueSerializer.writeCustomTheme(value_theme_value); - } - const auto value_colorMode = value.colorMode; - Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; - value_colorMode_type = runtimeType(value_colorMode); - valueSerializer.writeInt8(value_colorMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorMode_type)) { - const auto value_colorMode_value = value_colorMode.value; - valueSerializer.writeInt32(static_cast(value_colorMode_value)); - } - } - void writeIsolatedOptions(Ark_IsolatedOptions value) - { - Serializer& valueSerializer = *this; - const auto value_want = value.want; - valueSerializer.writeWant(value_want); - const auto value_worker = value.worker; - valueSerializer.writeRestrictedWorker(value_worker); - } - void writeWithThemeAttribute(Ark_WithThemeAttribute value) - { - } - void writeIsolatedComponentAttribute(Ark_IsolatedComponentAttribute value) - { - } void writeLinearIndicatorController(Ark_LinearIndicatorController value) { Serializer& valueSerializer = *this; @@ -67230,6 +67374,17 @@ class Serializer : public SerializerBase { valueSerializer.writeBackgroundColorStyle(value_styledValue_12); } } + void writeIsolatedComponentAttribute(Ark_IsolatedComponentAttribute value) + { + } + void writeIsolatedOptions(Ark_IsolatedOptions value) + { + Serializer& valueSerializer = *this; + const auto value_want = value.want; + valueSerializer.writeWant(value_want); + const auto value_worker = value.worker; + valueSerializer.writeRestrictedWorker(value_worker); + } void writeReceiveCallback(Ark_ReceiveCallback value) { Serializer& valueSerializer = *this; @@ -67393,56 +67548,6 @@ class Serializer : public SerializerBase { valueSerializer.writeImageAIOptions(value_imageAIOptions_value); } } - void writeAdsBlockedDetails(Ark_AdsBlockedDetails value) - { - Serializer& valueSerializer = *this; - const auto value_url = value.url; - valueSerializer.writeString(value_url); - const auto value_adsBlocked = value.adsBlocked; - valueSerializer.writeInt32(value_adsBlocked.length); - for (int i = 0; i < value_adsBlocked.length; i++) { - const Ark_String value_adsBlocked_element = value_adsBlocked.array[i]; - valueSerializer.writeString(value_adsBlocked_element); - } - } - void writeWebKeyboardOptions(Ark_WebKeyboardOptions value) - { - Serializer& valueSerializer = *this; - const auto value_useSystemKeyboard = value.useSystemKeyboard; - valueSerializer.writeBoolean(value_useSystemKeyboard); - const auto value_enterKeyType = value.enterKeyType; - Ark_Int32 value_enterKeyType_type = INTEROP_RUNTIME_UNDEFINED; - value_enterKeyType_type = runtimeType(value_enterKeyType); - valueSerializer.writeInt8(value_enterKeyType_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enterKeyType_type)) { - const auto value_enterKeyType_value = value_enterKeyType.value; - valueSerializer.writeNumber(value_enterKeyType_value); - } - const auto value_customKeyboard = value.customKeyboard; - Ark_Int32 value_customKeyboard_type = INTEROP_RUNTIME_UNDEFINED; - value_customKeyboard_type = runtimeType(value_customKeyboard); - valueSerializer.writeInt8(value_customKeyboard_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_customKeyboard_type)) { - const auto value_customKeyboard_value = value_customKeyboard.value; - valueSerializer.writeCallbackResource(value_customKeyboard_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_customKeyboard_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_customKeyboard_value.callSync)); - } - } - void writeWebKeyboardCallbackInfo(Ark_WebKeyboardCallbackInfo value) - { - Serializer& valueSerializer = *this; - const auto value_controller = value.controller; - valueSerializer.writeWebKeyboardController(value_controller); - const auto value_attributes = value.attributes; - valueSerializer.writeInt32(value_attributes.size); - for (int32_t i = 0; i < value_attributes.size; i++) { - auto value_attributes_key = value_attributes.keys[i]; - auto value_attributes_value = value_attributes.values[i]; - valueSerializer.writeString(value_attributes_key); - valueSerializer.writeString(value_attributes_value); - } - } void writeExpandedMenuItemOptions(Ark_ExpandedMenuItemOptions value) { Serializer& valueSerializer = *this; @@ -67483,16 +67588,6 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_action.call)); valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); } - void writeRenderProcessNotRespondingData(Ark_RenderProcessNotRespondingData value) - { - Serializer& valueSerializer = *this; - const auto value_jsStack = value.jsStack; - valueSerializer.writeString(value_jsStack); - const auto value_pid = value.pid; - valueSerializer.writeNumber(value_pid); - const auto value_reason = value.reason; - valueSerializer.writeInt32(static_cast(value_reason)); - } void writeNativeMediaPlayerConfig(Ark_NativeMediaPlayerConfig value) { Serializer& valueSerializer = *this; @@ -67501,6 +67596,85 @@ class Serializer : public SerializerBase { const auto value_shouldOverlay = value.shouldOverlay; valueSerializer.writeBoolean(value_shouldOverlay); } + void writeScriptItem(Ark_ScriptItem value) + { + Serializer& valueSerializer = *this; + const auto value_script = value.script; + valueSerializer.writeString(value_script); + const auto value_scriptRules = value.scriptRules; + valueSerializer.writeInt32(value_scriptRules.length); + for (int i = 0; i < value_scriptRules.length; i++) { + const Ark_String value_scriptRules_element = value_scriptRules.array[i]; + valueSerializer.writeString(value_scriptRules_element); + } + } + void writeWebMediaOptions(Ark_WebMediaOptions value) + { + Serializer& valueSerializer = *this; + const auto value_resumeInterval = value.resumeInterval; + Ark_Int32 value_resumeInterval_type = INTEROP_RUNTIME_UNDEFINED; + value_resumeInterval_type = runtimeType(value_resumeInterval); + valueSerializer.writeInt8(value_resumeInterval_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_resumeInterval_type)) { + const auto value_resumeInterval_value = value_resumeInterval.value; + valueSerializer.writeNumber(value_resumeInterval_value); + } + const auto value_audioExclusive = value.audioExclusive; + Ark_Int32 value_audioExclusive_type = INTEROP_RUNTIME_UNDEFINED; + value_audioExclusive_type = runtimeType(value_audioExclusive); + valueSerializer.writeInt8(value_audioExclusive_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_audioExclusive_type)) { + const auto value_audioExclusive_value = value_audioExclusive.value; + valueSerializer.writeBoolean(value_audioExclusive_value); + } + } + void writeJavaScriptProxy(Ark_JavaScriptProxy value) + { + Serializer& valueSerializer = *this; + const auto value_object_ = value.object_; + valueSerializer.writeCustomObject("Object", value_object_); + const auto value_name = value.name; + valueSerializer.writeString(value_name); + const auto value_methodList = value.methodList; + valueSerializer.writeInt32(value_methodList.length); + for (int i = 0; i < value_methodList.length; i++) { + const Ark_String value_methodList_element = value_methodList.array[i]; + valueSerializer.writeString(value_methodList_element); + } + const auto value_controller = value.controller; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; + value_controller_type = value_controller.selector; + if (value_controller_type == 0) { + valueSerializer.writeInt8(0); + const auto value_controller_0 = value_controller.value0; + valueSerializer.writeWebController(value_controller_0); + } + else if (value_controller_type == 1) { + valueSerializer.writeInt8(1); + const auto value_controller_1 = value_controller.value1; + valueSerializer.writeWebviewController(value_controller_1); + } + const auto value_asyncMethodList = value.asyncMethodList; + Ark_Int32 value_asyncMethodList_type = INTEROP_RUNTIME_UNDEFINED; + value_asyncMethodList_type = runtimeType(value_asyncMethodList); + valueSerializer.writeInt8(value_asyncMethodList_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_asyncMethodList_type)) { + const auto value_asyncMethodList_value = value_asyncMethodList.value; + valueSerializer.writeInt32(value_asyncMethodList_value.length); + for (int i = 0; i < value_asyncMethodList_value.length; i++) { + const Ark_String value_asyncMethodList_value_element = value_asyncMethodList_value.array[i]; + valueSerializer.writeString(value_asyncMethodList_value_element); + } + } + const auto value_permission = value.permission; + Ark_Int32 value_permission_type = INTEROP_RUNTIME_UNDEFINED; + value_permission_type = runtimeType(value_permission); + valueSerializer.writeInt8(value_permission_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_permission_type)) { + const auto value_permission_value = value_permission.value; + valueSerializer.writeString(value_permission_value); + } + } void writeNativeEmbedTouchInfo(Ark_NativeEmbedTouchInfo value) { Serializer& valueSerializer = *this; @@ -67529,14 +67703,6 @@ class Serializer : public SerializerBase { valueSerializer.writeEventResult(value_result_value); } } - void writeNativeEmbedVisibilityInfo(Ark_NativeEmbedVisibilityInfo value) - { - Serializer& valueSerializer = *this; - const auto value_visibility = value.visibility; - valueSerializer.writeBoolean(value_visibility); - const auto value_embedId = value.embedId; - valueSerializer.writeString(value_embedId); - } void writeNativeEmbedDataInfo(Ark_NativeEmbedDataInfo value) { Serializer& valueSerializer = *this; @@ -67573,40 +67739,6 @@ class Serializer : public SerializerBase { valueSerializer.writeNativeEmbedInfo(value_info_value); } } - void writeScriptItem(Ark_ScriptItem value) - { - Serializer& valueSerializer = *this; - const auto value_script = value.script; - valueSerializer.writeString(value_script); - const auto value_scriptRules = value.scriptRules; - valueSerializer.writeInt32(value_scriptRules.length); - for (int i = 0; i < value_scriptRules.length; i++) { - const Ark_String value_scriptRules_element = value_scriptRules.array[i]; - valueSerializer.writeString(value_scriptRules_element); - } - } - void writeIntelligentTrackingPreventionDetails(Ark_IntelligentTrackingPreventionDetails value) - { - Serializer& valueSerializer = *this; - const auto value_host = value.host; - valueSerializer.writeString(value_host); - const auto value_trackerHost = value.trackerHost; - valueSerializer.writeString(value_trackerHost); - } - void writeLoadCommittedDetails(Ark_LoadCommittedDetails value) - { - Serializer& valueSerializer = *this; - const auto value_isMainFrame = value.isMainFrame; - valueSerializer.writeBoolean(value_isMainFrame); - const auto value_isSameDocument = value.isSameDocument; - valueSerializer.writeBoolean(value_isSameDocument); - const auto value_didReplaceEntry = value.didReplaceEntry; - valueSerializer.writeBoolean(value_didReplaceEntry); - const auto value_navigationType = value.navigationType; - valueSerializer.writeInt32(static_cast(value_navigationType)); - const auto value_url = value.url; - valueSerializer.writeString(value_url); - } void writeOnOverScrollEvent(Ark_OnOverScrollEvent value) { Serializer& valueSerializer = *this; @@ -67621,78 +67753,6 @@ class Serializer : public SerializerBase { const auto value_data = value.data; valueSerializer.writeWebResourceRequest(value_data); } - void writeLargestContentfulPaint(Ark_LargestContentfulPaint value) - { - Serializer& valueSerializer = *this; - const auto value_navigationStartTime = value.navigationStartTime; - Ark_Int32 value_navigationStartTime_type = INTEROP_RUNTIME_UNDEFINED; - value_navigationStartTime_type = runtimeType(value_navigationStartTime); - valueSerializer.writeInt8(value_navigationStartTime_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_navigationStartTime_type)) { - const auto value_navigationStartTime_value = value_navigationStartTime.value; - valueSerializer.writeNumber(value_navigationStartTime_value); - } - const auto value_largestImagePaintTime = value.largestImagePaintTime; - Ark_Int32 value_largestImagePaintTime_type = INTEROP_RUNTIME_UNDEFINED; - value_largestImagePaintTime_type = runtimeType(value_largestImagePaintTime); - valueSerializer.writeInt8(value_largestImagePaintTime_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestImagePaintTime_type)) { - const auto value_largestImagePaintTime_value = value_largestImagePaintTime.value; - valueSerializer.writeNumber(value_largestImagePaintTime_value); - } - const auto value_largestTextPaintTime = value.largestTextPaintTime; - Ark_Int32 value_largestTextPaintTime_type = INTEROP_RUNTIME_UNDEFINED; - value_largestTextPaintTime_type = runtimeType(value_largestTextPaintTime); - valueSerializer.writeInt8(value_largestTextPaintTime_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestTextPaintTime_type)) { - const auto value_largestTextPaintTime_value = value_largestTextPaintTime.value; - valueSerializer.writeNumber(value_largestTextPaintTime_value); - } - const auto value_imageBPP = value.imageBPP; - Ark_Int32 value_imageBPP_type = INTEROP_RUNTIME_UNDEFINED; - value_imageBPP_type = runtimeType(value_imageBPP); - valueSerializer.writeInt8(value_imageBPP_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageBPP_type)) { - const auto value_imageBPP_value = value_imageBPP.value; - valueSerializer.writeNumber(value_imageBPP_value); - } - const auto value_largestImageLoadStartTime = value.largestImageLoadStartTime; - Ark_Int32 value_largestImageLoadStartTime_type = INTEROP_RUNTIME_UNDEFINED; - value_largestImageLoadStartTime_type = runtimeType(value_largestImageLoadStartTime); - valueSerializer.writeInt8(value_largestImageLoadStartTime_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestImageLoadStartTime_type)) { - const auto value_largestImageLoadStartTime_value = value_largestImageLoadStartTime.value; - valueSerializer.writeNumber(value_largestImageLoadStartTime_value); - } - const auto value_largestImageLoadEndTime = value.largestImageLoadEndTime; - Ark_Int32 value_largestImageLoadEndTime_type = INTEROP_RUNTIME_UNDEFINED; - value_largestImageLoadEndTime_type = runtimeType(value_largestImageLoadEndTime); - valueSerializer.writeInt8(value_largestImageLoadEndTime_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestImageLoadEndTime_type)) { - const auto value_largestImageLoadEndTime_value = value_largestImageLoadEndTime.value; - valueSerializer.writeNumber(value_largestImageLoadEndTime_value); - } - } - void writeFirstMeaningfulPaint(Ark_FirstMeaningfulPaint value) - { - Serializer& valueSerializer = *this; - const auto value_navigationStartTime = value.navigationStartTime; - Ark_Int32 value_navigationStartTime_type = INTEROP_RUNTIME_UNDEFINED; - value_navigationStartTime_type = runtimeType(value_navigationStartTime); - valueSerializer.writeInt8(value_navigationStartTime_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_navigationStartTime_type)) { - const auto value_navigationStartTime_value = value_navigationStartTime.value; - valueSerializer.writeNumber(value_navigationStartTime_value); - } - const auto value_firstMeaningfulPaintTime = value.firstMeaningfulPaintTime; - Ark_Int32 value_firstMeaningfulPaintTime_type = INTEROP_RUNTIME_UNDEFINED; - value_firstMeaningfulPaintTime_type = runtimeType(value_firstMeaningfulPaintTime); - valueSerializer.writeInt8(value_firstMeaningfulPaintTime_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_firstMeaningfulPaintTime_type)) { - const auto value_firstMeaningfulPaintTime_value = value_firstMeaningfulPaintTime.value; - valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value); - } - } void writeOnFirstContentfulPaintEvent(Ark_OnFirstContentfulPaintEvent value) { Serializer& valueSerializer = *this; @@ -67767,24 +67827,6 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_issuers_element); } } - void writeSslErrorEvent(Ark_SslErrorEvent value) - { - Serializer& valueSerializer = *this; - const auto value_handler = value.handler; - valueSerializer.writeSslErrorHandler(value_handler); - const auto value_error = value.error; - valueSerializer.writeInt32(static_cast(value_error)); - const auto value_url = value.url; - valueSerializer.writeString(value_url); - const auto value_originalUrl = value.originalUrl; - valueSerializer.writeString(value_originalUrl); - const auto value_referrer = value.referrer; - valueSerializer.writeString(value_referrer); - const auto value_isFatalError = value.isFatalError; - valueSerializer.writeBoolean(value_isFatalError); - const auto value_isMainFrame = value.isMainFrame; - valueSerializer.writeBoolean(value_isMainFrame); - } void writeOnSslErrorEventReceiveEvent(Ark_OnSslErrorEventReceiveEvent value) { Serializer& valueSerializer = *this; @@ -67867,28 +67909,6 @@ class Serializer : public SerializerBase { const auto value_newScale = value.newScale; valueSerializer.writeNumber(value_newScale); } - void writeFullScreenEnterEvent(Ark_FullScreenEnterEvent value) - { - Serializer& valueSerializer = *this; - const auto value_handler = value.handler; - valueSerializer.writeFullScreenExitHandler(value_handler); - const auto value_videoWidth = value.videoWidth; - Ark_Int32 value_videoWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_videoWidth_type = runtimeType(value_videoWidth); - valueSerializer.writeInt8(value_videoWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_videoWidth_type)) { - const auto value_videoWidth_value = value_videoWidth.value; - valueSerializer.writeNumber(value_videoWidth_value); - } - const auto value_videoHeight = value.videoHeight; - Ark_Int32 value_videoHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_videoHeight_type = runtimeType(value_videoHeight); - valueSerializer.writeInt8(value_videoHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_videoHeight_type)) { - const auto value_videoHeight_value = value_videoHeight.value; - valueSerializer.writeNumber(value_videoHeight_value); - } - } void writeOnResourceLoadEvent(Ark_OnResourceLoadEvent value) { Serializer& valueSerializer = *this; @@ -68027,73 +68047,6 @@ class Serializer : public SerializerBase { const auto value_url = value.url; valueSerializer.writeString(value_url); } - void writeWebMediaOptions(Ark_WebMediaOptions value) - { - Serializer& valueSerializer = *this; - const auto value_resumeInterval = value.resumeInterval; - Ark_Int32 value_resumeInterval_type = INTEROP_RUNTIME_UNDEFINED; - value_resumeInterval_type = runtimeType(value_resumeInterval); - valueSerializer.writeInt8(value_resumeInterval_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_resumeInterval_type)) { - const auto value_resumeInterval_value = value_resumeInterval.value; - valueSerializer.writeNumber(value_resumeInterval_value); - } - const auto value_audioExclusive = value.audioExclusive; - Ark_Int32 value_audioExclusive_type = INTEROP_RUNTIME_UNDEFINED; - value_audioExclusive_type = runtimeType(value_audioExclusive); - valueSerializer.writeInt8(value_audioExclusive_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_audioExclusive_type)) { - const auto value_audioExclusive_value = value_audioExclusive.value; - valueSerializer.writeBoolean(value_audioExclusive_value); - } - } - void writeJavaScriptProxy(Ark_JavaScriptProxy value) - { - Serializer& valueSerializer = *this; - const auto value_object_ = value.object_; - valueSerializer.writeCustomObject("Object", value_object_); - const auto value_name = value.name; - valueSerializer.writeString(value_name); - const auto value_methodList = value.methodList; - valueSerializer.writeInt32(value_methodList.length); - for (int i = 0; i < value_methodList.length; i++) { - const Ark_String value_methodList_element = value_methodList.array[i]; - valueSerializer.writeString(value_methodList_element); - } - const auto value_controller = value.controller; - Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; - value_controller_type = value_controller.selector; - if (value_controller_type == 0) { - valueSerializer.writeInt8(0); - const auto value_controller_0 = value_controller.value0; - valueSerializer.writeWebController(value_controller_0); - } - else if (value_controller_type == 1) { - valueSerializer.writeInt8(1); - const auto value_controller_1 = value_controller.value1; - valueSerializer.writeWebviewController(value_controller_1); - } - const auto value_asyncMethodList = value.asyncMethodList; - Ark_Int32 value_asyncMethodList_type = INTEROP_RUNTIME_UNDEFINED; - value_asyncMethodList_type = runtimeType(value_asyncMethodList); - valueSerializer.writeInt8(value_asyncMethodList_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_asyncMethodList_type)) { - const auto value_asyncMethodList_value = value_asyncMethodList.value; - valueSerializer.writeInt32(value_asyncMethodList_value.length); - for (int i = 0; i < value_asyncMethodList_value.length; i++) { - const Ark_String value_asyncMethodList_value_element = value_asyncMethodList_value.array[i]; - valueSerializer.writeString(value_asyncMethodList_value_element); - } - } - const auto value_permission = value.permission; - Ark_Int32 value_permission_type = INTEROP_RUNTIME_UNDEFINED; - value_permission_type = runtimeType(value_permission); - valueSerializer.writeInt8(value_permission_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_permission_type)) { - const auto value_permission_value = value_permission.value; - valueSerializer.writeString(value_permission_value); - } - } void writeWebOptions(Ark_WebOptions value) { Serializer& valueSerializer = *this; @@ -68156,6 +68109,208 @@ class Serializer : public SerializerBase { const auto value_headerValue = value.headerValue; valueSerializer.writeString(value_headerValue); } + void writeFullScreenEnterEvent(Ark_FullScreenEnterEvent value) + { + Serializer& valueSerializer = *this; + const auto value_handler = value.handler; + valueSerializer.writeFullScreenExitHandler(value_handler); + const auto value_videoWidth = value.videoWidth; + Ark_Int32 value_videoWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_videoWidth_type = runtimeType(value_videoWidth); + valueSerializer.writeInt8(value_videoWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_videoWidth_type)) { + const auto value_videoWidth_value = value_videoWidth.value; + valueSerializer.writeNumber(value_videoWidth_value); + } + const auto value_videoHeight = value.videoHeight; + Ark_Int32 value_videoHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_videoHeight_type = runtimeType(value_videoHeight); + valueSerializer.writeInt8(value_videoHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_videoHeight_type)) { + const auto value_videoHeight_value = value_videoHeight.value; + valueSerializer.writeNumber(value_videoHeight_value); + } + } + void writeWebKeyboardOptions(Ark_WebKeyboardOptions value) + { + Serializer& valueSerializer = *this; + const auto value_useSystemKeyboard = value.useSystemKeyboard; + valueSerializer.writeBoolean(value_useSystemKeyboard); + const auto value_enterKeyType = value.enterKeyType; + Ark_Int32 value_enterKeyType_type = INTEROP_RUNTIME_UNDEFINED; + value_enterKeyType_type = runtimeType(value_enterKeyType); + valueSerializer.writeInt8(value_enterKeyType_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enterKeyType_type)) { + const auto value_enterKeyType_value = value_enterKeyType.value; + valueSerializer.writeNumber(value_enterKeyType_value); + } + const auto value_customKeyboard = value.customKeyboard; + Ark_Int32 value_customKeyboard_type = INTEROP_RUNTIME_UNDEFINED; + value_customKeyboard_type = runtimeType(value_customKeyboard); + valueSerializer.writeInt8(value_customKeyboard_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_customKeyboard_type)) { + const auto value_customKeyboard_value = value_customKeyboard.value; + valueSerializer.writeCallbackResource(value_customKeyboard_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_customKeyboard_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_customKeyboard_value.callSync)); + } + } + void writeWebKeyboardCallbackInfo(Ark_WebKeyboardCallbackInfo value) + { + Serializer& valueSerializer = *this; + const auto value_controller = value.controller; + valueSerializer.writeWebKeyboardController(value_controller); + const auto value_attributes = value.attributes; + valueSerializer.writeInt32(value_attributes.size); + for (int32_t i = 0; i < value_attributes.size; i++) { + auto value_attributes_key = value_attributes.keys[i]; + auto value_attributes_value = value_attributes.values[i]; + valueSerializer.writeString(value_attributes_key); + valueSerializer.writeString(value_attributes_value); + } + } + void writeAdsBlockedDetails(Ark_AdsBlockedDetails value) + { + Serializer& valueSerializer = *this; + const auto value_url = value.url; + valueSerializer.writeString(value_url); + const auto value_adsBlocked = value.adsBlocked; + valueSerializer.writeInt32(value_adsBlocked.length); + for (int i = 0; i < value_adsBlocked.length; i++) { + const Ark_String value_adsBlocked_element = value_adsBlocked.array[i]; + valueSerializer.writeString(value_adsBlocked_element); + } + } + void writeRenderProcessNotRespondingData(Ark_RenderProcessNotRespondingData value) + { + Serializer& valueSerializer = *this; + const auto value_jsStack = value.jsStack; + valueSerializer.writeString(value_jsStack); + const auto value_pid = value.pid; + valueSerializer.writeNumber(value_pid); + const auto value_reason = value.reason; + valueSerializer.writeInt32(static_cast(value_reason)); + } + void writeNativeEmbedVisibilityInfo(Ark_NativeEmbedVisibilityInfo value) + { + Serializer& valueSerializer = *this; + const auto value_visibility = value.visibility; + valueSerializer.writeBoolean(value_visibility); + const auto value_embedId = value.embedId; + valueSerializer.writeString(value_embedId); + } + void writeIntelligentTrackingPreventionDetails(Ark_IntelligentTrackingPreventionDetails value) + { + Serializer& valueSerializer = *this; + const auto value_host = value.host; + valueSerializer.writeString(value_host); + const auto value_trackerHost = value.trackerHost; + valueSerializer.writeString(value_trackerHost); + } + void writeFirstMeaningfulPaint(Ark_FirstMeaningfulPaint value) + { + Serializer& valueSerializer = *this; + const auto value_navigationStartTime = value.navigationStartTime; + Ark_Int32 value_navigationStartTime_type = INTEROP_RUNTIME_UNDEFINED; + value_navigationStartTime_type = runtimeType(value_navigationStartTime); + valueSerializer.writeInt8(value_navigationStartTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_navigationStartTime_type)) { + const auto value_navigationStartTime_value = value_navigationStartTime.value; + valueSerializer.writeNumber(value_navigationStartTime_value); + } + const auto value_firstMeaningfulPaintTime = value.firstMeaningfulPaintTime; + Ark_Int32 value_firstMeaningfulPaintTime_type = INTEROP_RUNTIME_UNDEFINED; + value_firstMeaningfulPaintTime_type = runtimeType(value_firstMeaningfulPaintTime); + valueSerializer.writeInt8(value_firstMeaningfulPaintTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_firstMeaningfulPaintTime_type)) { + const auto value_firstMeaningfulPaintTime_value = value_firstMeaningfulPaintTime.value; + valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value); + } + } + void writeLargestContentfulPaint(Ark_LargestContentfulPaint value) + { + Serializer& valueSerializer = *this; + const auto value_navigationStartTime = value.navigationStartTime; + Ark_Int32 value_navigationStartTime_type = INTEROP_RUNTIME_UNDEFINED; + value_navigationStartTime_type = runtimeType(value_navigationStartTime); + valueSerializer.writeInt8(value_navigationStartTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_navigationStartTime_type)) { + const auto value_navigationStartTime_value = value_navigationStartTime.value; + valueSerializer.writeNumber(value_navigationStartTime_value); + } + const auto value_largestImagePaintTime = value.largestImagePaintTime; + Ark_Int32 value_largestImagePaintTime_type = INTEROP_RUNTIME_UNDEFINED; + value_largestImagePaintTime_type = runtimeType(value_largestImagePaintTime); + valueSerializer.writeInt8(value_largestImagePaintTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestImagePaintTime_type)) { + const auto value_largestImagePaintTime_value = value_largestImagePaintTime.value; + valueSerializer.writeNumber(value_largestImagePaintTime_value); + } + const auto value_largestTextPaintTime = value.largestTextPaintTime; + Ark_Int32 value_largestTextPaintTime_type = INTEROP_RUNTIME_UNDEFINED; + value_largestTextPaintTime_type = runtimeType(value_largestTextPaintTime); + valueSerializer.writeInt8(value_largestTextPaintTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestTextPaintTime_type)) { + const auto value_largestTextPaintTime_value = value_largestTextPaintTime.value; + valueSerializer.writeNumber(value_largestTextPaintTime_value); + } + const auto value_imageBPP = value.imageBPP; + Ark_Int32 value_imageBPP_type = INTEROP_RUNTIME_UNDEFINED; + value_imageBPP_type = runtimeType(value_imageBPP); + valueSerializer.writeInt8(value_imageBPP_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageBPP_type)) { + const auto value_imageBPP_value = value_imageBPP.value; + valueSerializer.writeNumber(value_imageBPP_value); + } + const auto value_largestImageLoadStartTime = value.largestImageLoadStartTime; + Ark_Int32 value_largestImageLoadStartTime_type = INTEROP_RUNTIME_UNDEFINED; + value_largestImageLoadStartTime_type = runtimeType(value_largestImageLoadStartTime); + valueSerializer.writeInt8(value_largestImageLoadStartTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestImageLoadStartTime_type)) { + const auto value_largestImageLoadStartTime_value = value_largestImageLoadStartTime.value; + valueSerializer.writeNumber(value_largestImageLoadStartTime_value); + } + const auto value_largestImageLoadEndTime = value.largestImageLoadEndTime; + Ark_Int32 value_largestImageLoadEndTime_type = INTEROP_RUNTIME_UNDEFINED; + value_largestImageLoadEndTime_type = runtimeType(value_largestImageLoadEndTime); + valueSerializer.writeInt8(value_largestImageLoadEndTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestImageLoadEndTime_type)) { + const auto value_largestImageLoadEndTime_value = value_largestImageLoadEndTime.value; + valueSerializer.writeNumber(value_largestImageLoadEndTime_value); + } + } + void writeSslErrorEvent(Ark_SslErrorEvent value) + { + Serializer& valueSerializer = *this; + const auto value_handler = value.handler; + valueSerializer.writeSslErrorHandler(value_handler); + const auto value_error = value.error; + valueSerializer.writeInt32(static_cast(value_error)); + const auto value_url = value.url; + valueSerializer.writeString(value_url); + const auto value_originalUrl = value.originalUrl; + valueSerializer.writeString(value_originalUrl); + const auto value_referrer = value.referrer; + valueSerializer.writeString(value_referrer); + const auto value_isFatalError = value.isFatalError; + valueSerializer.writeBoolean(value_isFatalError); + const auto value_isMainFrame = value.isMainFrame; + valueSerializer.writeBoolean(value_isMainFrame); + } + void writeLoadCommittedDetails(Ark_LoadCommittedDetails value) + { + Serializer& valueSerializer = *this; + const auto value_isMainFrame = value.isMainFrame; + valueSerializer.writeBoolean(value_isMainFrame); + const auto value_isSameDocument = value.isSameDocument; + valueSerializer.writeBoolean(value_isSameDocument); + const auto value_didReplaceEntry = value.didReplaceEntry; + valueSerializer.writeBoolean(value_didReplaceEntry); + const auto value_navigationType = value.navigationType; + valueSerializer.writeInt32(static_cast(value_navigationType)); + const auto value_url = value.url; + valueSerializer.writeString(value_url); + } void writePlaybackInfo(Ark_PlaybackInfo value) { Serializer& valueSerializer = *this; @@ -68261,6 +68416,29 @@ class Serializer : public SerializerBase { valueSerializer.writeImageAIOptions(value_imageAIOptions_value); } } + void writeWithThemeAttribute(Ark_WithThemeAttribute value) + { + } + void writeWithThemeOptions(Ark_WithThemeOptions value) + { + Serializer& valueSerializer = *this; + const auto value_theme = value.theme; + Ark_Int32 value_theme_type = INTEROP_RUNTIME_UNDEFINED; + value_theme_type = runtimeType(value_theme); + valueSerializer.writeInt8(value_theme_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_theme_type)) { + const auto value_theme_value = value_theme.value; + valueSerializer.writeCustomTheme(value_theme_value); + } + const auto value_colorMode = value.colorMode; + Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; + value_colorMode_type = runtimeType(value_colorMode); + valueSerializer.writeInt8(value_colorMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorMode_type)) { + const auto value_colorMode_value = value_colorMode.value; + valueSerializer.writeInt32(static_cast(value_colorMode_value)); + } + } void writeSwitchStyle(Ark_SwitchStyle value) { Serializer& valueSerializer = *this; @@ -68829,11 +69007,6 @@ class Serializer : public SerializerBase { const auto value_controller = value.controller; valueSerializer.writeTextController(value_controller); } - void writeTabContentTransitionProxy(Ark_TabContentTransitionProxy value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } void writeBarGridColumnOptions(Ark_BarGridColumnOptions value) { Serializer& valueSerializer = *this; @@ -68878,6 +69051,11 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_gutter_value); } } + void writeTabContentTransitionProxy(Ark_TabContentTransitionProxy value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeTabsAnimationEvent(Ark_TabsAnimationEvent value) { Serializer& valueSerializer = *this; @@ -68916,6 +69094,11 @@ class Serializer : public SerializerBase { valueSerializer.writeTabsController(value_controller_value); } } + void writePulseSymbolEffect(Ark_PulseSymbolEffect value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeBounceSymbolEffect(Ark_BounceSymbolEffect value) { Serializer& valueSerializer = *this; @@ -68957,6 +69140,11 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_transition.call)); valueSerializer.writePointer(reinterpret_cast(value_transition.callSync)); } + void writeIndicatorComponentController(Ark_IndicatorComponentController value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeSwiperAnimationEvent(Ark_SwiperAnimationEvent value) { Serializer& valueSerializer = *this; @@ -68967,11 +69155,6 @@ class Serializer : public SerializerBase { const auto value_velocity = value.velocity; valueSerializer.writeNumber(value_velocity); } - void writeIndicatorComponentController(Ark_IndicatorComponentController value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } void writeSwiperController(Ark_SwiperController value) { Serializer& valueSerializer = *this; @@ -69226,24 +69409,6 @@ class Serializer : public SerializerBase { valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); } } - void writeDeleteValue(Ark_DeleteValue value) - { - Serializer& valueSerializer = *this; - const auto value_deleteOffset = value.deleteOffset; - valueSerializer.writeNumber(value_deleteOffset); - const auto value_direction = value.direction; - valueSerializer.writeInt32(static_cast(value_direction)); - const auto value_deleteValue = value.deleteValue; - valueSerializer.writeString(value_deleteValue); - } - void writeInsertValue(Ark_InsertValue value) - { - Serializer& valueSerializer = *this; - const auto value_insertOffset = value.insertOffset; - valueSerializer.writeNumber(value_insertOffset); - const auto value_insertValue = value.insertValue; - valueSerializer.writeString(value_insertValue); - } void writeTextDecorationOptions(Ark_TextDecorationOptions value) { Serializer& valueSerializer = *this; @@ -69328,6 +69493,24 @@ class Serializer : public SerializerBase { } } } + void writeDeleteValue(Ark_DeleteValue value) + { + Serializer& valueSerializer = *this; + const auto value_deleteOffset = value.deleteOffset; + valueSerializer.writeNumber(value_deleteOffset); + const auto value_direction = value.direction; + valueSerializer.writeInt32(static_cast(value_direction)); + const auto value_deleteValue = value.deleteValue; + valueSerializer.writeString(value_deleteValue); + } + void writeInsertValue(Ark_InsertValue value) + { + Serializer& valueSerializer = *this; + const auto value_insertOffset = value.insertOffset; + valueSerializer.writeNumber(value_insertOffset); + const auto value_insertValue = value.insertValue; + valueSerializer.writeString(value_insertValue); + } void writeSearchOptions(Ark_SearchOptions value) { Serializer& valueSerializer = *this; @@ -69539,58 +69722,6 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeCopyEvent(Ark_CopyEvent value) - { - Serializer& valueSerializer = *this; - const auto value_preventDefault = value.preventDefault; - Ark_Int32 value_preventDefault_type = INTEROP_RUNTIME_UNDEFINED; - value_preventDefault_type = runtimeType(value_preventDefault); - valueSerializer.writeInt8(value_preventDefault_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { - const auto value_preventDefault_value = value_preventDefault.value; - valueSerializer.writeCallbackResource(value_preventDefault_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.callSync)); - } - } - void writeCutEvent(Ark_CutEvent value) - { - Serializer& valueSerializer = *this; - const auto value_preventDefault = value.preventDefault; - Ark_Int32 value_preventDefault_type = INTEROP_RUNTIME_UNDEFINED; - value_preventDefault_type = runtimeType(value_preventDefault); - valueSerializer.writeInt8(value_preventDefault_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { - const auto value_preventDefault_value = value_preventDefault.value; - valueSerializer.writeCallbackResource(value_preventDefault_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.callSync)); - } - } - void writeRichEditorChangeValue(Ark_RichEditorChangeValue value) - { - Serializer& valueSerializer = *this; - const auto value_rangeBefore = value.rangeBefore; - valueSerializer.writeTextRange(value_rangeBefore); - const auto value_replacedSpans = value.replacedSpans; - valueSerializer.writeInt32(value_replacedSpans.length); - for (int i = 0; i < value_replacedSpans.length; i++) { - const Ark_RichEditorTextSpanResult value_replacedSpans_element = value_replacedSpans.array[i]; - valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element); - } - const auto value_replacedImageSpans = value.replacedImageSpans; - valueSerializer.writeInt32(value_replacedImageSpans.length); - for (int i = 0; i < value_replacedImageSpans.length; i++) { - const Ark_RichEditorImageSpanResult value_replacedImageSpans_element = value_replacedImageSpans.array[i]; - valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element); - } - const auto value_replacedSymbolSpans = value.replacedSymbolSpans; - valueSerializer.writeInt32(value_replacedSymbolSpans.length); - for (int i = 0; i < value_replacedSymbolSpans.length; i++) { - const Ark_RichEditorTextSpanResult value_replacedSymbolSpans_element = value_replacedSymbolSpans.array[i]; - valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element); - } - } void writeSubmitEvent(Ark_SubmitEvent value) { Serializer& valueSerializer = *this; @@ -69667,6 +69798,58 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.callSync)); } } + void writeCopyEvent(Ark_CopyEvent value) + { + Serializer& valueSerializer = *this; + const auto value_preventDefault = value.preventDefault; + Ark_Int32 value_preventDefault_type = INTEROP_RUNTIME_UNDEFINED; + value_preventDefault_type = runtimeType(value_preventDefault); + valueSerializer.writeInt8(value_preventDefault_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { + const auto value_preventDefault_value = value_preventDefault.value; + valueSerializer.writeCallbackResource(value_preventDefault_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.callSync)); + } + } + void writeCutEvent(Ark_CutEvent value) + { + Serializer& valueSerializer = *this; + const auto value_preventDefault = value.preventDefault; + Ark_Int32 value_preventDefault_type = INTEROP_RUNTIME_UNDEFINED; + value_preventDefault_type = runtimeType(value_preventDefault); + valueSerializer.writeInt8(value_preventDefault_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { + const auto value_preventDefault_value = value_preventDefault.value; + valueSerializer.writeCallbackResource(value_preventDefault_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.callSync)); + } + } + void writeRichEditorChangeValue(Ark_RichEditorChangeValue value) + { + Serializer& valueSerializer = *this; + const auto value_rangeBefore = value.rangeBefore; + valueSerializer.writeTextRange(value_rangeBefore); + const auto value_replacedSpans = value.replacedSpans; + valueSerializer.writeInt32(value_replacedSpans.length); + for (int i = 0; i < value_replacedSpans.length; i++) { + const Ark_RichEditorTextSpanResult value_replacedSpans_element = value_replacedSpans.array[i]; + valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element); + } + const auto value_replacedImageSpans = value.replacedImageSpans; + valueSerializer.writeInt32(value_replacedImageSpans.length); + for (int i = 0; i < value_replacedImageSpans.length; i++) { + const Ark_RichEditorImageSpanResult value_replacedImageSpans_element = value_replacedImageSpans.array[i]; + valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element); + } + const auto value_replacedSymbolSpans = value.replacedSymbolSpans; + valueSerializer.writeInt32(value_replacedSymbolSpans.length); + for (int i = 0; i < value_replacedSymbolSpans.length; i++) { + const Ark_RichEditorTextSpanResult value_replacedSymbolSpans_element = value_replacedSymbolSpans.array[i]; + valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element); + } + } void writeRichEditorDeleteValue(Ark_RichEditorDeleteValue value) { Serializer& valueSerializer = *this; @@ -70130,14 +70313,6 @@ class Serializer : public SerializerBase { } } } - void writePluginErrorData(Ark_PluginErrorData value) - { - Serializer& valueSerializer = *this; - const auto value_errcode = value.errcode; - valueSerializer.writeNumber(value_errcode); - const auto value_msg = value.msg; - valueSerializer.writeString(value_msg); - } void writePluginComponentOptions(Ark_PluginComponentOptions value) { Serializer& valueSerializer = *this; @@ -70146,6 +70321,14 @@ class Serializer : public SerializerBase { const auto value_data = value.data; valueSerializer.writeString(value_data); } + void writePluginErrorData(Ark_PluginErrorData value) + { + Serializer& valueSerializer = *this; + const auto value_errcode = value.errcode; + valueSerializer.writeNumber(value_errcode); + const auto value_msg = value.msg; + valueSerializer.writeString(value_msg); + } void writePatternLockController(Ark_PatternLockController value) { Serializer& valueSerializer = *this; @@ -71616,24 +71799,6 @@ class Serializer : public SerializerBase { valueSerializer.writeFlexSpaceOptions(value_space_value); } } - void writeBusinessError(Ark_BusinessError value) - { - Serializer& valueSerializer = *this; - const auto value_name = value.name; - valueSerializer.writeString(value_name); - const auto value_message = value.message; - valueSerializer.writeString(value_message); - const auto value_stack = value.stack; - Ark_Int32 value_stack_type = INTEROP_RUNTIME_UNDEFINED; - value_stack_type = runtimeType(value_stack); - valueSerializer.writeInt8(value_stack_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_stack_type)) { - const auto value_stack_value = value_stack.value; - valueSerializer.writeString(value_stack_value); - } - const auto value_code = value.code; - valueSerializer.writeNumber(value_code); - } void writeTerminationInfo(Ark_TerminationInfo value) { Serializer& valueSerializer = *this; @@ -72517,42 +72682,6 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeSpringBackAction(Ark_SpringBackAction value) - { - Serializer& valueSerializer = *this; - const auto value_springBack = value.springBack; - valueSerializer.writeCallbackResource(value_springBack.resource); - valueSerializer.writePointer(reinterpret_cast(value_springBack.call)); - valueSerializer.writePointer(reinterpret_cast(value_springBack.callSync)); - } - void writeDismissSheetAction(Ark_DismissSheetAction value) - { - Serializer& valueSerializer = *this; - const auto value_dismiss = value.dismiss; - valueSerializer.writeCallbackResource(value_dismiss.resource); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); - const auto value_reason = value.reason; - valueSerializer.writeInt32(static_cast(value_reason)); - } - void writeSheetDismiss(Ark_SheetDismiss value) - { - Serializer& valueSerializer = *this; - const auto value_dismiss = value.dismiss; - valueSerializer.writeCallbackResource(value_dismiss.resource); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); - } - void writeDismissContentCoverAction(Ark_DismissContentCoverAction value) - { - Serializer& valueSerializer = *this; - const auto value_dismiss = value.dismiss; - valueSerializer.writeCallbackResource(value_dismiss.resource); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); - const auto value_reason = value.reason; - valueSerializer.writeInt32(static_cast(value_reason)); - } void writeMenuElement(Ark_MenuElement value) { Serializer& valueSerializer = *this; @@ -72609,60 +72738,6 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_action.call)); valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); } - void writeDismissPopupAction(Ark_DismissPopupAction value) - { - Serializer& valueSerializer = *this; - const auto value_dismiss = value.dismiss; - valueSerializer.writeCallbackResource(value_dismiss.resource); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); - const auto value_reason = value.reason; - valueSerializer.writeInt32(static_cast(value_reason)); - } - void writeGestureRecognizer(Ark_GestureRecognizer value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } - void writeFingerInfo(Ark_FingerInfo value) - { - Serializer& valueSerializer = *this; - const auto value_id = value.id; - valueSerializer.writeNumber(value_id); - const auto value_globalX = value.globalX; - valueSerializer.writeNumber(value_globalX); - const auto value_globalY = value.globalY; - valueSerializer.writeNumber(value_globalY); - const auto value_localX = value.localX; - valueSerializer.writeNumber(value_localX); - const auto value_localY = value.localY; - valueSerializer.writeNumber(value_localY); - const auto value_displayX = value.displayX; - valueSerializer.writeNumber(value_displayX); - const auto value_displayY = value.displayY; - valueSerializer.writeNumber(value_displayY); - } - void writeBaseGestureEvent(Ark_BaseGestureEvent value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } - void writeGestureInfo(Ark_GestureInfo value) - { - Serializer& valueSerializer = *this; - const auto value_tag = value.tag; - Ark_Int32 value_tag_type = INTEROP_RUNTIME_UNDEFINED; - value_tag_type = runtimeType(value_tag); - valueSerializer.writeInt8(value_tag_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_tag_type)) { - const auto value_tag_value = value_tag.value; - valueSerializer.writeString(value_tag_value); - } - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_isSystemGesture = value.isSystemGesture; - valueSerializer.writeBoolean(value_isSystemGesture); - } void writeBackgroundBrightnessOptions(Ark_BackgroundBrightnessOptions value) { Serializer& valueSerializer = *this; @@ -74130,6 +74205,22 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_vertical_value); } } + void writeGestureInfo(Ark_GestureInfo value) + { + Serializer& valueSerializer = *this; + const auto value_tag = value.tag; + Ark_Int32 value_tag_type = INTEROP_RUNTIME_UNDEFINED; + value_tag_type = runtimeType(value_tag); + valueSerializer.writeInt8(value_tag_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_tag_type)) { + const auto value_tag_value = value_tag.value; + valueSerializer.writeString(value_tag_value); + } + const auto value_type = value.type; + valueSerializer.writeInt32(static_cast(value_type)); + const auto value_isSystemGesture = value.isSystemGesture; + valueSerializer.writeBoolean(value_isSystemGesture); + } void writeTouchResult(Ark_TouchResult value) { Serializer& valueSerializer = *this; @@ -74164,6 +74255,52 @@ class Serializer : public SerializerBase { const auto value_id = value.id; valueSerializer.writeString(value_id); } + void writeDismissPopupAction(Ark_DismissPopupAction value) + { + Serializer& valueSerializer = *this; + const auto value_dismiss = value.dismiss; + valueSerializer.writeCallbackResource(value_dismiss.resource); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); + const auto value_reason = value.reason; + valueSerializer.writeInt32(static_cast(value_reason)); + } + void writeSpringBackAction(Ark_SpringBackAction value) + { + Serializer& valueSerializer = *this; + const auto value_springBack = value.springBack; + valueSerializer.writeCallbackResource(value_springBack.resource); + valueSerializer.writePointer(reinterpret_cast(value_springBack.call)); + valueSerializer.writePointer(reinterpret_cast(value_springBack.callSync)); + } + void writeDismissSheetAction(Ark_DismissSheetAction value) + { + Serializer& valueSerializer = *this; + const auto value_dismiss = value.dismiss; + valueSerializer.writeCallbackResource(value_dismiss.resource); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); + const auto value_reason = value.reason; + valueSerializer.writeInt32(static_cast(value_reason)); + } + void writeSheetDismiss(Ark_SheetDismiss value) + { + Serializer& valueSerializer = *this; + const auto value_dismiss = value.dismiss; + valueSerializer.writeCallbackResource(value_dismiss.resource); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); + } + void writeDismissContentCoverAction(Ark_DismissContentCoverAction value) + { + Serializer& valueSerializer = *this; + const auto value_dismiss = value.dismiss; + valueSerializer.writeCallbackResource(value_dismiss.resource); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); + const auto value_reason = value.reason; + valueSerializer.writeInt32(static_cast(value_reason)); + } void writeKeyEvent(Ark_KeyEvent value) { Serializer& valueSerializer = *this; @@ -74179,6 +74316,34 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeGestureRecognizer(Ark_GestureRecognizer value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeFingerInfo(Ark_FingerInfo value) + { + Serializer& valueSerializer = *this; + const auto value_id = value.id; + valueSerializer.writeNumber(value_id); + const auto value_globalX = value.globalX; + valueSerializer.writeNumber(value_globalX); + const auto value_globalY = value.globalY; + valueSerializer.writeNumber(value_globalY); + const auto value_localX = value.localX; + valueSerializer.writeNumber(value_localX); + const auto value_localY = value.localY; + valueSerializer.writeNumber(value_localY); + const auto value_displayX = value.displayX; + valueSerializer.writeNumber(value_displayX); + const auto value_displayY = value.displayY; + valueSerializer.writeNumber(value_displayY); + } + void writeBaseGestureEvent(Ark_BaseGestureEvent value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeHistoricalPoint(Ark_HistoricalPoint value) { Serializer& valueSerializer = *this; @@ -74459,30 +74624,6 @@ class Serializer : public SerializerBase { valueSerializer.writeInt64(value_selected_value); } } - void writeCalendarRequestedData(Ark_CalendarRequestedData value) - { - Serializer& valueSerializer = *this; - const auto value_year = value.year; - valueSerializer.writeNumber(value_year); - const auto value_month = value.month; - valueSerializer.writeNumber(value_month); - const auto value_currentYear = value.currentYear; - valueSerializer.writeNumber(value_currentYear); - const auto value_currentMonth = value.currentMonth; - valueSerializer.writeNumber(value_currentMonth); - const auto value_monthState = value.monthState; - valueSerializer.writeNumber(value_monthState); - } - void writeCalendarSelectedDate(Ark_CalendarSelectedDate value) - { - Serializer& valueSerializer = *this; - const auto value_year = value.year; - valueSerializer.writeNumber(value_year); - const auto value_month = value.month; - valueSerializer.writeNumber(value_month); - const auto value_day = value.day; - valueSerializer.writeNumber(value_day); - } void writeWorkStateStyle(Ark_WorkStateStyle value) { Serializer& valueSerializer = *this; @@ -75178,6 +75319,30 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_boundaryColOffset_value); } } + void writeCalendarRequestedData(Ark_CalendarRequestedData value) + { + Serializer& valueSerializer = *this; + const auto value_year = value.year; + valueSerializer.writeNumber(value_year); + const auto value_month = value.month; + valueSerializer.writeNumber(value_month); + const auto value_currentYear = value.currentYear; + valueSerializer.writeNumber(value_currentYear); + const auto value_currentMonth = value.currentMonth; + valueSerializer.writeNumber(value_currentMonth); + const auto value_monthState = value.monthState; + valueSerializer.writeNumber(value_monthState); + } + void writeCalendarSelectedDate(Ark_CalendarSelectedDate value) + { + Serializer& valueSerializer = *this; + const auto value_year = value.year; + valueSerializer.writeNumber(value_year); + const auto value_month = value.month; + valueSerializer.writeNumber(value_month); + const auto value_day = value.day; + valueSerializer.writeNumber(value_day); + } void writeCalendarDay(Ark_CalendarDay value) { Serializer& valueSerializer = *this; @@ -75453,16 +75618,6 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_primary_value); } } - void writeDismissDialogAction(Ark_DismissDialogAction value) - { - Serializer& valueSerializer = *this; - const auto value_dismiss = value.dismiss; - valueSerializer.writeCallbackResource(value_dismiss.resource); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); - valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); - const auto value_reason = value.reason; - valueSerializer.writeInt32(static_cast(value_reason)); - } void writeSheetInfo(Ark_SheetInfo value) { Serializer& valueSerializer = *this; @@ -75503,6 +75658,16 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_action.call)); valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); } + void writeDismissDialogAction(Ark_DismissDialogAction value) + { + Serializer& valueSerializer = *this; + const auto value_dismiss = value.dismiss; + valueSerializer.writeCallbackResource(value_dismiss.resource); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.call)); + valueSerializer.writePointer(reinterpret_cast(value_dismiss.callSync)); + const auto value_reason = value.reason; + valueSerializer.writeInt32(static_cast(value_reason)); + } void writeReplaceSymbolEffect(Ark_ReplaceSymbolEffect value) { Serializer& valueSerializer = *this; @@ -75567,6 +75732,24 @@ class Serializer : public SerializerBase { } } } + void writeBusinessError(Ark_BusinessError value) + { + Serializer& valueSerializer = *this; + const auto value_name = value.name; + valueSerializer.writeString(value_name); + const auto value_message = value.message; + valueSerializer.writeString(value_message); + const auto value_stack = value.stack; + Ark_Int32 value_stack_type = INTEROP_RUNTIME_UNDEFINED; + value_stack_type = runtimeType(value_stack); + valueSerializer.writeInt8(value_stack_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_stack_type)) { + const auto value_stack_value = value_stack.value; + valueSerializer.writeString(value_stack_value); + } + const auto value_code = value.code; + valueSerializer.writeNumber(value_code); + } void writeWebHeader(Ark_WebHeader value) { Serializer& valueSerializer = *this; @@ -75575,6 +75758,41 @@ class Serializer : public SerializerBase { const auto value_headerValue = value.headerValue; valueSerializer.writeString(value_headerValue); } + void writeAnimationOptions(Ark_AnimationOptions value) + { + Serializer& valueSerializer = *this; + const auto value_duration = value.duration; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; + value_duration_type = runtimeType(value_duration); + valueSerializer.writeInt8(value_duration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { + const auto value_duration_value = value_duration.value; + valueSerializer.writeNumber(value_duration_value); + } + const auto value_iterations = value.iterations; + Ark_Int32 value_iterations_type = INTEROP_RUNTIME_UNDEFINED; + value_iterations_type = runtimeType(value_iterations); + valueSerializer.writeInt8(value_iterations_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iterations_type)) { + const auto value_iterations_value = value_iterations.value; + valueSerializer.writeNumber(value_iterations_value); + } + } + void writeAnimatedDrawableDescriptor(Ark_AnimatedDrawableDescriptor value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writePixelMapDrawableDescriptor(Ark_PixelMapDrawableDescriptor value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeLayeredDrawableDescriptor(Ark_LayeredDrawableDescriptor value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } }; // Deserializers @@ -76858,30 +77076,30 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } - Ark_EventTarget readEventTarget() + Ark_WebviewController readWebviewController() { - Ark_EventTarget value = {}; Deserializer& valueDeserializer = *this; - value.area = valueDeserializer.readArea(); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_WebResourceRequest readWebResourceRequest() + Ark_WebController readWebController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_WebviewController readWebviewController() + Ark_EventTarget readEventTarget() { + Ark_EventTarget value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.area = valueDeserializer.readArea(); + return value; } - Ark_WebController readWebController() + Ark_WebResourceRequest readWebResourceRequest() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } Ark_DateTimeOptions readDateTimeOptions() { @@ -79213,11 +79431,185 @@ 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_CustomTheme readCustomTheme() + Ark_StyledString readStyledString() { - Ark_CustomTheme value = {}; Deserializer& valueDeserializer = *this; - value._CustomThemeStub = static_cast(valueDeserializer.readString()); + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_LinearIndicatorStyle readLinearIndicatorStyle() + { + Ark_LinearIndicatorStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics space_buf = {}; + space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + { + space_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.space = space_buf; + const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics strokeWidth_buf = {}; + strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.strokeWidth = strokeWidth_buf; + const auto strokeRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics strokeRadius_buf = {}; + strokeRadius_buf.tag = strokeRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeRadius_buf_runtimeType)) + { + strokeRadius_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.strokeRadius = strokeRadius_buf; + const auto trackBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ColorMetrics trackBackgroundColor_buf = {}; + trackBackgroundColor_buf.tag = trackBackgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (trackBackgroundColor_buf_runtimeType)) + { + trackBackgroundColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); + } + value.trackBackgroundColor = trackBackgroundColor_buf; + const auto trackColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ColorMetrics trackColor_buf = {}; + trackColor_buf.tag = trackColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (trackColor_buf_runtimeType)) + { + trackColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); + } + value.trackColor = trackColor_buf; + return value; + } + Ark_LinearIndicatorStartOptions readLinearIndicatorStartOptions() + { + Ark_LinearIndicatorStartOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto interval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number interval_buf = {}; + interval_buf.tag = interval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (interval_buf_runtimeType)) + { + interval_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.interval = interval_buf; + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.duration = duration_buf; + return value; + } + Ark_CustomSpanDrawInfo readCustomSpanDrawInfo() + { + Ark_CustomSpanDrawInfo value = {}; + Deserializer& valueDeserializer = *this; + value.x = static_cast(valueDeserializer.readNumber()); + value.lineTop = static_cast(valueDeserializer.readNumber()); + value.lineBottom = static_cast(valueDeserializer.readNumber()); + value.baseline = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_DrawContext readDrawContext() + { + Ark_DrawContext value = {}; + Deserializer& valueDeserializer = *this; + value._DrawContextStub = static_cast(valueDeserializer.readString()); + return value; + } + Ark_CustomSpanMetrics readCustomSpanMetrics() + { + Ark_CustomSpanMetrics value = {}; + Deserializer& valueDeserializer = *this; + value.width = static_cast(valueDeserializer.readNumber()); + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + height_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.height = height_buf; + return value; + } + Ark_CustomSpanMeasureInfo readCustomSpanMeasureInfo() + { + Ark_CustomSpanMeasureInfo value = {}; + Deserializer& valueDeserializer = *this; + value.fontSize = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_SpanStyle readSpanStyle() + { + Ark_SpanStyle value = {}; + Deserializer& valueDeserializer = *this; + value.start = static_cast(valueDeserializer.readNumber()); + value.length = static_cast(valueDeserializer.readNumber()); + value.styledKey = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 styledValue_buf_selector = valueDeserializer.readInt8(); + Ark_StyledStringValue styledValue_buf = {}; + styledValue_buf.selector = styledValue_buf_selector; + if (styledValue_buf_selector == 0) { + styledValue_buf.selector = 0; + styledValue_buf.value0 = static_cast(valueDeserializer.readTextStyle_styled_string()); + } + else if (styledValue_buf_selector == 1) { + styledValue_buf.selector = 1; + styledValue_buf.value1 = static_cast(valueDeserializer.readDecorationStyle()); + } + else if (styledValue_buf_selector == 2) { + styledValue_buf.selector = 2; + styledValue_buf.value2 = static_cast(valueDeserializer.readBaselineOffsetStyle()); + } + else if (styledValue_buf_selector == 3) { + styledValue_buf.selector = 3; + styledValue_buf.value3 = static_cast(valueDeserializer.readLetterSpacingStyle()); + } + else if (styledValue_buf_selector == 4) { + styledValue_buf.selector = 4; + styledValue_buf.value4 = static_cast(valueDeserializer.readTextShadowStyle()); + } + else if (styledValue_buf_selector == 5) { + styledValue_buf.selector = 5; + styledValue_buf.value5 = static_cast(valueDeserializer.readGestureStyle()); + } + else if (styledValue_buf_selector == 6) { + styledValue_buf.selector = 6; + styledValue_buf.value6 = static_cast(valueDeserializer.readImageAttachment()); + } + else if (styledValue_buf_selector == 7) { + styledValue_buf.selector = 7; + styledValue_buf.value7 = static_cast(valueDeserializer.readParagraphStyle()); + } + else if (styledValue_buf_selector == 8) { + styledValue_buf.selector = 8; + styledValue_buf.value8 = static_cast(valueDeserializer.readLineHeightStyle()); + } + else if (styledValue_buf_selector == 9) { + styledValue_buf.selector = 9; + styledValue_buf.value9 = static_cast(valueDeserializer.readUrlStyle()); + } + else if (styledValue_buf_selector == 10) { + styledValue_buf.selector = 10; + styledValue_buf.value10 = static_cast(valueDeserializer.readCustomSpan()); + } + else if (styledValue_buf_selector == 11) { + styledValue_buf.selector = 11; + styledValue_buf.value11 = valueDeserializer.readUserDataSpan(); + } + else if (styledValue_buf_selector == 12) { + styledValue_buf.selector = 12; + styledValue_buf.value12 = static_cast(valueDeserializer.readBackgroundColorStyle()); + } + else { + INTEROP_FATAL("One of the branches for styledValue_buf has to be chosen through deserialisation."); + } + value.styledValue = static_cast(styledValue_buf); return value; } Ark_RestrictedWorker readRestrictedWorker() @@ -79329,218 +79721,6 @@ class Deserializer : public DeserializerBase { value.moduleName = moduleName_buf; return value; } - Ark_StyledString readStyledString() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_NavigationAnimatedTransition readNavigationAnimatedTransition() - { - Ark_NavigationAnimatedTransition value = {}; - Deserializer& valueDeserializer = *this; - const auto onTransitionEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Boolean_Void onTransitionEnd_buf = {}; - onTransitionEnd_buf.tag = onTransitionEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onTransitionEnd_buf_runtimeType)) - { - onTransitionEnd_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; - } - value.onTransitionEnd = onTransitionEnd_buf; - const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number timeout_buf = {}; - timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) - { - timeout_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.timeout = timeout_buf; - const auto isInteractive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean isInteractive_buf = {}; - isInteractive_buf.tag = isInteractive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isInteractive_buf_runtimeType)) - { - isInteractive_buf.value = valueDeserializer.readBoolean(); - } - value.isInteractive = isInteractive_buf; - value.transition = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavigationTransitionProxy_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavigationTransitionProxy_Void))))}; - return value; - } - Ark_LinearIndicatorStyle readLinearIndicatorStyle() - { - Ark_LinearIndicatorStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics space_buf = {}; - space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) - { - space_buf.value = static_cast(valueDeserializer.readLengthMetrics()); - } - value.space = space_buf; - const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) - { - strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); - } - value.strokeWidth = strokeWidth_buf; - const auto strokeRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics strokeRadius_buf = {}; - strokeRadius_buf.tag = strokeRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeRadius_buf_runtimeType)) - { - strokeRadius_buf.value = static_cast(valueDeserializer.readLengthMetrics()); - } - value.strokeRadius = strokeRadius_buf; - const auto trackBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ColorMetrics trackBackgroundColor_buf = {}; - trackBackgroundColor_buf.tag = trackBackgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (trackBackgroundColor_buf_runtimeType)) - { - trackBackgroundColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); - } - value.trackBackgroundColor = trackBackgroundColor_buf; - const auto trackColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ColorMetrics trackColor_buf = {}; - trackColor_buf.tag = trackColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (trackColor_buf_runtimeType)) - { - trackColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); - } - value.trackColor = trackColor_buf; - return value; - } - Ark_LinearIndicatorStartOptions readLinearIndicatorStartOptions() - { - Ark_LinearIndicatorStartOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto interval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number interval_buf = {}; - interval_buf.tag = interval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (interval_buf_runtimeType)) - { - interval_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.interval = interval_buf; - const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) - { - duration_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.duration = duration_buf; - return value; - } - Ark_CustomSpanDrawInfo readCustomSpanDrawInfo() - { - Ark_CustomSpanDrawInfo value = {}; - Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.lineTop = static_cast(valueDeserializer.readNumber()); - value.lineBottom = static_cast(valueDeserializer.readNumber()); - value.baseline = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_DrawContext readDrawContext() - { - Ark_DrawContext value = {}; - Deserializer& valueDeserializer = *this; - value._DrawContextStub = static_cast(valueDeserializer.readString()); - return value; - } - Ark_CustomSpanMetrics readCustomSpanMetrics() - { - Ark_CustomSpanMetrics value = {}; - Deserializer& valueDeserializer = *this; - value.width = static_cast(valueDeserializer.readNumber()); - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) - { - height_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.height = height_buf; - return value; - } - Ark_CustomSpanMeasureInfo readCustomSpanMeasureInfo() - { - Ark_CustomSpanMeasureInfo value = {}; - Deserializer& valueDeserializer = *this; - value.fontSize = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_SpanStyle readSpanStyle() - { - Ark_SpanStyle value = {}; - Deserializer& valueDeserializer = *this; - value.start = static_cast(valueDeserializer.readNumber()); - value.length = static_cast(valueDeserializer.readNumber()); - value.styledKey = static_cast(valueDeserializer.readInt32()); - const Ark_Int8 styledValue_buf_selector = valueDeserializer.readInt8(); - Ark_StyledStringValue styledValue_buf = {}; - styledValue_buf.selector = styledValue_buf_selector; - if (styledValue_buf_selector == 0) { - styledValue_buf.selector = 0; - styledValue_buf.value0 = static_cast(valueDeserializer.readTextStyle_styled_string()); - } - else if (styledValue_buf_selector == 1) { - styledValue_buf.selector = 1; - styledValue_buf.value1 = static_cast(valueDeserializer.readDecorationStyle()); - } - else if (styledValue_buf_selector == 2) { - styledValue_buf.selector = 2; - styledValue_buf.value2 = static_cast(valueDeserializer.readBaselineOffsetStyle()); - } - else if (styledValue_buf_selector == 3) { - styledValue_buf.selector = 3; - styledValue_buf.value3 = static_cast(valueDeserializer.readLetterSpacingStyle()); - } - else if (styledValue_buf_selector == 4) { - styledValue_buf.selector = 4; - styledValue_buf.value4 = static_cast(valueDeserializer.readTextShadowStyle()); - } - else if (styledValue_buf_selector == 5) { - styledValue_buf.selector = 5; - styledValue_buf.value5 = static_cast(valueDeserializer.readGestureStyle()); - } - else if (styledValue_buf_selector == 6) { - styledValue_buf.selector = 6; - styledValue_buf.value6 = static_cast(valueDeserializer.readImageAttachment()); - } - else if (styledValue_buf_selector == 7) { - styledValue_buf.selector = 7; - styledValue_buf.value7 = static_cast(valueDeserializer.readParagraphStyle()); - } - else if (styledValue_buf_selector == 8) { - styledValue_buf.selector = 8; - styledValue_buf.value8 = static_cast(valueDeserializer.readLineHeightStyle()); - } - else if (styledValue_buf_selector == 9) { - styledValue_buf.selector = 9; - styledValue_buf.value9 = static_cast(valueDeserializer.readUrlStyle()); - } - else if (styledValue_buf_selector == 10) { - styledValue_buf.selector = 10; - styledValue_buf.value10 = static_cast(valueDeserializer.readCustomSpan()); - } - else if (styledValue_buf_selector == 11) { - styledValue_buf.selector = 11; - styledValue_buf.value11 = valueDeserializer.readUserDataSpan(); - } - else if (styledValue_buf_selector == 12) { - styledValue_buf.selector = 12; - styledValue_buf.value12 = static_cast(valueDeserializer.readBackgroundColorStyle()); - } - else { - INTEROP_FATAL("One of the branches for styledValue_buf has to be chosen through deserialisation."); - } - value.styledValue = static_cast(styledValue_buf); - return value; - } Ark_WaterFlowAttribute readWaterFlowAttribute() { Ark_WaterFlowAttribute value = {}; @@ -79921,11 +80101,51 @@ class Deserializer : public DeserializerBase { value.menuType = menuType_buf; return value; } - Ark_WebKeyboardController readWebKeyboardController() + Ark_NestedScrollOptionsExt readNestedScrollOptionsExt() { + Ark_NestedScrollOptionsExt value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto scrollUp_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollUp_buf = {}; + scrollUp_buf.tag = scrollUp_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollUp_buf_runtimeType)) + { + scrollUp_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.scrollUp = scrollUp_buf; + const auto scrollDown_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollDown_buf = {}; + scrollDown_buf.tag = scrollDown_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollDown_buf_runtimeType)) + { + scrollDown_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.scrollDown = scrollDown_buf; + const auto scrollRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollRight_buf = {}; + scrollRight_buf.tag = scrollRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollRight_buf_runtimeType)) + { + scrollRight_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.scrollRight = scrollRight_buf; + const auto scrollLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollLeft_buf = {}; + scrollLeft_buf.tag = scrollLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollLeft_buf_runtimeType)) + { + scrollLeft_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.scrollLeft = scrollLeft_buf; + return value; + } + Ark_NestedScrollOptions readNestedScrollOptions() + { + Ark_NestedScrollOptions value = {}; + Deserializer& valueDeserializer = *this; + value.scrollForward = static_cast(valueDeserializer.readInt32()); + value.scrollBackward = static_cast(valueDeserializer.readInt32()); + return value; } Ark_EventResult readEventResult() { @@ -80026,52 +80246,6 @@ class Deserializer : public DeserializerBase { value.params = params_buf; return value; } - Ark_NestedScrollOptionsExt readNestedScrollOptionsExt() - { - Ark_NestedScrollOptionsExt value = {}; - Deserializer& valueDeserializer = *this; - const auto scrollUp_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_NestedScrollMode scrollUp_buf = {}; - scrollUp_buf.tag = scrollUp_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scrollUp_buf_runtimeType)) - { - scrollUp_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.scrollUp = scrollUp_buf; - const auto scrollDown_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_NestedScrollMode scrollDown_buf = {}; - scrollDown_buf.tag = scrollDown_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scrollDown_buf_runtimeType)) - { - scrollDown_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.scrollDown = scrollDown_buf; - const auto scrollRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_NestedScrollMode scrollRight_buf = {}; - scrollRight_buf.tag = scrollRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scrollRight_buf_runtimeType)) - { - scrollRight_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.scrollRight = scrollRight_buf; - const auto scrollLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_NestedScrollMode scrollLeft_buf = {}; - scrollLeft_buf.tag = scrollLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scrollLeft_buf_runtimeType)) - { - scrollLeft_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.scrollLeft = scrollLeft_buf; - return value; - } - Ark_NestedScrollOptions readNestedScrollOptions() - { - Ark_NestedScrollOptions value = {}; - Deserializer& valueDeserializer = *this; - value.scrollForward = static_cast(valueDeserializer.readInt32()); - value.scrollBackward = static_cast(valueDeserializer.readInt32()); - return value; - } Ark_DataResubmissionHandler readDataResubmissionHandler() { Deserializer& valueDeserializer = *this; @@ -80126,12 +80300,6 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } - Ark_FullScreenExitHandler readFullScreenExitHandler() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } Ark_FileSelectorParam readFileSelectorParam() { Deserializer& valueDeserializer = *this; @@ -80187,12 +80355,31 @@ class Deserializer : public DeserializerBase { value.captureMode = static_cast(valueDeserializer.readInt32()); return value; } + Ark_FullScreenExitHandler readFullScreenExitHandler() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_WebKeyboardController readWebKeyboardController() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } Ark_VideoController readVideoController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } + Ark_CustomTheme readCustomTheme() + { + Ark_CustomTheme value = {}; + Deserializer& valueDeserializer = *this; + value._CustomThemeStub = static_cast(valueDeserializer.readString()); + return value; + } Ark_TimePickerDialogOptions readTimePickerDialogOptions() { Ark_TimePickerDialogOptions value = {}; @@ -81704,8 +81891,9 @@ class Deserializer : public DeserializerBase { } Ark_SymbolEffect readSymbolEffect() { - Ark_SymbolEffect value = {}; - return value; + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } Ark_DigitIndicator readDigitIndicator() { @@ -83414,6 +83602,37 @@ class Deserializer : public DeserializerBase { value.navDestinationId = navDestinationId_buf; return value; } + Ark_NavigationAnimatedTransition readNavigationAnimatedTransition() + { + Ark_NavigationAnimatedTransition value = {}; + Deserializer& valueDeserializer = *this; + const auto onTransitionEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Boolean_Void onTransitionEnd_buf = {}; + onTransitionEnd_buf.tag = onTransitionEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onTransitionEnd_buf_runtimeType)) + { + onTransitionEnd_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + } + value.onTransitionEnd = onTransitionEnd_buf; + const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number timeout_buf = {}; + timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) + { + timeout_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.timeout = timeout_buf; + const auto isInteractive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isInteractive_buf = {}; + isInteractive_buf.tag = isInteractive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isInteractive_buf_runtimeType)) + { + isInteractive_buf.value = valueDeserializer.readBoolean(); + } + value.isInteractive = isInteractive_buf; + value.transition = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavigationTransitionProxy_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavigationTransitionProxy_Void))))}; + return value; + } Ark_NavDestinationContext readNavDestinationContext() { Deserializer& valueDeserializer = *this; @@ -83890,10 +84109,9 @@ class Deserializer : public DeserializerBase { } Ark_DrawableDescriptor readDrawableDescriptor() { - Ark_DrawableDescriptor value = {}; Deserializer& valueDeserializer = *this; - value._DrawableDescriptorStub = static_cast(valueDeserializer.readString()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } Ark_Matrix2D readMatrix2D() { @@ -90551,46 +90769,6 @@ class Deserializer : public DeserializerBase { value.onFinish = onFinish_buf; return value; } - Ark_WithThemeOptions readWithThemeOptions() - { - Ark_WithThemeOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto theme_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomTheme theme_buf = {}; - theme_buf.tag = theme_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (theme_buf_runtimeType)) - { - theme_buf.value = valueDeserializer.readCustomTheme(); - } - value.theme = theme_buf; - const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ThemeColorMode colorMode_buf = {}; - colorMode_buf.tag = colorMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) - { - colorMode_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.colorMode = colorMode_buf; - return value; - } - Ark_IsolatedOptions readIsolatedOptions() - { - Ark_IsolatedOptions value = {}; - Deserializer& valueDeserializer = *this; - value.want = valueDeserializer.readWant(); - value.worker = valueDeserializer.readRestrictedWorker(); - return value; - } - Ark_WithThemeAttribute readWithThemeAttribute() - { - Ark_WithThemeAttribute value = {}; - return value; - } - Ark_IsolatedComponentAttribute readIsolatedComponentAttribute() - { - Ark_IsolatedComponentAttribute value = {}; - return value; - } Ark_LinearIndicatorController readLinearIndicatorController() { Deserializer& valueDeserializer = *this; @@ -90908,6 +91086,19 @@ class Deserializer : public DeserializerBase { value.styledValue = static_cast(styledValue_buf); return value; } + Ark_IsolatedComponentAttribute readIsolatedComponentAttribute() + { + Ark_IsolatedComponentAttribute value = {}; + return value; + } + Ark_IsolatedOptions readIsolatedOptions() + { + Ark_IsolatedOptions value = {}; + Deserializer& valueDeserializer = *this; + value.want = valueDeserializer.readWant(); + value.worker = valueDeserializer.readRestrictedWorker(); + return value; + } Ark_ReceiveCallback readReceiveCallback() { Ark_ReceiveCallback value = {}; @@ -91078,61 +91269,6 @@ class Deserializer : public DeserializerBase { value.imageAIOptions = imageAIOptions_buf; return value; } - Ark_AdsBlockedDetails readAdsBlockedDetails() - { - Ark_AdsBlockedDetails value = {}; - Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); - const Ark_Int32 adsBlocked_buf_length = valueDeserializer.readInt32(); - Array_String adsBlocked_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&adsBlocked_buf, adsBlocked_buf_length); - for (int adsBlocked_buf_i = 0; adsBlocked_buf_i < adsBlocked_buf_length; adsBlocked_buf_i++) { - adsBlocked_buf.array[adsBlocked_buf_i] = static_cast(valueDeserializer.readString()); - } - value.adsBlocked = adsBlocked_buf; - return value; - } - Ark_WebKeyboardOptions readWebKeyboardOptions() - { - Ark_WebKeyboardOptions value = {}; - Deserializer& valueDeserializer = *this; - value.useSystemKeyboard = valueDeserializer.readBoolean(); - const auto enterKeyType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number enterKeyType_buf = {}; - enterKeyType_buf.tag = enterKeyType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enterKeyType_buf_runtimeType)) - { - enterKeyType_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.enterKeyType = enterKeyType_buf; - const auto customKeyboard_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder customKeyboard_buf = {}; - customKeyboard_buf.tag = customKeyboard_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (customKeyboard_buf_runtimeType)) - { - customKeyboard_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - } - value.customKeyboard = customKeyboard_buf; - return value; - } - Ark_WebKeyboardCallbackInfo readWebKeyboardCallbackInfo() - { - Ark_WebKeyboardCallbackInfo value = {}; - Deserializer& valueDeserializer = *this; - value.controller = static_cast(valueDeserializer.readWebKeyboardController()); - const Ark_Int32 attributes_buf_size = valueDeserializer.readInt32(); - Map_String_String attributes_buf = {}; - valueDeserializer.resizeMap(&attributes_buf, attributes_buf_size); - for (int attributes_buf_i = 0; attributes_buf_i < attributes_buf_size; attributes_buf_i++) { - const Ark_String attributes_buf_key = static_cast(valueDeserializer.readString()); - const Ark_String attributes_buf_value = static_cast(valueDeserializer.readString()); - attributes_buf.keys[attributes_buf_i] = attributes_buf_key; - attributes_buf.values[attributes_buf_i] = attributes_buf_value; - } - value.attributes = attributes_buf; - return value; - } Ark_ExpandedMenuItemOptions readExpandedMenuItemOptions() { Ark_ExpandedMenuItemOptions value = {}; @@ -91157,41 +91293,123 @@ class Deserializer : public DeserializerBase { startIcon_buf.tag = startIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (startIcon_buf_runtimeType)) { - const Ark_Int8 startIcon_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr startIcon_buf_ = {}; - startIcon_buf_.selector = startIcon_buf__selector; - if (startIcon_buf__selector == 0) { - startIcon_buf_.selector = 0; - startIcon_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (startIcon_buf__selector == 1) { - startIcon_buf_.selector = 1; - startIcon_buf_.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for startIcon_buf_ has to be chosen through deserialisation."); + const Ark_Int8 startIcon_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr startIcon_buf_ = {}; + startIcon_buf_.selector = startIcon_buf__selector; + if (startIcon_buf__selector == 0) { + startIcon_buf_.selector = 0; + startIcon_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (startIcon_buf__selector == 1) { + startIcon_buf_.selector = 1; + startIcon_buf_.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for startIcon_buf_ has to be chosen through deserialisation."); + } + startIcon_buf.value = static_cast(startIcon_buf_); + } + value.startIcon = startIcon_buf; + value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_String_plainText_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_String_plainText_Void))))}; + return value; + } + Ark_NativeMediaPlayerConfig readNativeMediaPlayerConfig() + { + Ark_NativeMediaPlayerConfig value = {}; + Deserializer& valueDeserializer = *this; + value.enable = valueDeserializer.readBoolean(); + value.shouldOverlay = valueDeserializer.readBoolean(); + return value; + } + Ark_ScriptItem readScriptItem() + { + Ark_ScriptItem value = {}; + Deserializer& valueDeserializer = *this; + value.script = static_cast(valueDeserializer.readString()); + const Ark_Int32 scriptRules_buf_length = valueDeserializer.readInt32(); + Array_String scriptRules_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&scriptRules_buf, scriptRules_buf_length); + for (int scriptRules_buf_i = 0; scriptRules_buf_i < scriptRules_buf_length; scriptRules_buf_i++) { + scriptRules_buf.array[scriptRules_buf_i] = static_cast(valueDeserializer.readString()); + } + value.scriptRules = scriptRules_buf; + return value; + } + Ark_WebMediaOptions readWebMediaOptions() + { + Ark_WebMediaOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto resumeInterval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number resumeInterval_buf = {}; + resumeInterval_buf.tag = resumeInterval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (resumeInterval_buf_runtimeType)) + { + resumeInterval_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.resumeInterval = resumeInterval_buf; + const auto audioExclusive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean audioExclusive_buf = {}; + audioExclusive_buf.tag = audioExclusive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (audioExclusive_buf_runtimeType)) + { + audioExclusive_buf.value = valueDeserializer.readBoolean(); + } + value.audioExclusive = audioExclusive_buf; + return value; + } + Ark_JavaScriptProxy readJavaScriptProxy() + { + Ark_JavaScriptProxy value = {}; + Deserializer& valueDeserializer = *this; + value.object_ = static_cast(valueDeserializer.readCustomObject("Object")); + value.name = static_cast(valueDeserializer.readString()); + const Ark_Int32 methodList_buf_length = valueDeserializer.readInt32(); + Array_String methodList_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&methodList_buf, methodList_buf_length); + for (int methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { + methodList_buf.array[methodList_buf_i] = static_cast(valueDeserializer.readString()); + } + value.methodList = methodList_buf; + const Ark_Int8 controller_buf_selector = valueDeserializer.readInt8(); + Ark_Union_WebController_WebviewController controller_buf = {}; + controller_buf.selector = controller_buf_selector; + if (controller_buf_selector == 0) { + controller_buf.selector = 0; + controller_buf.value0 = static_cast(valueDeserializer.readWebController()); + } + else if (controller_buf_selector == 1) { + controller_buf.selector = 1; + controller_buf.value1 = static_cast(valueDeserializer.readWebviewController()); + } + else { + INTEROP_FATAL("One of the branches for controller_buf has to be chosen through deserialisation."); + } + value.controller = static_cast(controller_buf); + const auto asyncMethodList_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_String asyncMethodList_buf = {}; + asyncMethodList_buf.tag = asyncMethodList_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (asyncMethodList_buf_runtimeType)) + { + const Ark_Int32 asyncMethodList_buf__length = valueDeserializer.readInt32(); + Array_String asyncMethodList_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&asyncMethodList_buf_, asyncMethodList_buf__length); + for (int asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { + asyncMethodList_buf_.array[asyncMethodList_buf__i] = static_cast(valueDeserializer.readString()); } - startIcon_buf.value = static_cast(startIcon_buf_); + asyncMethodList_buf.value = asyncMethodList_buf_; } - value.startIcon = startIcon_buf; - value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_String_plainText_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_String_plainText_Void))))}; - return value; - } - Ark_RenderProcessNotRespondingData readRenderProcessNotRespondingData() - { - Ark_RenderProcessNotRespondingData value = {}; - Deserializer& valueDeserializer = *this; - value.jsStack = static_cast(valueDeserializer.readString()); - value.pid = static_cast(valueDeserializer.readNumber()); - value.reason = static_cast(valueDeserializer.readInt32()); - return value; - } - Ark_NativeMediaPlayerConfig readNativeMediaPlayerConfig() - { - Ark_NativeMediaPlayerConfig value = {}; - Deserializer& valueDeserializer = *this; - value.enable = valueDeserializer.readBoolean(); - value.shouldOverlay = valueDeserializer.readBoolean(); + value.asyncMethodList = asyncMethodList_buf; + const auto permission_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String permission_buf = {}; + permission_buf.tag = permission_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (permission_buf_runtimeType)) + { + permission_buf.value = static_cast(valueDeserializer.readString()); + } + value.permission = permission_buf; return value; } Ark_NativeEmbedTouchInfo readNativeEmbedTouchInfo() @@ -91224,14 +91442,6 @@ class Deserializer : public DeserializerBase { value.result = result_buf; return value; } - Ark_NativeEmbedVisibilityInfo readNativeEmbedVisibilityInfo() - { - Ark_NativeEmbedVisibilityInfo value = {}; - Deserializer& valueDeserializer = *this; - value.visibility = valueDeserializer.readBoolean(); - value.embedId = static_cast(valueDeserializer.readString()); - return value; - } Ark_NativeEmbedDataInfo readNativeEmbedDataInfo() { Ark_NativeEmbedDataInfo value = {}; @@ -91270,40 +91480,6 @@ class Deserializer : public DeserializerBase { value.info = info_buf; return value; } - Ark_ScriptItem readScriptItem() - { - Ark_ScriptItem value = {}; - Deserializer& valueDeserializer = *this; - value.script = static_cast(valueDeserializer.readString()); - const Ark_Int32 scriptRules_buf_length = valueDeserializer.readInt32(); - Array_String scriptRules_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&scriptRules_buf, scriptRules_buf_length); - for (int scriptRules_buf_i = 0; scriptRules_buf_i < scriptRules_buf_length; scriptRules_buf_i++) { - scriptRules_buf.array[scriptRules_buf_i] = static_cast(valueDeserializer.readString()); - } - value.scriptRules = scriptRules_buf; - return value; - } - Ark_IntelligentTrackingPreventionDetails readIntelligentTrackingPreventionDetails() - { - Ark_IntelligentTrackingPreventionDetails value = {}; - Deserializer& valueDeserializer = *this; - value.host = static_cast(valueDeserializer.readString()); - value.trackerHost = static_cast(valueDeserializer.readString()); - return value; - } - Ark_LoadCommittedDetails readLoadCommittedDetails() - { - Ark_LoadCommittedDetails value = {}; - Deserializer& valueDeserializer = *this; - value.isMainFrame = valueDeserializer.readBoolean(); - value.isSameDocument = valueDeserializer.readBoolean(); - value.didReplaceEntry = valueDeserializer.readBoolean(); - value.navigationType = static_cast(valueDeserializer.readInt32()); - value.url = static_cast(valueDeserializer.readString()); - return value; - } Ark_OnOverScrollEvent readOnOverScrollEvent() { Ark_OnOverScrollEvent value = {}; @@ -91319,82 +91495,6 @@ class Deserializer : public DeserializerBase { value.data = static_cast(valueDeserializer.readWebResourceRequest()); return value; } - Ark_LargestContentfulPaint readLargestContentfulPaint() - { - Ark_LargestContentfulPaint value = {}; - Deserializer& valueDeserializer = *this; - const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number navigationStartTime_buf = {}; - navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) - { - navigationStartTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.navigationStartTime = navigationStartTime_buf; - const auto largestImagePaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number largestImagePaintTime_buf = {}; - largestImagePaintTime_buf.tag = largestImagePaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (largestImagePaintTime_buf_runtimeType)) - { - largestImagePaintTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.largestImagePaintTime = largestImagePaintTime_buf; - const auto largestTextPaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number largestTextPaintTime_buf = {}; - largestTextPaintTime_buf.tag = largestTextPaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (largestTextPaintTime_buf_runtimeType)) - { - largestTextPaintTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.largestTextPaintTime = largestTextPaintTime_buf; - const auto imageBPP_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number imageBPP_buf = {}; - imageBPP_buf.tag = imageBPP_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (imageBPP_buf_runtimeType)) - { - imageBPP_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.imageBPP = imageBPP_buf; - const auto largestImageLoadStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number largestImageLoadStartTime_buf = {}; - largestImageLoadStartTime_buf.tag = largestImageLoadStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (largestImageLoadStartTime_buf_runtimeType)) - { - largestImageLoadStartTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.largestImageLoadStartTime = largestImageLoadStartTime_buf; - const auto largestImageLoadEndTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number largestImageLoadEndTime_buf = {}; - largestImageLoadEndTime_buf.tag = largestImageLoadEndTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (largestImageLoadEndTime_buf_runtimeType)) - { - largestImageLoadEndTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.largestImageLoadEndTime = largestImageLoadEndTime_buf; - return value; - } - Ark_FirstMeaningfulPaint readFirstMeaningfulPaint() - { - Ark_FirstMeaningfulPaint value = {}; - Deserializer& valueDeserializer = *this; - const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number navigationStartTime_buf = {}; - navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) - { - navigationStartTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.navigationStartTime = navigationStartTime_buf; - const auto firstMeaningfulPaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number firstMeaningfulPaintTime_buf = {}; - firstMeaningfulPaintTime_buf.tag = firstMeaningfulPaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (firstMeaningfulPaintTime_buf_runtimeType)) - { - firstMeaningfulPaintTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.firstMeaningfulPaintTime = firstMeaningfulPaintTime_buf; - return value; - } Ark_OnFirstContentfulPaintEvent readOnFirstContentfulPaintEvent() { Ark_OnFirstContentfulPaintEvent value = {}; @@ -91474,19 +91574,6 @@ class Deserializer : public DeserializerBase { value.issuers = issuers_buf; return value; } - Ark_SslErrorEvent readSslErrorEvent() - { - Ark_SslErrorEvent value = {}; - Deserializer& valueDeserializer = *this; - value.handler = static_cast(valueDeserializer.readSslErrorHandler()); - value.error = static_cast(valueDeserializer.readInt32()); - value.url = static_cast(valueDeserializer.readString()); - value.originalUrl = static_cast(valueDeserializer.readString()); - value.referrer = static_cast(valueDeserializer.readString()); - value.isFatalError = valueDeserializer.readBoolean(); - value.isMainFrame = valueDeserializer.readBoolean(); - return value; - } Ark_OnSslErrorEventReceiveEvent readOnSslErrorEventReceiveEvent() { Ark_OnSslErrorEventReceiveEvent value = {}; @@ -91573,29 +91660,6 @@ class Deserializer : public DeserializerBase { value.newScale = static_cast(valueDeserializer.readNumber()); return value; } - Ark_FullScreenEnterEvent readFullScreenEnterEvent() - { - Ark_FullScreenEnterEvent value = {}; - Deserializer& valueDeserializer = *this; - value.handler = static_cast(valueDeserializer.readFullScreenExitHandler()); - const auto videoWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number videoWidth_buf = {}; - videoWidth_buf.tag = videoWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (videoWidth_buf_runtimeType)) - { - videoWidth_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.videoWidth = videoWidth_buf; - const auto videoHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number videoHeight_buf = {}; - videoHeight_buf.tag = videoHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (videoHeight_buf_runtimeType)) - { - videoHeight_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.videoHeight = videoHeight_buf; - return value; - } Ark_OnResourceLoadEvent readOnResourceLoadEvent() { Ark_OnResourceLoadEvent value = {}; @@ -91733,82 +91797,6 @@ class Deserializer : public DeserializerBase { value.url = static_cast(valueDeserializer.readString()); return value; } - Ark_WebMediaOptions readWebMediaOptions() - { - Ark_WebMediaOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto resumeInterval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number resumeInterval_buf = {}; - resumeInterval_buf.tag = resumeInterval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (resumeInterval_buf_runtimeType)) - { - resumeInterval_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.resumeInterval = resumeInterval_buf; - const auto audioExclusive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean audioExclusive_buf = {}; - audioExclusive_buf.tag = audioExclusive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (audioExclusive_buf_runtimeType)) - { - audioExclusive_buf.value = valueDeserializer.readBoolean(); - } - value.audioExclusive = audioExclusive_buf; - return value; - } - Ark_JavaScriptProxy readJavaScriptProxy() - { - Ark_JavaScriptProxy value = {}; - Deserializer& valueDeserializer = *this; - value.object_ = static_cast(valueDeserializer.readCustomObject("Object")); - value.name = static_cast(valueDeserializer.readString()); - const Ark_Int32 methodList_buf_length = valueDeserializer.readInt32(); - Array_String methodList_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&methodList_buf, methodList_buf_length); - for (int methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { - methodList_buf.array[methodList_buf_i] = static_cast(valueDeserializer.readString()); - } - value.methodList = methodList_buf; - const Ark_Int8 controller_buf_selector = valueDeserializer.readInt8(); - Ark_Union_WebController_WebviewController controller_buf = {}; - controller_buf.selector = controller_buf_selector; - if (controller_buf_selector == 0) { - controller_buf.selector = 0; - controller_buf.value0 = static_cast(valueDeserializer.readWebController()); - } - else if (controller_buf_selector == 1) { - controller_buf.selector = 1; - controller_buf.value1 = static_cast(valueDeserializer.readWebviewController()); - } - else { - INTEROP_FATAL("One of the branches for controller_buf has to be chosen through deserialisation."); - } - value.controller = static_cast(controller_buf); - const auto asyncMethodList_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_String asyncMethodList_buf = {}; - asyncMethodList_buf.tag = asyncMethodList_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (asyncMethodList_buf_runtimeType)) - { - const Ark_Int32 asyncMethodList_buf__length = valueDeserializer.readInt32(); - Array_String asyncMethodList_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&asyncMethodList_buf_, asyncMethodList_buf__length); - for (int asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { - asyncMethodList_buf_.array[asyncMethodList_buf__i] = static_cast(valueDeserializer.readString()); - } - asyncMethodList_buf.value = asyncMethodList_buf_; - } - value.asyncMethodList = asyncMethodList_buf; - const auto permission_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String permission_buf = {}; - permission_buf.tag = permission_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (permission_buf_runtimeType)) - { - permission_buf.value = static_cast(valueDeserializer.readString()); - } - value.permission = permission_buf; - return value; - } Ark_WebOptions readWebOptions() { Ark_WebOptions value = {}; @@ -91877,6 +91865,209 @@ class Deserializer : public DeserializerBase { value.headerValue = static_cast(valueDeserializer.readString()); return value; } + Ark_FullScreenEnterEvent readFullScreenEnterEvent() + { + Ark_FullScreenEnterEvent value = {}; + Deserializer& valueDeserializer = *this; + value.handler = static_cast(valueDeserializer.readFullScreenExitHandler()); + const auto videoWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number videoWidth_buf = {}; + videoWidth_buf.tag = videoWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (videoWidth_buf_runtimeType)) + { + videoWidth_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.videoWidth = videoWidth_buf; + const auto videoHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number videoHeight_buf = {}; + videoHeight_buf.tag = videoHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (videoHeight_buf_runtimeType)) + { + videoHeight_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.videoHeight = videoHeight_buf; + return value; + } + Ark_WebKeyboardOptions readWebKeyboardOptions() + { + Ark_WebKeyboardOptions value = {}; + Deserializer& valueDeserializer = *this; + value.useSystemKeyboard = valueDeserializer.readBoolean(); + const auto enterKeyType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number enterKeyType_buf = {}; + enterKeyType_buf.tag = enterKeyType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enterKeyType_buf_runtimeType)) + { + enterKeyType_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.enterKeyType = enterKeyType_buf; + const auto customKeyboard_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder customKeyboard_buf = {}; + customKeyboard_buf.tag = customKeyboard_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (customKeyboard_buf_runtimeType)) + { + customKeyboard_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.customKeyboard = customKeyboard_buf; + return value; + } + Ark_WebKeyboardCallbackInfo readWebKeyboardCallbackInfo() + { + Ark_WebKeyboardCallbackInfo value = {}; + Deserializer& valueDeserializer = *this; + value.controller = static_cast(valueDeserializer.readWebKeyboardController()); + const Ark_Int32 attributes_buf_size = valueDeserializer.readInt32(); + Map_String_String attributes_buf = {}; + valueDeserializer.resizeMap(&attributes_buf, attributes_buf_size); + for (int attributes_buf_i = 0; attributes_buf_i < attributes_buf_size; attributes_buf_i++) { + const Ark_String attributes_buf_key = static_cast(valueDeserializer.readString()); + const Ark_String attributes_buf_value = static_cast(valueDeserializer.readString()); + attributes_buf.keys[attributes_buf_i] = attributes_buf_key; + attributes_buf.values[attributes_buf_i] = attributes_buf_value; + } + value.attributes = attributes_buf; + return value; + } + Ark_AdsBlockedDetails readAdsBlockedDetails() + { + Ark_AdsBlockedDetails value = {}; + Deserializer& valueDeserializer = *this; + value.url = static_cast(valueDeserializer.readString()); + const Ark_Int32 adsBlocked_buf_length = valueDeserializer.readInt32(); + Array_String adsBlocked_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&adsBlocked_buf, adsBlocked_buf_length); + for (int adsBlocked_buf_i = 0; adsBlocked_buf_i < adsBlocked_buf_length; adsBlocked_buf_i++) { + adsBlocked_buf.array[adsBlocked_buf_i] = static_cast(valueDeserializer.readString()); + } + value.adsBlocked = adsBlocked_buf; + return value; + } + Ark_RenderProcessNotRespondingData readRenderProcessNotRespondingData() + { + Ark_RenderProcessNotRespondingData value = {}; + Deserializer& valueDeserializer = *this; + value.jsStack = static_cast(valueDeserializer.readString()); + value.pid = static_cast(valueDeserializer.readNumber()); + value.reason = static_cast(valueDeserializer.readInt32()); + return value; + } + Ark_NativeEmbedVisibilityInfo readNativeEmbedVisibilityInfo() + { + Ark_NativeEmbedVisibilityInfo value = {}; + Deserializer& valueDeserializer = *this; + value.visibility = valueDeserializer.readBoolean(); + value.embedId = static_cast(valueDeserializer.readString()); + return value; + } + Ark_IntelligentTrackingPreventionDetails readIntelligentTrackingPreventionDetails() + { + Ark_IntelligentTrackingPreventionDetails value = {}; + Deserializer& valueDeserializer = *this; + value.host = static_cast(valueDeserializer.readString()); + value.trackerHost = static_cast(valueDeserializer.readString()); + return value; + } + Ark_FirstMeaningfulPaint readFirstMeaningfulPaint() + { + Ark_FirstMeaningfulPaint value = {}; + Deserializer& valueDeserializer = *this; + const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number navigationStartTime_buf = {}; + navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) + { + navigationStartTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.navigationStartTime = navigationStartTime_buf; + const auto firstMeaningfulPaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number firstMeaningfulPaintTime_buf = {}; + firstMeaningfulPaintTime_buf.tag = firstMeaningfulPaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (firstMeaningfulPaintTime_buf_runtimeType)) + { + firstMeaningfulPaintTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.firstMeaningfulPaintTime = firstMeaningfulPaintTime_buf; + return value; + } + Ark_LargestContentfulPaint readLargestContentfulPaint() + { + Ark_LargestContentfulPaint value = {}; + Deserializer& valueDeserializer = *this; + const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number navigationStartTime_buf = {}; + navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) + { + navigationStartTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.navigationStartTime = navigationStartTime_buf; + const auto largestImagePaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number largestImagePaintTime_buf = {}; + largestImagePaintTime_buf.tag = largestImagePaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (largestImagePaintTime_buf_runtimeType)) + { + largestImagePaintTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.largestImagePaintTime = largestImagePaintTime_buf; + const auto largestTextPaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number largestTextPaintTime_buf = {}; + largestTextPaintTime_buf.tag = largestTextPaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (largestTextPaintTime_buf_runtimeType)) + { + largestTextPaintTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.largestTextPaintTime = largestTextPaintTime_buf; + const auto imageBPP_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number imageBPP_buf = {}; + imageBPP_buf.tag = imageBPP_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (imageBPP_buf_runtimeType)) + { + imageBPP_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.imageBPP = imageBPP_buf; + const auto largestImageLoadStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number largestImageLoadStartTime_buf = {}; + largestImageLoadStartTime_buf.tag = largestImageLoadStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (largestImageLoadStartTime_buf_runtimeType)) + { + largestImageLoadStartTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.largestImageLoadStartTime = largestImageLoadStartTime_buf; + const auto largestImageLoadEndTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number largestImageLoadEndTime_buf = {}; + largestImageLoadEndTime_buf.tag = largestImageLoadEndTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (largestImageLoadEndTime_buf_runtimeType)) + { + largestImageLoadEndTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.largestImageLoadEndTime = largestImageLoadEndTime_buf; + return value; + } + Ark_SslErrorEvent readSslErrorEvent() + { + Ark_SslErrorEvent value = {}; + Deserializer& valueDeserializer = *this; + value.handler = static_cast(valueDeserializer.readSslErrorHandler()); + value.error = static_cast(valueDeserializer.readInt32()); + value.url = static_cast(valueDeserializer.readString()); + value.originalUrl = static_cast(valueDeserializer.readString()); + value.referrer = static_cast(valueDeserializer.readString()); + value.isFatalError = valueDeserializer.readBoolean(); + value.isMainFrame = valueDeserializer.readBoolean(); + return value; + } + Ark_LoadCommittedDetails readLoadCommittedDetails() + { + Ark_LoadCommittedDetails value = {}; + Deserializer& valueDeserializer = *this; + value.isMainFrame = valueDeserializer.readBoolean(); + value.isSameDocument = valueDeserializer.readBoolean(); + value.didReplaceEntry = valueDeserializer.readBoolean(); + value.navigationType = static_cast(valueDeserializer.readInt32()); + value.url = static_cast(valueDeserializer.readString()); + return value; + } Ark_PlaybackInfo readPlaybackInfo() { Ark_PlaybackInfo value = {}; @@ -91994,6 +92185,33 @@ class Deserializer : public DeserializerBase { value.imageAIOptions = imageAIOptions_buf; return value; } + Ark_WithThemeAttribute readWithThemeAttribute() + { + Ark_WithThemeAttribute value = {}; + return value; + } + Ark_WithThemeOptions readWithThemeOptions() + { + Ark_WithThemeOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto theme_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomTheme theme_buf = {}; + theme_buf.tag = theme_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (theme_buf_runtimeType)) + { + theme_buf.value = valueDeserializer.readCustomTheme(); + } + value.theme = theme_buf; + const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ThemeColorMode colorMode_buf = {}; + colorMode_buf.tag = colorMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) + { + colorMode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.colorMode = colorMode_buf; + return value; + } Ark_SwitchStyle readSwitchStyle() { Ark_SwitchStyle value = {}; @@ -92662,12 +92880,6 @@ class Deserializer : public DeserializerBase { value.controller = static_cast(valueDeserializer.readTextController()); return value; } - Ark_TabContentTransitionProxy readTabContentTransitionProxy() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } Ark_BarGridColumnOptions readBarGridColumnOptions() { Ark_BarGridColumnOptions value = {}; @@ -92714,6 +92926,12 @@ class Deserializer : public DeserializerBase { value.gutter = gutter_buf; return value; } + Ark_TabContentTransitionProxy readTabContentTransitionProxy() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } Ark_TabsAnimationEvent readTabsAnimationEvent() { Ark_TabsAnimationEvent value = {}; @@ -92753,6 +92971,12 @@ class Deserializer : public DeserializerBase { value.controller = controller_buf; return value; } + Ark_PulseSymbolEffect readPulseSymbolEffect() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } Ark_BounceSymbolEffect readBounceSymbolEffect() { Deserializer& valueDeserializer = *this; @@ -92798,6 +93022,12 @@ class Deserializer : public DeserializerBase { value.transition = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SwiperContentTransitionProxy_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SwiperContentTransitionProxy_Void))))}; return value; } + Ark_IndicatorComponentController readIndicatorComponentController() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } Ark_SwiperAnimationEvent readSwiperAnimationEvent() { Ark_SwiperAnimationEvent value = {}; @@ -92807,12 +93037,6 @@ class Deserializer : public DeserializerBase { value.velocity = static_cast(valueDeserializer.readNumber()); return value; } - Ark_IndicatorComponentController readIndicatorComponentController() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } Ark_SwiperController readSwiperController() { Deserializer& valueDeserializer = *this; @@ -93099,23 +93323,6 @@ class Deserializer : public DeserializerBase { value.symbolIcon = symbolIcon_buf; return value; } - Ark_DeleteValue readDeleteValue() - { - Ark_DeleteValue value = {}; - Deserializer& valueDeserializer = *this; - value.deleteOffset = static_cast(valueDeserializer.readNumber()); - value.direction = static_cast(valueDeserializer.readInt32()); - value.deleteValue = static_cast(valueDeserializer.readString()); - return value; - } - Ark_InsertValue readInsertValue() - { - Ark_InsertValue value = {}; - Deserializer& valueDeserializer = *this; - value.insertOffset = static_cast(valueDeserializer.readNumber()); - value.insertValue = static_cast(valueDeserializer.readString()); - return value; - } Ark_TextDecorationOptions readTextDecorationOptions() { Ark_TextDecorationOptions value = {}; @@ -93203,247 +93410,344 @@ class Deserializer : public DeserializerBase { color_buf.value = static_cast(color_buf_); } value.color = color_buf; - return value; - } - Ark_SearchOptions readSearchOptions() - { - Ark_SearchOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String value_buf = {}; - value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) - { - value_buf.value = static_cast(valueDeserializer.readString()); - } - value.value = value_buf; - const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr placeholder_buf = {}; - placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) - { - const Ark_Int8 placeholder_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr placeholder_buf_ = {}; - placeholder_buf_.selector = placeholder_buf__selector; - if (placeholder_buf__selector == 0) { - placeholder_buf_.selector = 0; - placeholder_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (placeholder_buf__selector == 1) { - placeholder_buf_.selector = 1; - placeholder_buf_.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for placeholder_buf_ has to be chosen through deserialisation."); - } - placeholder_buf.value = static_cast(placeholder_buf_); - } - value.placeholder = placeholder_buf; - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) - { - icon_buf.value = static_cast(valueDeserializer.readString()); - } - value.icon = icon_buf; - const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SearchController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) - { - controller_buf.value = static_cast(valueDeserializer.readSearchController()); - } - value.controller = controller_buf; - return value; - } - Ark_ScrollBarOptions readScrollBarOptions() - { - Ark_ScrollBarOptions value = {}; - Deserializer& valueDeserializer = *this; - value.scroller = static_cast(valueDeserializer.readScroller()); - const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ScrollBarDirection direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.direction = direction_buf; - const auto state_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BarState state_buf = {}; - state_buf.tag = state_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (state_buf_runtimeType)) - { - state_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.state = state_buf; - return value; - } - Ark_OffsetOptions readOffsetOptions() - { - Ark_OffsetOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto xOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Length xOffset_buf = {}; - xOffset_buf.tag = xOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xOffset_buf_runtimeType)) - { - xOffset_buf.value = valueDeserializer.readLength(); - } - value.xOffset = xOffset_buf; - const auto yOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Length yOffset_buf = {}; - yOffset_buf.tag = yOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (yOffset_buf_runtimeType)) - { - yOffset_buf.value = valueDeserializer.readLength(); - } - value.yOffset = yOffset_buf; - return value; - } - Ark_ScrollSnapOptions readScrollSnapOptions() - { - Ark_ScrollSnapOptions value = {}; - Deserializer& valueDeserializer = *this; - value.snapAlign = static_cast(valueDeserializer.readInt32()); - const auto snapPagination_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Dimension_Array_Dimension snapPagination_buf = {}; - snapPagination_buf.tag = snapPagination_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (snapPagination_buf_runtimeType)) - { - const Ark_Int8 snapPagination_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Dimension_Array_Dimension snapPagination_buf_ = {}; - snapPagination_buf_.selector = snapPagination_buf__selector; - if (snapPagination_buf__selector == 0) { - snapPagination_buf_.selector = 0; - snapPagination_buf_.value0 = valueDeserializer.readLength(); - } - else if (snapPagination_buf__selector == 1) { - snapPagination_buf_.selector = 1; - const Ark_Int32 snapPagination_buf__u_length = valueDeserializer.readInt32(); - Array_Length snapPagination_buf__u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&snapPagination_buf__u, snapPagination_buf__u_length); - for (int snapPagination_buf__u_i = 0; snapPagination_buf__u_i < snapPagination_buf__u_length; snapPagination_buf__u_i++) { - snapPagination_buf__u.array[snapPagination_buf__u_i] = valueDeserializer.readLength(); - } - snapPagination_buf_.value1 = snapPagination_buf__u; - } - else { - INTEROP_FATAL("One of the branches for snapPagination_buf_ has to be chosen through deserialisation."); - } - snapPagination_buf.value = static_cast(snapPagination_buf_); - } - value.snapPagination = snapPagination_buf; - const auto enableSnapToStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableSnapToStart_buf = {}; - enableSnapToStart_buf.tag = enableSnapToStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToStart_buf_runtimeType)) - { - enableSnapToStart_buf.value = valueDeserializer.readBoolean(); - } - value.enableSnapToStart = enableSnapToStart_buf; - const auto enableSnapToEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableSnapToEnd_buf = {}; - enableSnapToEnd_buf.tag = enableSnapToEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) - { - enableSnapToEnd_buf.value = valueDeserializer.readBoolean(); - } - value.enableSnapToEnd = enableSnapToEnd_buf; - return value; - } - Ark_OnScrollFrameBeginHandlerResult readOnScrollFrameBeginHandlerResult() - { - Ark_OnScrollFrameBeginHandlerResult value = {}; - Deserializer& valueDeserializer = *this; - value.offsetRemain = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_SaveButtonOptions readSaveButtonOptions() - { - Ark_SaveButtonOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SaveIconStyle icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) - { - icon_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.icon = icon_buf; - const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SaveDescription text_buf = {}; - text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) - { - text_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.text = text_buf; - const auto buttonType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ButtonType buttonType_buf = {}; - buttonType_buf.tag = buttonType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (buttonType_buf_runtimeType)) + return value; + } + Ark_DeleteValue readDeleteValue() + { + Ark_DeleteValue value = {}; + Deserializer& valueDeserializer = *this; + value.deleteOffset = static_cast(valueDeserializer.readNumber()); + value.direction = static_cast(valueDeserializer.readInt32()); + value.deleteValue = static_cast(valueDeserializer.readString()); + return value; + } + Ark_InsertValue readInsertValue() + { + Ark_InsertValue value = {}; + Deserializer& valueDeserializer = *this; + value.insertOffset = static_cast(valueDeserializer.readNumber()); + value.insertValue = static_cast(valueDeserializer.readString()); + return value; + } + Ark_SearchOptions readSearchOptions() + { + Ark_SearchOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String value_buf = {}; + value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + { + value_buf.value = static_cast(valueDeserializer.readString()); + } + value.value = value_buf; + const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr placeholder_buf = {}; + placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) + { + const Ark_Int8 placeholder_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr placeholder_buf_ = {}; + placeholder_buf_.selector = placeholder_buf__selector; + if (placeholder_buf__selector == 0) { + placeholder_buf_.selector = 0; + placeholder_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (placeholder_buf__selector == 1) { + placeholder_buf_.selector = 1; + placeholder_buf_.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for placeholder_buf_ has to be chosen through deserialisation."); + } + placeholder_buf.value = static_cast(placeholder_buf_); + } + value.placeholder = placeholder_buf; + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + { + icon_buf.value = static_cast(valueDeserializer.readString()); + } + value.icon = icon_buf; + const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SearchController controller_buf = {}; + controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + { + controller_buf.value = static_cast(valueDeserializer.readSearchController()); + } + value.controller = controller_buf; + return value; + } + Ark_ScrollBarOptions readScrollBarOptions() + { + Ark_ScrollBarOptions value = {}; + Deserializer& valueDeserializer = *this; + value.scroller = static_cast(valueDeserializer.readScroller()); + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ScrollBarDirection direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.direction = direction_buf; + const auto state_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BarState state_buf = {}; + state_buf.tag = state_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (state_buf_runtimeType)) + { + state_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.state = state_buf; + return value; + } + Ark_OffsetOptions readOffsetOptions() + { + Ark_OffsetOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto xOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length xOffset_buf = {}; + xOffset_buf.tag = xOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xOffset_buf_runtimeType)) + { + xOffset_buf.value = valueDeserializer.readLength(); + } + value.xOffset = xOffset_buf; + const auto yOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length yOffset_buf = {}; + yOffset_buf.tag = yOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (yOffset_buf_runtimeType)) + { + yOffset_buf.value = valueDeserializer.readLength(); + } + value.yOffset = yOffset_buf; + return value; + } + Ark_ScrollSnapOptions readScrollSnapOptions() + { + Ark_ScrollSnapOptions value = {}; + Deserializer& valueDeserializer = *this; + value.snapAlign = static_cast(valueDeserializer.readInt32()); + const auto snapPagination_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Dimension_Array_Dimension snapPagination_buf = {}; + snapPagination_buf.tag = snapPagination_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (snapPagination_buf_runtimeType)) + { + const Ark_Int8 snapPagination_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Dimension_Array_Dimension snapPagination_buf_ = {}; + snapPagination_buf_.selector = snapPagination_buf__selector; + if (snapPagination_buf__selector == 0) { + snapPagination_buf_.selector = 0; + snapPagination_buf_.value0 = valueDeserializer.readLength(); + } + else if (snapPagination_buf__selector == 1) { + snapPagination_buf_.selector = 1; + const Ark_Int32 snapPagination_buf__u_length = valueDeserializer.readInt32(); + Array_Length snapPagination_buf__u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&snapPagination_buf__u, snapPagination_buf__u_length); + for (int snapPagination_buf__u_i = 0; snapPagination_buf__u_i < snapPagination_buf__u_length; snapPagination_buf__u_i++) { + snapPagination_buf__u.array[snapPagination_buf__u_i] = valueDeserializer.readLength(); + } + snapPagination_buf_.value1 = snapPagination_buf__u; + } + else { + INTEROP_FATAL("One of the branches for snapPagination_buf_ has to be chosen through deserialisation."); + } + snapPagination_buf.value = static_cast(snapPagination_buf_); + } + value.snapPagination = snapPagination_buf; + const auto enableSnapToStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableSnapToStart_buf = {}; + enableSnapToStart_buf.tag = enableSnapToStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToStart_buf_runtimeType)) + { + enableSnapToStart_buf.value = valueDeserializer.readBoolean(); + } + value.enableSnapToStart = enableSnapToStart_buf; + const auto enableSnapToEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableSnapToEnd_buf = {}; + enableSnapToEnd_buf.tag = enableSnapToEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) + { + enableSnapToEnd_buf.value = valueDeserializer.readBoolean(); + } + value.enableSnapToEnd = enableSnapToEnd_buf; + return value; + } + Ark_OnScrollFrameBeginHandlerResult readOnScrollFrameBeginHandlerResult() + { + Ark_OnScrollFrameBeginHandlerResult value = {}; + Deserializer& valueDeserializer = *this; + value.offsetRemain = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_SaveButtonOptions readSaveButtonOptions() + { + Ark_SaveButtonOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SaveIconStyle icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + { + icon_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.icon = icon_buf; + const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SaveDescription text_buf = {}; + text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + { + text_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.text = text_buf; + const auto buttonType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ButtonType buttonType_buf = {}; + buttonType_buf.tag = buttonType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (buttonType_buf_runtimeType)) + { + buttonType_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.buttonType = buttonType_buf; + return value; + } + Ark_RowOptions readRowOptions() + { + Ark_RowOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number space_buf = {}; + space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + { + const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number space_buf_ = {}; + space_buf_.selector = space_buf__selector; + if (space_buf__selector == 0) { + space_buf_.selector = 0; + space_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (space_buf__selector == 1) { + space_buf_.selector = 1; + space_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); + } + space_buf.value = static_cast(space_buf_); + } + value.space = space_buf; + return value; + } + Ark_RootSceneSession readRootSceneSession() + { + Ark_RootSceneSession value = {}; + return value; + } + Ark_RichEditorStyledStringOptions readRichEditorStyledStringOptions() + { + Ark_RichEditorStyledStringOptions value = {}; + Deserializer& valueDeserializer = *this; + value.controller = static_cast(valueDeserializer.readRichEditorStyledStringController()); + return value; + } + Ark_RichEditorOptions readRichEditorOptions() + { + Ark_RichEditorOptions value = {}; + Deserializer& valueDeserializer = *this; + value.controller = static_cast(valueDeserializer.readRichEditorController()); + return value; + } + Ark_EditMenuOptions readEditMenuOptions() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_SubmitEvent readSubmitEvent() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_TextDataDetectorConfig readTextDataDetectorConfig() + { + Ark_TextDataDetectorConfig value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int32 types_buf_length = valueDeserializer.readInt32(); + Array_TextDataDetectorType types_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&types_buf, types_buf_length); + for (int types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { + types_buf.array[types_buf_i] = static_cast(valueDeserializer.readInt32()); + } + value.types = types_buf; + const auto onDetectResultUpdate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_String_Void onDetectResultUpdate_buf = {}; + onDetectResultUpdate_buf.tag = onDetectResultUpdate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDetectResultUpdate_buf_runtimeType)) + { + onDetectResultUpdate_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; + } + value.onDetectResultUpdate = onDetectResultUpdate_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + { + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + } + color_buf.value = static_cast(color_buf_); + } + value.color = color_buf; + const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DecorationStyleInterface decoration_buf = {}; + decoration_buf.tag = decoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) { - buttonType_buf.value = static_cast(valueDeserializer.readInt32()); + decoration_buf.value = valueDeserializer.readDecorationStyleInterface(); } - value.buttonType = buttonType_buf; + value.decoration = decoration_buf; return value; } - Ark_RowOptions readRowOptions() + Ark_PasteEvent readPasteEvent() { - Ark_RowOptions value = {}; + Ark_PasteEvent value = {}; Deserializer& valueDeserializer = *this; - const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number space_buf = {}; - space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void preventDefault_buf = {}; + preventDefault_buf.tag = preventDefault_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) { - const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number space_buf_ = {}; - space_buf_.selector = space_buf__selector; - if (space_buf__selector == 0) { - space_buf_.selector = 0; - space_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (space_buf__selector == 1) { - space_buf_.selector = 1; - space_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else { - INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); - } - space_buf.value = static_cast(space_buf_); + preventDefault_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - value.space = space_buf; - return value; - } - Ark_RootSceneSession readRootSceneSession() - { - Ark_RootSceneSession value = {}; - return value; - } - Ark_RichEditorStyledStringOptions readRichEditorStyledStringOptions() - { - Ark_RichEditorStyledStringOptions value = {}; - Deserializer& valueDeserializer = *this; - value.controller = static_cast(valueDeserializer.readRichEditorStyledStringController()); - return value; - } - Ark_RichEditorOptions readRichEditorOptions() - { - Ark_RichEditorOptions value = {}; - Deserializer& valueDeserializer = *this; - value.controller = static_cast(valueDeserializer.readRichEditorController()); + value.preventDefault = preventDefault_buf; return value; } - Ark_EditMenuOptions readEditMenuOptions() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } Ark_CopyEvent readCopyEvent() { Ark_CopyEvent value = {}; @@ -93503,86 +93807,6 @@ class Deserializer : public DeserializerBase { value.replacedSymbolSpans = replacedSymbolSpans_buf; return value; } - Ark_SubmitEvent readSubmitEvent() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_TextDataDetectorConfig readTextDataDetectorConfig() - { - Ark_TextDataDetectorConfig value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int32 types_buf_length = valueDeserializer.readInt32(); - Array_TextDataDetectorType types_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&types_buf, types_buf_length); - for (int types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { - types_buf.array[types_buf_i] = static_cast(valueDeserializer.readInt32()); - } - value.types = types_buf; - const auto onDetectResultUpdate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_String_Void onDetectResultUpdate_buf = {}; - onDetectResultUpdate_buf.tag = onDetectResultUpdate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onDetectResultUpdate_buf_runtimeType)) - { - onDetectResultUpdate_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; - } - value.onDetectResultUpdate = onDetectResultUpdate_buf; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) - { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); - } - color_buf.value = static_cast(color_buf_); - } - value.color = color_buf; - const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_DecorationStyleInterface decoration_buf = {}; - decoration_buf.tag = decoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) - { - decoration_buf.value = valueDeserializer.readDecorationStyleInterface(); - } - value.decoration = decoration_buf; - return value; - } - Ark_PasteEvent readPasteEvent() - { - Ark_PasteEvent value = {}; - Deserializer& valueDeserializer = *this; - const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void preventDefault_buf = {}; - preventDefault_buf.tag = preventDefault_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) - { - preventDefault_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.preventDefault = preventDefault_buf; - return value; - } Ark_RichEditorDeleteValue readRichEditorDeleteValue() { Ark_RichEditorDeleteValue value = {}; @@ -94083,14 +94307,6 @@ class Deserializer : public DeserializerBase { value.height = height_buf; return value; } - Ark_PluginErrorData readPluginErrorData() - { - Ark_PluginErrorData value = {}; - Deserializer& valueDeserializer = *this; - value.errcode = static_cast(valueDeserializer.readNumber()); - value.msg = static_cast(valueDeserializer.readString()); - return value; - } Ark_PluginComponentOptions readPluginComponentOptions() { Ark_PluginComponentOptions value = {}; @@ -94099,6 +94315,14 @@ class Deserializer : public DeserializerBase { value.data = static_cast(valueDeserializer.readString()); return value; } + Ark_PluginErrorData readPluginErrorData() + { + Ark_PluginErrorData value = {}; + Deserializer& valueDeserializer = *this; + value.errcode = static_cast(valueDeserializer.readNumber()); + value.msg = static_cast(valueDeserializer.readString()); + return value; + } Ark_PatternLockController readPatternLockController() { Deserializer& valueDeserializer = *this; @@ -95703,23 +95927,6 @@ class Deserializer : public DeserializerBase { value.space = space_buf; return value; } - Ark_BusinessError readBusinessError() - { - Ark_BusinessError value = {}; - Deserializer& valueDeserializer = *this; - value.name = static_cast(valueDeserializer.readString()); - value.message = static_cast(valueDeserializer.readString()); - const auto stack_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String stack_buf = {}; - stack_buf.tag = stack_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (stack_buf_runtimeType)) - { - stack_buf.value = static_cast(valueDeserializer.readString()); - } - value.stack = stack_buf; - value.code = static_cast(valueDeserializer.readNumber()); - return value; - } Ark_TerminationInfo readTerminationInfo() { Ark_TerminationInfo value = {}; @@ -96680,36 +96887,6 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } - Ark_SpringBackAction readSpringBackAction() - { - Ark_SpringBackAction value = {}; - Deserializer& valueDeserializer = *this; - value.springBack = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - return value; - } - Ark_DismissSheetAction readDismissSheetAction() - { - Ark_DismissSheetAction value = {}; - Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.reason = static_cast(valueDeserializer.readInt32()); - return value; - } - Ark_SheetDismiss readSheetDismiss() - { - Ark_SheetDismiss value = {}; - Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - return value; - } - Ark_DismissContentCoverAction readDismissContentCoverAction() - { - Ark_DismissContentCoverAction value = {}; - Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.reason = static_cast(valueDeserializer.readInt32()); - return value; - } Ark_MenuElement readMenuElement() { Ark_MenuElement value = {}; @@ -96770,55 +96947,6 @@ class Deserializer : public DeserializerBase { value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; return value; } - Ark_DismissPopupAction readDismissPopupAction() - { - Ark_DismissPopupAction value = {}; - Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.reason = static_cast(valueDeserializer.readInt32()); - return value; - } - Ark_GestureRecognizer readGestureRecognizer() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_FingerInfo readFingerInfo() - { - Ark_FingerInfo value = {}; - Deserializer& valueDeserializer = *this; - value.id = static_cast(valueDeserializer.readNumber()); - value.globalX = static_cast(valueDeserializer.readNumber()); - value.globalY = static_cast(valueDeserializer.readNumber()); - value.localX = static_cast(valueDeserializer.readNumber()); - value.localY = static_cast(valueDeserializer.readNumber()); - value.displayX = static_cast(valueDeserializer.readNumber()); - value.displayY = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_BaseGestureEvent readBaseGestureEvent() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_GestureInfo readGestureInfo() - { - Ark_GestureInfo value = {}; - Deserializer& valueDeserializer = *this; - const auto tag_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String tag_buf = {}; - tag_buf.tag = tag_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (tag_buf_runtimeType)) - { - tag_buf.value = static_cast(valueDeserializer.readString()); - } - value.tag = tag_buf; - value.type = static_cast(valueDeserializer.readInt32()); - value.isSystemGesture = valueDeserializer.readBoolean(); - return value; - } Ark_BackgroundBrightnessOptions readBackgroundBrightnessOptions() { Ark_BackgroundBrightnessOptions value = {}; @@ -98386,6 +98514,22 @@ class Deserializer : public DeserializerBase { value.vertical = vertical_buf; return value; } + Ark_GestureInfo readGestureInfo() + { + Ark_GestureInfo value = {}; + Deserializer& valueDeserializer = *this; + const auto tag_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String tag_buf = {}; + tag_buf.tag = tag_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (tag_buf_runtimeType)) + { + tag_buf.value = static_cast(valueDeserializer.readString()); + } + value.tag = tag_buf; + value.type = static_cast(valueDeserializer.readInt32()); + value.isSystemGesture = valueDeserializer.readBoolean(); + return value; + } Ark_TouchResult readTouchResult() { Ark_TouchResult value = {}; @@ -98415,6 +98559,44 @@ class Deserializer : public DeserializerBase { value.id = static_cast(valueDeserializer.readString()); return value; } + Ark_DismissPopupAction readDismissPopupAction() + { + Ark_DismissPopupAction value = {}; + Deserializer& valueDeserializer = *this; + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + value.reason = static_cast(valueDeserializer.readInt32()); + return value; + } + Ark_SpringBackAction readSpringBackAction() + { + Ark_SpringBackAction value = {}; + Deserializer& valueDeserializer = *this; + value.springBack = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + return value; + } + Ark_DismissSheetAction readDismissSheetAction() + { + Ark_DismissSheetAction value = {}; + Deserializer& valueDeserializer = *this; + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + value.reason = static_cast(valueDeserializer.readInt32()); + return value; + } + Ark_SheetDismiss readSheetDismiss() + { + Ark_SheetDismiss value = {}; + Deserializer& valueDeserializer = *this; + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + return value; + } + Ark_DismissContentCoverAction readDismissContentCoverAction() + { + Ark_DismissContentCoverAction value = {}; + Deserializer& valueDeserializer = *this; + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + value.reason = static_cast(valueDeserializer.readInt32()); + return value; + } Ark_KeyEvent readKeyEvent() { Deserializer& valueDeserializer = *this; @@ -98433,6 +98615,31 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } + Ark_GestureRecognizer readGestureRecognizer() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_FingerInfo readFingerInfo() + { + Ark_FingerInfo value = {}; + Deserializer& valueDeserializer = *this; + value.id = static_cast(valueDeserializer.readNumber()); + value.globalX = static_cast(valueDeserializer.readNumber()); + value.globalY = static_cast(valueDeserializer.readNumber()); + value.localX = static_cast(valueDeserializer.readNumber()); + value.localY = static_cast(valueDeserializer.readNumber()); + value.displayX = static_cast(valueDeserializer.readNumber()); + value.displayY = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_BaseGestureEvent readBaseGestureEvent() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } Ark_HistoricalPoint readHistoricalPoint() { Ark_HistoricalPoint value = {}; @@ -98747,26 +98954,6 @@ class Deserializer : public DeserializerBase { value.selected = selected_buf; return value; } - Ark_CalendarRequestedData readCalendarRequestedData() - { - Ark_CalendarRequestedData value = {}; - Deserializer& valueDeserializer = *this; - value.year = static_cast(valueDeserializer.readNumber()); - value.month = static_cast(valueDeserializer.readNumber()); - value.currentYear = static_cast(valueDeserializer.readNumber()); - value.currentMonth = static_cast(valueDeserializer.readNumber()); - value.monthState = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_CalendarSelectedDate readCalendarSelectedDate() - { - Ark_CalendarSelectedDate value = {}; - Deserializer& valueDeserializer = *this; - value.year = static_cast(valueDeserializer.readNumber()); - value.month = static_cast(valueDeserializer.readNumber()); - value.day = static_cast(valueDeserializer.readNumber()); - return value; - } Ark_WorkStateStyle readWorkStateStyle() { Ark_WorkStateStyle value = {}; @@ -99487,6 +99674,26 @@ class Deserializer : public DeserializerBase { value.boundaryColOffset = boundaryColOffset_buf; return value; } + Ark_CalendarRequestedData readCalendarRequestedData() + { + Ark_CalendarRequestedData value = {}; + Deserializer& valueDeserializer = *this; + value.year = static_cast(valueDeserializer.readNumber()); + value.month = static_cast(valueDeserializer.readNumber()); + value.currentYear = static_cast(valueDeserializer.readNumber()); + value.currentMonth = static_cast(valueDeserializer.readNumber()); + value.monthState = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_CalendarSelectedDate readCalendarSelectedDate() + { + Ark_CalendarSelectedDate value = {}; + Deserializer& valueDeserializer = *this; + value.year = static_cast(valueDeserializer.readNumber()); + value.month = static_cast(valueDeserializer.readNumber()); + value.day = static_cast(valueDeserializer.readNumber()); + return value; + } Ark_CalendarDay readCalendarDay() { Ark_CalendarDay value = {}; @@ -99771,14 +99978,6 @@ class Deserializer : public DeserializerBase { value.primary = primary_buf; return value; } - Ark_DismissDialogAction readDismissDialogAction() - { - Ark_DismissDialogAction value = {}; - Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.reason = static_cast(valueDeserializer.readInt32()); - return value; - } Ark_SheetInfo readSheetInfo() { Ark_SheetInfo value = {}; @@ -99823,6 +100022,14 @@ 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_DismissDialogAction readDismissDialogAction() + { + Ark_DismissDialogAction value = {}; + Deserializer& valueDeserializer = *this; + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + value.reason = static_cast(valueDeserializer.readInt32()); + return value; + } Ark_ReplaceSymbolEffect readReplaceSymbolEffect() { Deserializer& valueDeserializer = *this; @@ -99899,6 +100106,23 @@ class Deserializer : public DeserializerBase { value.height = height_buf; return value; } + Ark_BusinessError readBusinessError() + { + Ark_BusinessError value = {}; + Deserializer& valueDeserializer = *this; + value.name = static_cast(valueDeserializer.readString()); + value.message = static_cast(valueDeserializer.readString()); + const auto stack_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String stack_buf = {}; + stack_buf.tag = stack_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (stack_buf_runtimeType)) + { + stack_buf.value = static_cast(valueDeserializer.readString()); + } + value.stack = stack_buf; + value.code = static_cast(valueDeserializer.readNumber()); + return value; + } Ark_WebHeader readWebHeader() { Ark_WebHeader value = {}; @@ -99907,5 +100131,45 @@ class Deserializer : public DeserializerBase { value.headerValue = static_cast(valueDeserializer.readString()); return value; } + Ark_AnimationOptions readAnimationOptions() + { + Ark_AnimationOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.duration = duration_buf; + const auto iterations_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number iterations_buf = {}; + iterations_buf.tag = iterations_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iterations_buf_runtimeType)) + { + iterations_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.iterations = iterations_buf; + return value; + } + Ark_AnimatedDrawableDescriptor readAnimatedDrawableDescriptor() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_PixelMapDrawableDescriptor readPixelMapDrawableDescriptor() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_LayeredDrawableDescriptor readLayeredDrawableDescriptor() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } }; diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index 89b489a6b459e76df77c4299e0cf66384abd9148..8d25f19c95abb5c602cdf6db9bb56b5b4b1699be 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -172,7 +172,7 @@ typedef const InteropAsyncWorker* InteropAsyncWorkerPtr; // The only include allowed in this file! Do not add anything else ever. #include -#define GENERATED_ARKUI_FULL_API_VERSION 123 +#define GENERATED_ARKUI_FULL_API_VERSION 124 #define GENERATED_ARKUI_NODE_API_VERSION GENERATED_ARKUI_FULL_API_VERSION #define GENERATED_ARKUI_BASIC_NODE_API_VERSION 1 @@ -457,17 +457,13 @@ typedef struct CanvasGradientPeer* Ark_CanvasGradient; typedef struct Opt_CanvasGradient Opt_CanvasGradient; typedef struct VoidCallback VoidCallback; typedef struct Opt_VoidCallback Opt_VoidCallback; -typedef struct Map_String_CustomObject Map_String_CustomObject; -typedef struct Opt_Map_String_CustomObject Opt_Map_String_CustomObject; -typedef struct Callback_NavigationTransitionProxy_Void Callback_NavigationTransitionProxy_Void; -typedef struct Opt_Callback_NavigationTransitionProxy_Void Opt_Callback_NavigationTransitionProxy_Void; -typedef struct Callback_Boolean_Void Callback_Boolean_Void; -typedef struct Opt_Callback_Boolean_Void Opt_Callback_Boolean_Void; typedef struct ColorMetricsPeer ColorMetricsPeer; typedef struct ColorMetricsPeer* Ark_ColorMetrics; typedef struct Opt_ColorMetrics Opt_ColorMetrics; typedef struct Ark_StyledStringValue Ark_StyledStringValue; typedef struct Opt_StyledStringValue Opt_StyledStringValue; +typedef struct Map_String_CustomObject Map_String_CustomObject; +typedef struct Opt_Map_String_CustomObject Opt_Map_String_CustomObject; typedef struct Ark_Union_Margin_Dimension Ark_Union_Margin_Dimension; typedef struct Opt_Union_Margin_Dimension Opt_Union_Margin_Dimension; typedef struct GetItemMainSizeByIndex GetItemMainSizeByIndex; @@ -479,6 +475,12 @@ typedef struct ImageAnalyzerControllerPeer* Ark_ImageAnalyzerController; typedef struct Opt_ImageAnalyzerController Opt_ImageAnalyzerController; typedef struct Array_ImageAnalyzerType Array_ImageAnalyzerType; typedef struct Opt_Array_ImageAnalyzerType Opt_Array_ImageAnalyzerType; +typedef struct WebviewControllerPeer WebviewControllerPeer; +typedef struct WebviewControllerPeer* Ark_WebviewController; +typedef struct Opt_WebviewController Opt_WebviewController; +typedef struct WebControllerPeer WebControllerPeer; +typedef struct WebControllerPeer* Ark_WebController; +typedef struct Opt_WebController Opt_WebController; typedef struct Array_TouchObject Array_TouchObject; typedef struct Opt_Array_TouchObject Opt_Array_TouchObject; typedef struct Ark_EventTarget Ark_EventTarget; @@ -488,12 +490,6 @@ typedef struct Opt_Map_String_String Opt_Map_String_String; typedef struct WebResourceRequestPeer WebResourceRequestPeer; typedef struct WebResourceRequestPeer* Ark_WebResourceRequest; typedef struct Opt_WebResourceRequest Opt_WebResourceRequest; -typedef struct WebviewControllerPeer WebviewControllerPeer; -typedef struct WebviewControllerPeer* Ark_WebviewController; -typedef struct Opt_WebviewController Opt_WebviewController; -typedef struct WebControllerPeer WebControllerPeer; -typedef struct WebControllerPeer* Ark_WebController; -typedef struct Opt_WebController Opt_WebController; typedef struct Array_Header Array_Header; typedef struct Opt_Array_Header Opt_Array_Header; typedef struct Callback_String_Void Callback_String_Void; @@ -581,6 +577,10 @@ typedef struct Ark_Union_Number_String_Array_Union_Number_String Ark_Union_Numbe typedef struct Opt_Union_Number_String_Array_Union_Number_String Opt_Union_Number_String_Array_Union_Number_String; typedef struct Ark_Union_String_Number_Resource Ark_Union_String_Number_Resource; typedef struct Opt_Union_String_Number_Resource Opt_Union_String_Number_Resource; +typedef struct Callback_NavigationTransitionProxy_Void Callback_NavigationTransitionProxy_Void; +typedef struct Opt_Callback_NavigationTransitionProxy_Void Opt_Callback_NavigationTransitionProxy_Void; +typedef struct Callback_Boolean_Void Callback_Boolean_Void; +typedef struct Opt_Callback_Boolean_Void Opt_Callback_Boolean_Void; typedef struct NavPathStackPeer NavPathStackPeer; typedef struct NavPathStackPeer* Ark_NavPathStack; typedef struct Opt_NavPathStack Opt_NavPathStack; @@ -753,17 +753,9 @@ typedef struct Callback_Extender_OnFinish Callback_Extender_OnFinish; typedef struct Opt_Callback_Extender_OnFinish Opt_Callback_Extender_OnFinish; typedef struct Callback_Extender_OnProgress Callback_Extender_OnProgress; typedef struct Opt_Callback_Extender_OnProgress Opt_Callback_Extender_OnProgress; -typedef struct Ark_CustomTheme Ark_CustomTheme; -typedef struct Opt_CustomTheme Opt_CustomTheme; -typedef struct Ark_RestrictedWorker Ark_RestrictedWorker; -typedef struct Opt_RestrictedWorker Opt_RestrictedWorker; -typedef struct Ark_Want Ark_Want; -typedef struct Opt_Want Opt_Want; typedef struct StyledStringPeer StyledStringPeer; typedef struct StyledStringPeer* Ark_StyledString; typedef struct Opt_StyledString Opt_StyledString; -typedef struct Ark_NavigationAnimatedTransition Ark_NavigationAnimatedTransition; -typedef struct Opt_NavigationAnimatedTransition Opt_NavigationAnimatedTransition; typedef struct Profiler_Callback_String_Void Profiler_Callback_String_Void; typedef struct Opt_Profiler_Callback_String_Void Opt_Profiler_Callback_String_Void; typedef struct OnLinearIndicatorChangeCallback OnLinearIndicatorChangeCallback; @@ -784,6 +776,10 @@ typedef struct Ark_SpanStyle Ark_SpanStyle; typedef struct Opt_SpanStyle Opt_SpanStyle; typedef struct Ark_Union_LengthMetrics_LeadingMarginPlaceholder Ark_Union_LengthMetrics_LeadingMarginPlaceholder; typedef struct Opt_Union_LengthMetrics_LeadingMarginPlaceholder Opt_Union_LengthMetrics_LeadingMarginPlaceholder; +typedef struct Ark_RestrictedWorker Ark_RestrictedWorker; +typedef struct Opt_RestrictedWorker Opt_RestrictedWorker; +typedef struct Ark_Want Ark_Want; +typedef struct Opt_Want Opt_Want; typedef struct Map_String_ComponentContent Map_String_ComponentContent; typedef struct Opt_Map_String_ComponentContent Opt_Map_String_ComponentContent; typedef struct Callback_UIExtensionProxy_Void Callback_UIExtensionProxy_Void; @@ -823,11 +819,14 @@ typedef struct Ark_WebAttribute Ark_WebAttribute; typedef struct Opt_WebAttribute Opt_WebAttribute; typedef struct Ark_SelectionMenuOptionsExt Ark_SelectionMenuOptionsExt; typedef struct Opt_SelectionMenuOptionsExt Opt_SelectionMenuOptionsExt; -typedef struct WebKeyboardControllerPeer WebKeyboardControllerPeer; -typedef struct WebKeyboardControllerPeer* Ark_WebKeyboardController; -typedef struct Opt_WebKeyboardController Opt_WebKeyboardController; typedef struct Callback_Literal_String_plainText_Void Callback_Literal_String_plainText_Void; typedef struct Opt_Callback_Literal_String_plainText_Void Opt_Callback_Literal_String_plainText_Void; +typedef struct Ark_NestedScrollOptionsExt Ark_NestedScrollOptionsExt; +typedef struct Opt_NestedScrollOptionsExt Opt_NestedScrollOptionsExt; +typedef struct Ark_NestedScrollOptions Ark_NestedScrollOptions; +typedef struct Opt_NestedScrollOptions Opt_NestedScrollOptions; +typedef struct Ark_Union_WebController_WebviewController Ark_Union_WebController_WebviewController; +typedef struct Opt_Union_WebController_WebviewController Opt_Union_WebController_WebviewController; typedef struct EventResultPeer EventResultPeer; typedef struct EventResultPeer* Ark_EventResult; typedef struct Opt_EventResult Opt_EventResult; @@ -836,10 +835,6 @@ typedef struct TouchEventPeer* Ark_TouchEvent; typedef struct Opt_TouchEvent Opt_TouchEvent; typedef struct Ark_NativeEmbedInfo Ark_NativeEmbedInfo; typedef struct Opt_NativeEmbedInfo Opt_NativeEmbedInfo; -typedef struct Ark_NestedScrollOptionsExt Ark_NestedScrollOptionsExt; -typedef struct Opt_NestedScrollOptionsExt Opt_NestedScrollOptionsExt; -typedef struct Ark_NestedScrollOptions Ark_NestedScrollOptions; -typedef struct Opt_NestedScrollOptions Opt_NestedScrollOptions; typedef struct DataResubmissionHandlerPeer DataResubmissionHandlerPeer; typedef struct DataResubmissionHandlerPeer* Ark_DataResubmissionHandler; typedef struct Opt_DataResubmissionHandler Opt_DataResubmissionHandler; @@ -849,11 +844,11 @@ typedef struct Opt_ControllerHandler Opt_ControllerHandler; typedef struct ClientAuthenticationHandlerPeer ClientAuthenticationHandlerPeer; typedef struct ClientAuthenticationHandlerPeer* Ark_ClientAuthenticationHandler; typedef struct Opt_ClientAuthenticationHandler Opt_ClientAuthenticationHandler; +typedef struct Array_Buffer Array_Buffer; +typedef struct Opt_Array_Buffer Opt_Array_Buffer; typedef struct SslErrorHandlerPeer SslErrorHandlerPeer; typedef struct SslErrorHandlerPeer* Ark_SslErrorHandler; typedef struct Opt_SslErrorHandler Opt_SslErrorHandler; -typedef struct Array_Buffer Array_Buffer; -typedef struct Opt_Array_Buffer Opt_Array_Buffer; typedef struct WebContextMenuResultPeer WebContextMenuResultPeer; typedef struct WebContextMenuResultPeer* Ark_WebContextMenuResult; typedef struct Opt_WebContextMenuResult Opt_WebContextMenuResult; @@ -869,9 +864,6 @@ typedef struct Opt_PermissionRequest Opt_PermissionRequest; typedef struct HttpAuthHandlerPeer HttpAuthHandlerPeer; typedef struct HttpAuthHandlerPeer* Ark_HttpAuthHandler; typedef struct Opt_HttpAuthHandler Opt_HttpAuthHandler; -typedef struct FullScreenExitHandlerPeer FullScreenExitHandlerPeer; -typedef struct FullScreenExitHandlerPeer* Ark_FullScreenExitHandler; -typedef struct Opt_FullScreenExitHandler Opt_FullScreenExitHandler; typedef struct FileSelectorParamPeer FileSelectorParamPeer; typedef struct FileSelectorParamPeer* Ark_FileSelectorParam; typedef struct Opt_FileSelectorParam Opt_FileSelectorParam; @@ -895,8 +887,6 @@ typedef struct Opt_JsResult Opt_JsResult; typedef struct JsGeolocationPeer JsGeolocationPeer; typedef struct JsGeolocationPeer* Ark_JsGeolocation; typedef struct Opt_JsGeolocation Opt_JsGeolocation; -typedef struct Ark_Union_WebController_WebviewController Ark_Union_WebController_WebviewController; -typedef struct Opt_Union_WebController_WebviewController Opt_Union_WebController_WebviewController; typedef struct WebCookiePeer WebCookiePeer; typedef struct WebCookiePeer* Ark_WebCookie; typedef struct Opt_WebCookie Opt_WebCookie; @@ -910,11 +900,19 @@ typedef struct Ark_Literal_String_script_Callback_String_Void_callback_ Ark_Lite typedef struct Opt_Literal_String_script_Callback_String_Void_callback_ Opt_Literal_String_script_Callback_String_Void_callback_; typedef struct Ark_ScreenCaptureConfig Ark_ScreenCaptureConfig; typedef struct Opt_ScreenCaptureConfig Opt_ScreenCaptureConfig; +typedef struct FullScreenExitHandlerPeer FullScreenExitHandlerPeer; +typedef struct FullScreenExitHandlerPeer* Ark_FullScreenExitHandler; +typedef struct Opt_FullScreenExitHandler Opt_FullScreenExitHandler; +typedef struct WebKeyboardControllerPeer WebKeyboardControllerPeer; +typedef struct WebKeyboardControllerPeer* Ark_WebKeyboardController; +typedef struct Opt_WebKeyboardController Opt_WebKeyboardController; typedef struct VideoControllerPeer VideoControllerPeer; typedef struct VideoControllerPeer* Ark_VideoController; typedef struct Opt_VideoController Opt_VideoController; typedef struct Ark_Union_Number_String_PlaybackSpeed Ark_Union_Number_String_PlaybackSpeed; typedef struct Opt_Union_Number_String_PlaybackSpeed Opt_Union_Number_String_PlaybackSpeed; +typedef struct Ark_CustomTheme Ark_CustomTheme; +typedef struct Opt_CustomTheme Opt_CustomTheme; typedef struct Ark_TimePickerDialogOptions Ark_TimePickerDialogOptions; typedef struct Opt_TimePickerDialogOptions Opt_TimePickerDialogOptions; typedef struct TextTimerControllerPeer TextTimerControllerPeer; @@ -995,7 +993,8 @@ typedef struct TabsControllerPeer* Ark_TabsController; typedef struct Opt_TabsController Opt_TabsController; typedef struct Ark_SymbolGlyphAttribute Ark_SymbolGlyphAttribute; typedef struct Opt_SymbolGlyphAttribute Opt_SymbolGlyphAttribute; -typedef struct Ark_SymbolEffect Ark_SymbolEffect; +typedef struct SymbolEffectPeer SymbolEffectPeer; +typedef struct SymbolEffectPeer* Ark_SymbolEffect; typedef struct Opt_SymbolEffect Opt_SymbolEffect; typedef struct Ark_DigitIndicator Ark_DigitIndicator; typedef struct Opt_DigitIndicator Opt_DigitIndicator; @@ -1066,12 +1065,12 @@ typedef struct Ark_RichEditorAttribute Ark_RichEditorAttribute; typedef struct Opt_RichEditorAttribute Opt_RichEditorAttribute; typedef struct Ark_PlaceholderStyle Ark_PlaceholderStyle; typedef struct Opt_PlaceholderStyle Opt_PlaceholderStyle; +typedef struct Array_TextDataDetectorType Array_TextDataDetectorType; +typedef struct Opt_Array_TextDataDetectorType Opt_Array_TextDataDetectorType; typedef struct Array_RichEditorTextSpanResult Array_RichEditorTextSpanResult; typedef struct Opt_Array_RichEditorTextSpanResult Opt_Array_RichEditorTextSpanResult; typedef struct Array_RichEditorImageSpanResult Array_RichEditorImageSpanResult; typedef struct Opt_Array_RichEditorImageSpanResult Opt_Array_RichEditorImageSpanResult; -typedef struct Array_TextDataDetectorType Array_TextDataDetectorType; -typedef struct Opt_Array_TextDataDetectorType Opt_Array_TextDataDetectorType; typedef struct Ark_RichEditorImageSpanResult Ark_RichEditorImageSpanResult; typedef struct Opt_RichEditorImageSpanResult Opt_RichEditorImageSpanResult; typedef struct Ark_RichEditorTextSpanResult Ark_RichEditorTextSpanResult; @@ -1120,6 +1119,8 @@ typedef struct Callback_PanelMode_Void Callback_PanelMode_Void; typedef struct Opt_Callback_PanelMode_Void Opt_Callback_PanelMode_Void; typedef struct Ark_NavContentInfo Ark_NavContentInfo; typedef struct Opt_NavContentInfo Opt_NavContentInfo; +typedef struct Ark_NavigationAnimatedTransition Ark_NavigationAnimatedTransition; +typedef struct Opt_NavigationAnimatedTransition Opt_NavigationAnimatedTransition; typedef struct NavDestinationContextPeer NavDestinationContextPeer; typedef struct NavDestinationContextPeer* Ark_NavDestinationContext; typedef struct Opt_NavDestinationContext Opt_NavDestinationContext; @@ -1153,7 +1154,8 @@ typedef struct Ark_DividerStyleOptions Ark_DividerStyleOptions; typedef struct Opt_DividerStyleOptions Opt_DividerStyleOptions; typedef struct Ark_ASTCResource Ark_ASTCResource; typedef struct Opt_ASTCResource Opt_ASTCResource; -typedef struct Ark_DrawableDescriptor Ark_DrawableDescriptor; +typedef struct DrawableDescriptorPeer DrawableDescriptorPeer; +typedef struct DrawableDescriptorPeer* Ark_DrawableDescriptor; typedef struct Opt_DrawableDescriptor Opt_DrawableDescriptor; typedef struct Matrix2DPeer Matrix2DPeer; typedef struct Matrix2DPeer* Ark_Matrix2D; @@ -1451,26 +1453,6 @@ typedef struct Callback_RangeUpdate Callback_RangeUpdate; typedef struct Opt_Callback_RangeUpdate Opt_Callback_RangeUpdate; typedef struct Ark_DoubleAnimationParam Ark_DoubleAnimationParam; typedef struct Opt_DoubleAnimationParam Opt_DoubleAnimationParam; -typedef struct Ark_WithThemeOptions Ark_WithThemeOptions; -typedef struct Opt_WithThemeOptions Opt_WithThemeOptions; -typedef struct WithThemeInterface WithThemeInterface; -typedef struct Opt_WithThemeInterface Opt_WithThemeInterface; -typedef struct Type_NavigationAttribute_customNavContentTransition_delegate Type_NavigationAttribute_customNavContentTransition_delegate; -typedef struct Opt_Type_NavigationAttribute_customNavContentTransition_delegate Opt_Type_NavigationAttribute_customNavContentTransition_delegate; -typedef struct SliderTriggerChangeCallback SliderTriggerChangeCallback; -typedef struct Opt_SliderTriggerChangeCallback Opt_SliderTriggerChangeCallback; -typedef struct PageTransitionCallback PageTransitionCallback; -typedef struct Opt_PageTransitionCallback Opt_PageTransitionCallback; -typedef struct OnScrollCallback OnScrollCallback; -typedef struct Opt_OnScrollCallback Opt_OnScrollCallback; -typedef struct OnMoveHandler OnMoveHandler; -typedef struct Opt_OnMoveHandler Opt_OnMoveHandler; -typedef struct Ark_IsolatedOptions Ark_IsolatedOptions; -typedef struct Opt_IsolatedOptions Opt_IsolatedOptions; -typedef struct IsolatedComponentInterface IsolatedComponentInterface; -typedef struct Opt_IsolatedComponentInterface Opt_IsolatedComponentInterface; -typedef struct Ark_WithThemeAttribute Ark_WithThemeAttribute; -typedef struct Opt_WithThemeAttribute Opt_WithThemeAttribute; typedef struct Callback_WithThemeAttribute_Void Callback_WithThemeAttribute_Void; typedef struct Opt_Callback_WithThemeAttribute_Void Opt_Callback_WithThemeAttribute_Void; typedef struct Callback_WebResourceResponse_Void Callback_WebResourceResponse_Void; @@ -1485,8 +1467,6 @@ typedef struct Callback_Tuple_Number_Number_Number_Number_Void Callback_Tuple_Nu typedef struct Opt_Callback_Tuple_Number_Number_Number_Number_Void Opt_Callback_Tuple_Number_Number_Number_Number_Void; typedef struct Callback_TouchResult_Void Callback_TouchResult_Void; typedef struct Opt_Callback_TouchResult_Void Opt_Callback_TouchResult_Void; -typedef struct Callback_String_Unknown_Void Callback_String_Unknown_Void; -typedef struct Opt_Callback_String_Unknown_Void Opt_Callback_String_Unknown_Void; typedef struct Callback_Pointer_Void Callback_Pointer_Void; typedef struct Opt_Callback_Pointer_Void Opt_Callback_Pointer_Void; typedef struct Callback_Opt_TabContentAnimatedTransition_Void Callback_Opt_TabContentAnimatedTransition_Void; @@ -1501,14 +1481,8 @@ typedef struct Callback_OnScrollFrameBeginHandlerResult_Void Callback_OnScrollFr typedef struct Opt_Callback_OnScrollFrameBeginHandlerResult_Void Opt_Callback_OnScrollFrameBeginHandlerResult_Void; typedef struct Callback_OffsetResult_Void Callback_OffsetResult_Void; typedef struct Opt_Callback_OffsetResult_Void Opt_Callback_OffsetResult_Void; -typedef struct Callback_NavigationTitleMode_Void Callback_NavigationTitleMode_Void; -typedef struct Opt_Callback_NavigationTitleMode_Void Opt_Callback_NavigationTitleMode_Void; -typedef struct Callback_NavigationMode_Void Callback_NavigationMode_Void; -typedef struct Opt_Callback_NavigationMode_Void Opt_Callback_NavigationMode_Void; typedef struct Callback_Literal_Number_offsetRemain_Void Callback_Literal_Number_offsetRemain_Void; typedef struct Opt_Callback_Literal_Number_offsetRemain_Void Opt_Callback_Literal_Number_offsetRemain_Void; -typedef struct Ark_IsolatedComponentAttribute Ark_IsolatedComponentAttribute; -typedef struct Opt_IsolatedComponentAttribute Opt_IsolatedComponentAttribute; typedef struct Callback_IsolatedComponentAttribute_Void Callback_IsolatedComponentAttribute_Void; typedef struct Opt_Callback_IsolatedComponentAttribute_Void Opt_Callback_IsolatedComponentAttribute_Void; typedef struct Callback_HitTestMode_Void Callback_HitTestMode_Void; @@ -1523,8 +1497,6 @@ typedef struct Callback_ComputedBarAttribute_Void Callback_ComputedBarAttribute_ typedef struct Opt_Callback_ComputedBarAttribute_Void Opt_Callback_ComputedBarAttribute_Void; typedef struct Callback_Array_String_Void Callback_Array_String_Void; typedef struct Opt_Callback_Array_String_Void Opt_Callback_Array_String_Void; -typedef struct ButtonTriggerClickCallback ButtonTriggerClickCallback; -typedef struct Opt_ButtonTriggerClickCallback Opt_ButtonTriggerClickCallback; typedef struct LinearIndicatorControllerPeer LinearIndicatorControllerPeer; typedef struct LinearIndicatorControllerPeer* Ark_LinearIndicatorController; typedef struct Opt_LinearIndicatorController Opt_LinearIndicatorController; @@ -1544,12 +1516,18 @@ typedef struct Ark_Union_String_ImageAttachment_CustomSpan Ark_Union_String_Imag typedef struct Opt_Union_String_ImageAttachment_CustomSpan Opt_Union_String_ImageAttachment_CustomSpan; typedef struct Array_SpanStyle Array_SpanStyle; typedef struct Opt_Array_SpanStyle Opt_Array_SpanStyle; +typedef struct Ark_IsolatedComponentAttribute Ark_IsolatedComponentAttribute; +typedef struct Opt_IsolatedComponentAttribute Opt_IsolatedComponentAttribute; +typedef struct Ark_IsolatedOptions Ark_IsolatedOptions; +typedef struct Opt_IsolatedOptions Opt_IsolatedOptions; +typedef struct IsolatedComponentInterface IsolatedComponentInterface; +typedef struct Opt_IsolatedComponentInterface Opt_IsolatedComponentInterface; +typedef struct Ark_ReceiveCallback Ark_ReceiveCallback; +typedef struct Opt_ReceiveCallback Opt_ReceiveCallback; typedef struct Ark_Literal_Number_code_Want_want Ark_Literal_Number_code_Want_want; typedef struct Opt_Literal_Number_code_Want_want Opt_Literal_Number_code_Want_want; typedef struct Callback_Literal_Number_code_Want_want_Void Callback_Literal_Number_code_Want_want_Void; typedef struct Opt_Callback_Literal_Number_code_Want_want_Void Opt_Callback_Literal_Number_code_Want_want_Void; -typedef struct Ark_ReceiveCallback Ark_ReceiveCallback; -typedef struct Opt_ReceiveCallback Opt_ReceiveCallback; typedef struct Ark_UIExtensionOptions Ark_UIExtensionOptions; typedef struct Opt_UIExtensionOptions Opt_UIExtensionOptions; typedef struct UIExtensionProxyPeer UIExtensionProxyPeer; @@ -1569,62 +1547,32 @@ typedef struct Ark_XComponentOptions Ark_XComponentOptions; typedef struct Opt_XComponentOptions Opt_XComponentOptions; typedef struct Ark_Type_XComponentInterface_value Ark_Type_XComponentInterface_value; typedef struct Opt_Type_XComponentInterface_value Opt_Type_XComponentInterface_value; -typedef struct Ark_AdsBlockedDetails Ark_AdsBlockedDetails; -typedef struct Opt_AdsBlockedDetails Opt_AdsBlockedDetails; -typedef struct OnAdsBlockedCallback OnAdsBlockedCallback; -typedef struct Opt_OnAdsBlockedCallback Opt_OnAdsBlockedCallback; -typedef struct Ark_WebKeyboardOptions Ark_WebKeyboardOptions; -typedef struct Opt_WebKeyboardOptions Opt_WebKeyboardOptions; -typedef struct Ark_WebKeyboardCallbackInfo Ark_WebKeyboardCallbackInfo; -typedef struct Opt_WebKeyboardCallbackInfo Opt_WebKeyboardCallbackInfo; -typedef struct WebKeyboardCallback WebKeyboardCallback; -typedef struct Opt_WebKeyboardCallback Opt_WebKeyboardCallback; -typedef struct OnViewportFitChangedCallback OnViewportFitChangedCallback; -typedef struct Opt_OnViewportFitChangedCallback Opt_OnViewportFitChangedCallback; typedef struct Ark_Literal_String_plainText Ark_Literal_String_plainText; typedef struct Opt_Literal_String_plainText Opt_Literal_String_plainText; typedef struct Ark_ExpandedMenuItemOptions Ark_ExpandedMenuItemOptions; typedef struct Opt_ExpandedMenuItemOptions Opt_ExpandedMenuItemOptions; typedef struct Array_ExpandedMenuItemOptions Array_ExpandedMenuItemOptions; typedef struct Opt_Array_ExpandedMenuItemOptions Opt_Array_ExpandedMenuItemOptions; -typedef struct OnRenderProcessRespondingCallback OnRenderProcessRespondingCallback; -typedef struct Opt_OnRenderProcessRespondingCallback Opt_OnRenderProcessRespondingCallback; -typedef struct Ark_RenderProcessNotRespondingData Ark_RenderProcessNotRespondingData; -typedef struct Opt_RenderProcessNotRespondingData Opt_RenderProcessNotRespondingData; -typedef struct OnRenderProcessNotRespondingCallback OnRenderProcessNotRespondingCallback; -typedef struct Opt_OnRenderProcessNotRespondingCallback Opt_OnRenderProcessNotRespondingCallback; typedef struct Ark_NativeMediaPlayerConfig Ark_NativeMediaPlayerConfig; typedef struct Opt_NativeMediaPlayerConfig Opt_NativeMediaPlayerConfig; -typedef struct OnOverrideUrlLoadingCallback OnOverrideUrlLoadingCallback; -typedef struct Opt_OnOverrideUrlLoadingCallback Opt_OnOverrideUrlLoadingCallback; +typedef struct Ark_Union_NestedScrollOptions_NestedScrollOptionsExt Ark_Union_NestedScrollOptions_NestedScrollOptionsExt; +typedef struct Opt_Union_NestedScrollOptions_NestedScrollOptionsExt Opt_Union_NestedScrollOptions_NestedScrollOptionsExt; +typedef struct Array_ScriptItem Array_ScriptItem; +typedef struct Opt_Array_ScriptItem Opt_Array_ScriptItem; +typedef struct Ark_ScriptItem Ark_ScriptItem; +typedef struct Opt_ScriptItem Opt_ScriptItem; +typedef struct Ark_WebMediaOptions Ark_WebMediaOptions; +typedef struct Opt_WebMediaOptions Opt_WebMediaOptions; +typedef struct Ark_JavaScriptProxy Ark_JavaScriptProxy; +typedef struct Opt_JavaScriptProxy Opt_JavaScriptProxy; typedef struct Ark_NativeEmbedTouchInfo Ark_NativeEmbedTouchInfo; typedef struct Opt_NativeEmbedTouchInfo Opt_NativeEmbedTouchInfo; typedef struct Callback_NativeEmbedTouchInfo_Void Callback_NativeEmbedTouchInfo_Void; typedef struct Opt_Callback_NativeEmbedTouchInfo_Void Opt_Callback_NativeEmbedTouchInfo_Void; -typedef struct Ark_NativeEmbedVisibilityInfo Ark_NativeEmbedVisibilityInfo; -typedef struct Opt_NativeEmbedVisibilityInfo Opt_NativeEmbedVisibilityInfo; -typedef struct OnNativeEmbedVisibilityChangeCallback OnNativeEmbedVisibilityChangeCallback; -typedef struct Opt_OnNativeEmbedVisibilityChangeCallback Opt_OnNativeEmbedVisibilityChangeCallback; typedef struct Ark_NativeEmbedDataInfo Ark_NativeEmbedDataInfo; typedef struct Opt_NativeEmbedDataInfo Opt_NativeEmbedDataInfo; typedef struct Callback_NativeEmbedDataInfo_Void Callback_NativeEmbedDataInfo_Void; typedef struct Opt_Callback_NativeEmbedDataInfo_Void Opt_Callback_NativeEmbedDataInfo_Void; -typedef struct Ark_Union_NestedScrollOptions_NestedScrollOptionsExt Ark_Union_NestedScrollOptions_NestedScrollOptionsExt; -typedef struct Opt_Union_NestedScrollOptions_NestedScrollOptionsExt Opt_Union_NestedScrollOptions_NestedScrollOptionsExt; -typedef struct Array_ScriptItem Array_ScriptItem; -typedef struct Opt_Array_ScriptItem Opt_Array_ScriptItem; -typedef struct Ark_ScriptItem Ark_ScriptItem; -typedef struct Opt_ScriptItem Opt_ScriptItem; -typedef struct Ark_IntelligentTrackingPreventionDetails Ark_IntelligentTrackingPreventionDetails; -typedef struct Opt_IntelligentTrackingPreventionDetails Opt_IntelligentTrackingPreventionDetails; -typedef struct OnIntelligentTrackingPreventionCallback OnIntelligentTrackingPreventionCallback; -typedef struct Opt_OnIntelligentTrackingPreventionCallback Opt_OnIntelligentTrackingPreventionCallback; -typedef struct Ark_LoadCommittedDetails Ark_LoadCommittedDetails; -typedef struct Opt_LoadCommittedDetails Opt_LoadCommittedDetails; -typedef struct OnNavigationEntryCommittedCallback OnNavigationEntryCommittedCallback; -typedef struct Opt_OnNavigationEntryCommittedCallback Opt_OnNavigationEntryCommittedCallback; -typedef struct OnSafeBrowsingCheckResultCallback OnSafeBrowsingCheckResultCallback; -typedef struct Opt_OnSafeBrowsingCheckResultCallback Opt_OnSafeBrowsingCheckResultCallback; typedef struct Ark_OnOverScrollEvent Ark_OnOverScrollEvent; typedef struct Opt_OnOverScrollEvent Opt_OnOverScrollEvent; typedef struct Callback_OnOverScrollEvent_Void Callback_OnOverScrollEvent_Void; @@ -1633,14 +1581,6 @@ typedef struct Ark_OnLoadInterceptEvent Ark_OnLoadInterceptEvent; typedef struct Opt_OnLoadInterceptEvent Opt_OnLoadInterceptEvent; typedef struct Callback_OnLoadInterceptEvent_Boolean Callback_OnLoadInterceptEvent_Boolean; typedef struct Opt_Callback_OnLoadInterceptEvent_Boolean Opt_Callback_OnLoadInterceptEvent_Boolean; -typedef struct Ark_LargestContentfulPaint Ark_LargestContentfulPaint; -typedef struct Opt_LargestContentfulPaint Opt_LargestContentfulPaint; -typedef struct OnLargestContentfulPaintCallback OnLargestContentfulPaintCallback; -typedef struct Opt_OnLargestContentfulPaintCallback Opt_OnLargestContentfulPaintCallback; -typedef struct Ark_FirstMeaningfulPaint Ark_FirstMeaningfulPaint; -typedef struct Opt_FirstMeaningfulPaint Opt_FirstMeaningfulPaint; -typedef struct OnFirstMeaningfulPaintCallback OnFirstMeaningfulPaintCallback; -typedef struct Opt_OnFirstMeaningfulPaintCallback Opt_OnFirstMeaningfulPaintCallback; typedef struct Ark_OnFirstContentfulPaintEvent Ark_OnFirstContentfulPaintEvent; typedef struct Opt_OnFirstContentfulPaintEvent Opt_OnFirstContentfulPaintEvent; typedef struct Callback_OnFirstContentfulPaintEvent_Void Callback_OnFirstContentfulPaintEvent_Void; @@ -1673,10 +1613,6 @@ typedef struct Ark_OnClientAuthenticationEvent Ark_OnClientAuthenticationEvent; typedef struct Opt_OnClientAuthenticationEvent Opt_OnClientAuthenticationEvent; typedef struct Callback_OnClientAuthenticationEvent_Void Callback_OnClientAuthenticationEvent_Void; typedef struct Opt_Callback_OnClientAuthenticationEvent_Void Opt_Callback_OnClientAuthenticationEvent_Void; -typedef struct Ark_SslErrorEvent Ark_SslErrorEvent; -typedef struct Opt_SslErrorEvent Opt_SslErrorEvent; -typedef struct OnSslErrorEventCallback OnSslErrorEventCallback; -typedef struct Opt_OnSslErrorEventCallback Opt_OnSslErrorEventCallback; typedef struct Ark_OnSslErrorEventReceiveEvent Ark_OnSslErrorEventReceiveEvent; typedef struct Opt_OnSslErrorEventReceiveEvent Opt_OnSslErrorEventReceiveEvent; typedef struct Callback_OnSslErrorEventReceiveEvent_Void Callback_OnSslErrorEventReceiveEvent_Void; @@ -1689,8 +1625,6 @@ typedef struct Ark_OnSearchResultReceiveEvent Ark_OnSearchResultReceiveEvent; typedef struct Opt_OnSearchResultReceiveEvent Opt_OnSearchResultReceiveEvent; typedef struct Callback_OnSearchResultReceiveEvent_Void Callback_OnSearchResultReceiveEvent_Void; typedef struct Opt_Callback_OnSearchResultReceiveEvent_Void Opt_Callback_OnSearchResultReceiveEvent_Void; -typedef struct OnContextMenuHideCallback OnContextMenuHideCallback; -typedef struct Opt_OnContextMenuHideCallback Opt_OnContextMenuHideCallback; typedef struct Ark_OnContextMenuShowEvent Ark_OnContextMenuShowEvent; typedef struct Opt_OnContextMenuShowEvent Opt_OnContextMenuShowEvent; typedef struct Callback_OnContextMenuShowEvent_Boolean Callback_OnContextMenuShowEvent_Boolean; @@ -1715,10 +1649,6 @@ typedef struct Ark_OnScaleChangeEvent Ark_OnScaleChangeEvent; typedef struct Opt_OnScaleChangeEvent Opt_OnScaleChangeEvent; typedef struct Callback_OnScaleChangeEvent_Void Callback_OnScaleChangeEvent_Void; typedef struct Opt_Callback_OnScaleChangeEvent_Void Opt_Callback_OnScaleChangeEvent_Void; -typedef struct Ark_FullScreenEnterEvent Ark_FullScreenEnterEvent; -typedef struct Opt_FullScreenEnterEvent Opt_FullScreenEnterEvent; -typedef struct OnFullScreenEnterCallback OnFullScreenEnterCallback; -typedef struct Opt_OnFullScreenEnterCallback Opt_OnFullScreenEnterCallback; typedef struct Ark_OnResourceLoadEvent Ark_OnResourceLoadEvent; typedef struct Opt_OnResourceLoadEvent Opt_OnResourceLoadEvent; typedef struct Callback_OnResourceLoadEvent_Void Callback_OnResourceLoadEvent_Void; @@ -1803,10 +1733,6 @@ typedef struct Ark_OnPageEndEvent Ark_OnPageEndEvent; typedef struct Opt_OnPageEndEvent Opt_OnPageEndEvent; typedef struct Callback_OnPageEndEvent_Void Callback_OnPageEndEvent_Void; typedef struct Opt_Callback_OnPageEndEvent_Void Opt_Callback_OnPageEndEvent_Void; -typedef struct Ark_WebMediaOptions Ark_WebMediaOptions; -typedef struct Opt_WebMediaOptions Opt_WebMediaOptions; -typedef struct Ark_JavaScriptProxy Ark_JavaScriptProxy; -typedef struct Opt_JavaScriptProxy Opt_JavaScriptProxy; typedef struct Ark_WebOptions Ark_WebOptions; typedef struct Opt_WebOptions Opt_WebOptions; typedef struct Ark_Union_String_Number_Resource_Buffer Ark_Union_String_Number_Resource_Buffer; @@ -1815,6 +1741,58 @@ typedef struct Ark_Union_String_Number_Buffer_Resource Ark_Union_String_Number_B typedef struct Opt_Union_String_Number_Buffer_Resource Opt_Union_String_Number_Buffer_Resource; typedef struct Ark_Header Ark_Header; typedef struct Opt_Header Opt_Header; +typedef struct OnContextMenuHideCallback OnContextMenuHideCallback; +typedef struct Opt_OnContextMenuHideCallback Opt_OnContextMenuHideCallback; +typedef struct Ark_FullScreenEnterEvent Ark_FullScreenEnterEvent; +typedef struct Opt_FullScreenEnterEvent Opt_FullScreenEnterEvent; +typedef struct OnFullScreenEnterCallback OnFullScreenEnterCallback; +typedef struct Opt_OnFullScreenEnterCallback Opt_OnFullScreenEnterCallback; +typedef struct OnSafeBrowsingCheckResultCallback OnSafeBrowsingCheckResultCallback; +typedef struct Opt_OnSafeBrowsingCheckResultCallback Opt_OnSafeBrowsingCheckResultCallback; +typedef struct Ark_WebKeyboardOptions Ark_WebKeyboardOptions; +typedef struct Opt_WebKeyboardOptions Opt_WebKeyboardOptions; +typedef struct Ark_WebKeyboardCallbackInfo Ark_WebKeyboardCallbackInfo; +typedef struct Opt_WebKeyboardCallbackInfo Opt_WebKeyboardCallbackInfo; +typedef struct WebKeyboardCallback WebKeyboardCallback; +typedef struct Opt_WebKeyboardCallback Opt_WebKeyboardCallback; +typedef struct Ark_AdsBlockedDetails Ark_AdsBlockedDetails; +typedef struct Opt_AdsBlockedDetails Opt_AdsBlockedDetails; +typedef struct OnAdsBlockedCallback OnAdsBlockedCallback; +typedef struct Opt_OnAdsBlockedCallback Opt_OnAdsBlockedCallback; +typedef struct OnViewportFitChangedCallback OnViewportFitChangedCallback; +typedef struct Opt_OnViewportFitChangedCallback Opt_OnViewportFitChangedCallback; +typedef struct OnRenderProcessRespondingCallback OnRenderProcessRespondingCallback; +typedef struct Opt_OnRenderProcessRespondingCallback Opt_OnRenderProcessRespondingCallback; +typedef struct Ark_RenderProcessNotRespondingData Ark_RenderProcessNotRespondingData; +typedef struct Opt_RenderProcessNotRespondingData Opt_RenderProcessNotRespondingData; +typedef struct OnRenderProcessNotRespondingCallback OnRenderProcessNotRespondingCallback; +typedef struct Opt_OnRenderProcessNotRespondingCallback Opt_OnRenderProcessNotRespondingCallback; +typedef struct Ark_NativeEmbedVisibilityInfo Ark_NativeEmbedVisibilityInfo; +typedef struct Opt_NativeEmbedVisibilityInfo Opt_NativeEmbedVisibilityInfo; +typedef struct OnNativeEmbedVisibilityChangeCallback OnNativeEmbedVisibilityChangeCallback; +typedef struct Opt_OnNativeEmbedVisibilityChangeCallback Opt_OnNativeEmbedVisibilityChangeCallback; +typedef struct Ark_IntelligentTrackingPreventionDetails Ark_IntelligentTrackingPreventionDetails; +typedef struct Opt_IntelligentTrackingPreventionDetails Opt_IntelligentTrackingPreventionDetails; +typedef struct OnIntelligentTrackingPreventionCallback OnIntelligentTrackingPreventionCallback; +typedef struct Opt_OnIntelligentTrackingPreventionCallback Opt_OnIntelligentTrackingPreventionCallback; +typedef struct OnOverrideUrlLoadingCallback OnOverrideUrlLoadingCallback; +typedef struct Opt_OnOverrideUrlLoadingCallback Opt_OnOverrideUrlLoadingCallback; +typedef struct Ark_FirstMeaningfulPaint Ark_FirstMeaningfulPaint; +typedef struct Opt_FirstMeaningfulPaint Opt_FirstMeaningfulPaint; +typedef struct OnFirstMeaningfulPaintCallback OnFirstMeaningfulPaintCallback; +typedef struct Opt_OnFirstMeaningfulPaintCallback Opt_OnFirstMeaningfulPaintCallback; +typedef struct Ark_LargestContentfulPaint Ark_LargestContentfulPaint; +typedef struct Opt_LargestContentfulPaint Opt_LargestContentfulPaint; +typedef struct OnLargestContentfulPaintCallback OnLargestContentfulPaintCallback; +typedef struct Opt_OnLargestContentfulPaintCallback Opt_OnLargestContentfulPaintCallback; +typedef struct Ark_SslErrorEvent Ark_SslErrorEvent; +typedef struct Opt_SslErrorEvent Opt_SslErrorEvent; +typedef struct OnSslErrorEventCallback OnSslErrorEventCallback; +typedef struct Opt_OnSslErrorEventCallback Opt_OnSslErrorEventCallback; +typedef struct Ark_LoadCommittedDetails Ark_LoadCommittedDetails; +typedef struct Opt_LoadCommittedDetails Opt_LoadCommittedDetails; +typedef struct OnNavigationEntryCommittedCallback OnNavigationEntryCommittedCallback; +typedef struct Opt_OnNavigationEntryCommittedCallback Opt_OnNavigationEntryCommittedCallback; typedef struct Ark_PlaybackInfo Ark_PlaybackInfo; typedef struct Opt_PlaybackInfo Opt_PlaybackInfo; typedef struct Callback_PlaybackInfo_Void Callback_PlaybackInfo_Void; @@ -1829,6 +1807,12 @@ typedef struct Callback_FullscreenInfo_Void Callback_FullscreenInfo_Void; typedef struct Opt_Callback_FullscreenInfo_Void Opt_Callback_FullscreenInfo_Void; typedef struct Ark_VideoOptions Ark_VideoOptions; typedef struct Opt_VideoOptions Opt_VideoOptions; +typedef struct Ark_WithThemeAttribute Ark_WithThemeAttribute; +typedef struct Opt_WithThemeAttribute Opt_WithThemeAttribute; +typedef struct Ark_WithThemeOptions Ark_WithThemeOptions; +typedef struct Opt_WithThemeOptions Opt_WithThemeOptions; +typedef struct WithThemeInterface WithThemeInterface; +typedef struct Opt_WithThemeInterface Opt_WithThemeInterface; typedef struct Ark_SwitchStyle Ark_SwitchStyle; typedef struct Opt_SwitchStyle Opt_SwitchStyle; typedef struct Ark_ToggleOptions Ark_ToggleOptions; @@ -1880,10 +1864,10 @@ typedef struct Ark_TextClockOptions Ark_TextClockOptions; typedef struct Opt_TextClockOptions Opt_TextClockOptions; typedef struct Callback_String_PasteEvent_Void Callback_String_PasteEvent_Void; typedef struct Opt_Callback_String_PasteEvent_Void Opt_Callback_String_PasteEvent_Void; -typedef struct TextAreaSubmitCallback TextAreaSubmitCallback; -typedef struct Opt_TextAreaSubmitCallback Opt_TextAreaSubmitCallback; typedef struct Callback_EnterKeyType_Void Callback_EnterKeyType_Void; typedef struct Opt_Callback_EnterKeyType_Void Opt_Callback_EnterKeyType_Void; +typedef struct TextAreaSubmitCallback TextAreaSubmitCallback; +typedef struct Opt_TextAreaSubmitCallback Opt_TextAreaSubmitCallback; typedef struct Ark_TextAreaOptions Ark_TextAreaOptions; typedef struct Opt_TextAreaOptions Opt_TextAreaOptions; typedef struct Ark_TextOverflowOptions Ark_TextOverflowOptions; @@ -1894,6 +1878,8 @@ typedef struct Ark_Union_SubTabBarStyle_BottomTabBarStyle Ark_Union_SubTabBarSty typedef struct Opt_Union_SubTabBarStyle_BottomTabBarStyle Opt_Union_SubTabBarStyle_BottomTabBarStyle; typedef struct Ark_Union_String_Resource_CustomBuilder_TabBarOptions Ark_Union_String_Resource_CustomBuilder_TabBarOptions; typedef struct Opt_Union_String_Resource_CustomBuilder_TabBarOptions Opt_Union_String_Resource_CustomBuilder_TabBarOptions; +typedef struct Ark_BarGridColumnOptions Ark_BarGridColumnOptions; +typedef struct Opt_BarGridColumnOptions Opt_BarGridColumnOptions; typedef struct OnTabsContentWillChangeCallback OnTabsContentWillChangeCallback; typedef struct Opt_OnTabsContentWillChangeCallback Opt_OnTabsContentWillChangeCallback; typedef struct TabContentTransitionProxyPeer TabContentTransitionProxyPeer; @@ -1901,8 +1887,6 @@ typedef struct TabContentTransitionProxyPeer* Ark_TabContentTransitionProxy; typedef struct Opt_TabContentTransitionProxy Opt_TabContentTransitionProxy; typedef struct TabsCustomContentTransitionCallback TabsCustomContentTransitionCallback; typedef struct Opt_TabsCustomContentTransitionCallback Opt_TabsCustomContentTransitionCallback; -typedef struct Ark_BarGridColumnOptions Ark_BarGridColumnOptions; -typedef struct Opt_BarGridColumnOptions Opt_BarGridColumnOptions; typedef struct OnTabsGestureSwipeCallback OnTabsGestureSwipeCallback; typedef struct Opt_OnTabsGestureSwipeCallback Opt_OnTabsGestureSwipeCallback; typedef struct OnTabsAnimationEndCallback OnTabsAnimationEndCallback; @@ -1913,6 +1897,9 @@ typedef struct OnTabsAnimationStartCallback OnTabsAnimationStartCallback; typedef struct Opt_OnTabsAnimationStartCallback Opt_OnTabsAnimationStartCallback; typedef struct Ark_TabsOptions Ark_TabsOptions; typedef struct Opt_TabsOptions Opt_TabsOptions; +typedef struct PulseSymbolEffectPeer PulseSymbolEffectPeer; +typedef struct PulseSymbolEffectPeer* Ark_PulseSymbolEffect; +typedef struct Opt_PulseSymbolEffect Opt_PulseSymbolEffect; typedef struct BounceSymbolEffectPeer BounceSymbolEffectPeer; typedef struct BounceSymbolEffectPeer* Ark_BounceSymbolEffect; typedef struct Opt_BounceSymbolEffect Opt_BounceSymbolEffect; @@ -1938,6 +1925,11 @@ typedef struct SwiperContentTransitionProxyPeer* Ark_SwiperContentTransitionProx typedef struct Opt_SwiperContentTransitionProxy Opt_SwiperContentTransitionProxy; typedef struct Ark_SwiperContentAnimatedTransition Ark_SwiperContentAnimatedTransition; typedef struct Opt_SwiperContentAnimatedTransition Opt_SwiperContentAnimatedTransition; +typedef struct IndicatorComponentControllerPeer IndicatorComponentControllerPeer; +typedef struct IndicatorComponentControllerPeer* Ark_IndicatorComponentController; +typedef struct Opt_IndicatorComponentController Opt_IndicatorComponentController; +typedef struct Ark_Union_DotIndicator_DigitIndicator_Boolean Ark_Union_DotIndicator_DigitIndicator_Boolean; +typedef struct Opt_Union_DotIndicator_DigitIndicator_Boolean Opt_Union_DotIndicator_DigitIndicator_Boolean; typedef struct OnSwiperGestureSwipeCallback OnSwiperGestureSwipeCallback; typedef struct Opt_OnSwiperGestureSwipeCallback Opt_OnSwiperGestureSwipeCallback; typedef struct OnSwiperAnimationEndCallback OnSwiperAnimationEndCallback; @@ -1946,11 +1938,6 @@ typedef struct Ark_SwiperAnimationEvent Ark_SwiperAnimationEvent; typedef struct Opt_SwiperAnimationEvent Opt_SwiperAnimationEvent; typedef struct OnSwiperAnimationStartCallback OnSwiperAnimationStartCallback; typedef struct Opt_OnSwiperAnimationStartCallback Opt_OnSwiperAnimationStartCallback; -typedef struct IndicatorComponentControllerPeer IndicatorComponentControllerPeer; -typedef struct IndicatorComponentControllerPeer* Ark_IndicatorComponentController; -typedef struct Opt_IndicatorComponentController Opt_IndicatorComponentController; -typedef struct Ark_Union_DotIndicator_DigitIndicator_Boolean Ark_Union_DotIndicator_DigitIndicator_Boolean; -typedef struct Opt_Union_DotIndicator_DigitIndicator_Boolean Opt_Union_DotIndicator_DigitIndicator_Boolean; typedef struct SwiperControllerPeer SwiperControllerPeer; typedef struct SwiperControllerPeer* Ark_SwiperController; typedef struct Opt_SwiperController Opt_SwiperController; @@ -1966,6 +1953,8 @@ typedef struct Callback_Number_SliderChangeMode_Void Callback_Number_SliderChang typedef struct Opt_Callback_Number_SliderChangeMode_Void Opt_Callback_Number_SliderChangeMode_Void; typedef struct Ark_SliderOptions Ark_SliderOptions; typedef struct Opt_SliderOptions Opt_SliderOptions; +typedef struct SliderTriggerChangeCallback SliderTriggerChangeCallback; +typedef struct Opt_SliderTriggerChangeCallback Opt_SliderTriggerChangeCallback; typedef struct Ark_ViewportRect Ark_ViewportRect; typedef struct Opt_ViewportRect Opt_ViewportRect; typedef struct Ark_Union_Dimension_OptionWidthMode Ark_Union_Dimension_OptionWidthMode; @@ -1978,18 +1967,6 @@ typedef struct Array_SelectOption Array_SelectOption; typedef struct Opt_Array_SelectOption Opt_Array_SelectOption; typedef struct Ark_Union_Position_Edges_LocalizedEdges Ark_Union_Position_Edges_LocalizedEdges; typedef struct Opt_Union_Position_Edges_LocalizedEdges Opt_Union_Position_Edges_LocalizedEdges; -typedef struct Callback_DeleteValue_Void Callback_DeleteValue_Void; -typedef struct Opt_Callback_DeleteValue_Void Opt_Callback_DeleteValue_Void; -typedef struct Ark_DeleteValue Ark_DeleteValue; -typedef struct Opt_DeleteValue Opt_DeleteValue; -typedef struct Callback_DeleteValue_Boolean Callback_DeleteValue_Boolean; -typedef struct Opt_Callback_DeleteValue_Boolean Opt_Callback_DeleteValue_Boolean; -typedef struct Callback_InsertValue_Void Callback_InsertValue_Void; -typedef struct Opt_Callback_InsertValue_Void Opt_Callback_InsertValue_Void; -typedef struct Ark_InsertValue Ark_InsertValue; -typedef struct Opt_InsertValue Opt_InsertValue; -typedef struct Callback_InsertValue_Boolean Callback_InsertValue_Boolean; -typedef struct Opt_Callback_InsertValue_Boolean Opt_Callback_InsertValue_Boolean; typedef struct Ark_TextDecorationOptions Ark_TextDecorationOptions; typedef struct Opt_TextDecorationOptions Opt_TextDecorationOptions; typedef struct OnPasteCallback OnPasteCallback; @@ -2000,14 +1977,26 @@ typedef struct OnTextSelectionChangeCallback OnTextSelectionChangeCallback; typedef struct Opt_OnTextSelectionChangeCallback Opt_OnTextSelectionChangeCallback; typedef struct EditableTextOnChangeCallback EditableTextOnChangeCallback; typedef struct Opt_EditableTextOnChangeCallback Opt_EditableTextOnChangeCallback; -typedef struct SearchSubmitCallback SearchSubmitCallback; -typedef struct Opt_SearchSubmitCallback Opt_SearchSubmitCallback; typedef struct Ark_CaretStyle Ark_CaretStyle; typedef struct Opt_CaretStyle Opt_CaretStyle; typedef struct Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions; typedef struct Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions; typedef struct Ark_Union_IconOptions_SymbolGlyphModifier Ark_Union_IconOptions_SymbolGlyphModifier; typedef struct Opt_Union_IconOptions_SymbolGlyphModifier Opt_Union_IconOptions_SymbolGlyphModifier; +typedef struct Callback_DeleteValue_Void Callback_DeleteValue_Void; +typedef struct Opt_Callback_DeleteValue_Void Opt_Callback_DeleteValue_Void; +typedef struct Ark_DeleteValue Ark_DeleteValue; +typedef struct Opt_DeleteValue Opt_DeleteValue; +typedef struct Callback_DeleteValue_Boolean Callback_DeleteValue_Boolean; +typedef struct Opt_Callback_DeleteValue_Boolean Opt_Callback_DeleteValue_Boolean; +typedef struct Callback_InsertValue_Void Callback_InsertValue_Void; +typedef struct Opt_Callback_InsertValue_Void Opt_Callback_InsertValue_Void; +typedef struct Ark_InsertValue Ark_InsertValue; +typedef struct Opt_InsertValue Opt_InsertValue; +typedef struct Callback_InsertValue_Boolean Callback_InsertValue_Boolean; +typedef struct Opt_Callback_InsertValue_Boolean Opt_Callback_InsertValue_Boolean; +typedef struct SearchSubmitCallback SearchSubmitCallback; +typedef struct Opt_SearchSubmitCallback Opt_SearchSubmitCallback; typedef struct Ark_SearchOptions Ark_SearchOptions; typedef struct Opt_SearchOptions Opt_SearchOptions; typedef struct Ark_ScrollBarOptions Ark_ScrollBarOptions; @@ -2016,16 +2005,16 @@ typedef struct Ark_OffsetOptions Ark_OffsetOptions; typedef struct Opt_OffsetOptions Opt_OffsetOptions; typedef struct Ark_ScrollSnapOptions Ark_ScrollSnapOptions; typedef struct Opt_ScrollSnapOptions Opt_ScrollSnapOptions; +typedef struct Ark_Union_Color_Number_String Ark_Union_Color_Number_String; +typedef struct Opt_Union_Color_Number_String Opt_Union_Color_Number_String; +typedef struct ScrollOnScrollCallback ScrollOnScrollCallback; +typedef struct Opt_ScrollOnScrollCallback Opt_ScrollOnScrollCallback; typedef struct Ark_OnScrollFrameBeginHandlerResult Ark_OnScrollFrameBeginHandlerResult; typedef struct Opt_OnScrollFrameBeginHandlerResult Opt_OnScrollFrameBeginHandlerResult; typedef struct OnScrollFrameBeginCallback OnScrollFrameBeginCallback; typedef struct Opt_OnScrollFrameBeginCallback Opt_OnScrollFrameBeginCallback; -typedef struct Ark_Union_Color_Number_String Ark_Union_Color_Number_String; -typedef struct Opt_Union_Color_Number_String Opt_Union_Color_Number_String; typedef struct OnScrollEdgeCallback OnScrollEdgeCallback; typedef struct Opt_OnScrollEdgeCallback Opt_OnScrollEdgeCallback; -typedef struct ScrollOnScrollCallback ScrollOnScrollCallback; -typedef struct Opt_ScrollOnScrollCallback Opt_ScrollOnScrollCallback; typedef struct Callback_ClickEvent_SaveButtonOnClickResult_Void Callback_ClickEvent_SaveButtonOnClickResult_Void; typedef struct Opt_Callback_ClickEvent_SaveButtonOnClickResult_Void Opt_Callback_ClickEvent_SaveButtonOnClickResult_Void; typedef struct Ark_SaveButtonOptions Ark_SaveButtonOptions; @@ -2043,6 +2032,17 @@ typedef struct Opt_Union_ResponseType_RichEditorResponseType Opt_Union_ResponseT typedef struct EditMenuOptionsPeer EditMenuOptionsPeer; typedef struct EditMenuOptionsPeer* Ark_EditMenuOptions; typedef struct Opt_EditMenuOptions Opt_EditMenuOptions; +typedef struct SubmitEventPeer SubmitEventPeer; +typedef struct SubmitEventPeer* Ark_SubmitEvent; +typedef struct Opt_SubmitEvent Opt_SubmitEvent; +typedef struct SubmitCallback SubmitCallback; +typedef struct Opt_SubmitCallback Opt_SubmitCallback; +typedef struct Ark_TextDataDetectorConfig Ark_TextDataDetectorConfig; +typedef struct Opt_TextDataDetectorConfig Opt_TextDataDetectorConfig; +typedef struct Ark_PasteEvent Ark_PasteEvent; +typedef struct Opt_PasteEvent Opt_PasteEvent; +typedef struct PasteEventCallback PasteEventCallback; +typedef struct Opt_PasteEventCallback Opt_PasteEventCallback; typedef struct Ark_CopyEvent Ark_CopyEvent; typedef struct Opt_CopyEvent Opt_CopyEvent; typedef struct Callback_CopyEvent_Void Callback_CopyEvent_Void; @@ -2055,17 +2055,6 @@ typedef struct Ark_RichEditorChangeValue Ark_RichEditorChangeValue; typedef struct Opt_RichEditorChangeValue Opt_RichEditorChangeValue; typedef struct Callback_RichEditorChangeValue_Boolean Callback_RichEditorChangeValue_Boolean; typedef struct Opt_Callback_RichEditorChangeValue_Boolean Opt_Callback_RichEditorChangeValue_Boolean; -typedef struct SubmitEventPeer SubmitEventPeer; -typedef struct SubmitEventPeer* Ark_SubmitEvent; -typedef struct Opt_SubmitEvent Opt_SubmitEvent; -typedef struct SubmitCallback SubmitCallback; -typedef struct Opt_SubmitCallback Opt_SubmitCallback; -typedef struct Ark_TextDataDetectorConfig Ark_TextDataDetectorConfig; -typedef struct Opt_TextDataDetectorConfig Opt_TextDataDetectorConfig; -typedef struct Ark_PasteEvent Ark_PasteEvent; -typedef struct Opt_PasteEvent Opt_PasteEvent; -typedef struct PasteEventCallback PasteEventCallback; -typedef struct Opt_PasteEventCallback Opt_PasteEventCallback; typedef struct Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult; typedef struct Opt_Union_RichEditorTextSpanResult_RichEditorImageSpanResult Opt_Union_RichEditorTextSpanResult_RichEditorImageSpanResult; typedef struct Ark_RichEditorDeleteValue Ark_RichEditorDeleteValue; @@ -2143,12 +2132,12 @@ typedef struct Ark_Point Ark_Point; typedef struct Opt_Point Opt_Point; typedef struct Ark_PolygonOptions Ark_PolygonOptions; typedef struct Opt_PolygonOptions Opt_PolygonOptions; +typedef struct Ark_PluginComponentOptions Ark_PluginComponentOptions; +typedef struct Opt_PluginComponentOptions Opt_PluginComponentOptions; typedef struct Ark_PluginErrorData Ark_PluginErrorData; typedef struct Opt_PluginErrorData Opt_PluginErrorData; typedef struct PluginErrorCallback PluginErrorCallback; typedef struct Opt_PluginErrorCallback Opt_PluginErrorCallback; -typedef struct Ark_PluginComponentOptions Ark_PluginComponentOptions; -typedef struct Opt_PluginComponentOptions Opt_PluginComponentOptions; typedef struct Callback_Array_Number_Void Callback_Array_Number_Void; typedef struct Opt_Callback_Array_Number_Void Opt_Callback_Array_Number_Void; typedef struct PatternLockControllerPeer PatternLockControllerPeer; @@ -2160,10 +2149,12 @@ typedef struct Callback_ClickEvent_PasteButtonOnClickResult_Void Callback_ClickE typedef struct Opt_Callback_ClickEvent_PasteButtonOnClickResult_Void Opt_Callback_ClickEvent_PasteButtonOnClickResult_Void; typedef struct Ark_PasteButtonOptions Ark_PasteButtonOptions; typedef struct Opt_PasteButtonOptions Opt_PasteButtonOptions; -typedef struct Callback_Number_Number_PanelMode_Void Callback_Number_Number_PanelMode_Void; -typedef struct Opt_Callback_Number_Number_PanelMode_Void Opt_Callback_Number_Number_PanelMode_Void; typedef struct Ark_Union_Dimension_PanelHeight Ark_Union_Dimension_PanelHeight; typedef struct Opt_Union_Dimension_PanelHeight Opt_Union_Dimension_PanelHeight; +typedef struct Callback_Number_Number_PanelMode_Void Callback_Number_Number_PanelMode_Void; +typedef struct Opt_Callback_Number_Number_PanelMode_Void Opt_Callback_Number_Number_PanelMode_Void; +typedef struct PageTransitionCallback PageTransitionCallback; +typedef struct Opt_PageTransitionCallback Opt_PageTransitionCallback; typedef struct Ark_NodeController Ark_NodeController; typedef struct Opt_NodeController Opt_NodeController; typedef struct Ark_Literal_String_target_NavigationType_type Ark_Literal_String_target_NavigationType_type; @@ -2171,6 +2162,14 @@ typedef struct Opt_Literal_String_target_NavigationType_type Opt_Literal_String_ typedef struct NavigationTransitionProxyPeer NavigationTransitionProxyPeer; typedef struct NavigationTransitionProxyPeer* Ark_NavigationTransitionProxy; typedef struct Opt_NavigationTransitionProxy Opt_NavigationTransitionProxy; +typedef struct Type_NavigationAttribute_customNavContentTransition_delegate Type_NavigationAttribute_customNavContentTransition_delegate; +typedef struct Opt_Type_NavigationAttribute_customNavContentTransition_delegate Opt_Type_NavigationAttribute_customNavContentTransition_delegate; +typedef struct Callback_String_Unknown_Void Callback_String_Unknown_Void; +typedef struct Opt_Callback_String_Unknown_Void Opt_Callback_String_Unknown_Void; +typedef struct Callback_NavigationMode_Void Callback_NavigationMode_Void; +typedef struct Opt_Callback_NavigationMode_Void Opt_Callback_NavigationMode_Void; +typedef struct Callback_NavigationTitleMode_Void Callback_NavigationTitleMode_Void; +typedef struct Opt_Callback_NavigationTitleMode_Void Opt_Callback_NavigationTitleMode_Void; typedef struct Ark_Union_NavDestinationContext_NavBar Ark_Union_NavDestinationContext_NavBar; typedef struct Opt_Union_NavDestinationContext_NavBar Opt_Union_NavDestinationContext_NavBar; typedef struct Array_CustomObject Array_CustomObject; @@ -2187,14 +2186,14 @@ typedef struct Ark_Union_Array_ToolbarItem_CustomBuilder Ark_Union_Array_Toolbar typedef struct Opt_Union_Array_ToolbarItem_CustomBuilder Opt_Union_Array_ToolbarItem_CustomBuilder; typedef struct Ark_Type_NavDestinationAttribute_title_value Ark_Type_NavDestinationAttribute_title_value; typedef struct Opt_Type_NavDestinationAttribute_title_value Opt_Type_NavDestinationAttribute_title_value; -typedef struct Callback_NavDestinationContext_Void Callback_NavDestinationContext_Void; -typedef struct Opt_Callback_NavDestinationContext_Void Opt_Callback_NavDestinationContext_Void; typedef struct Ark_NavigationMenuItem Ark_NavigationMenuItem; typedef struct Opt_NavigationMenuItem Opt_NavigationMenuItem; typedef struct Ark_Union_Array_NavigationMenuItem_CustomBuilder Ark_Union_Array_NavigationMenuItem_CustomBuilder; typedef struct Opt_Union_Array_NavigationMenuItem_CustomBuilder Opt_Union_Array_NavigationMenuItem_CustomBuilder; typedef struct Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier; typedef struct Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier; +typedef struct Callback_NavDestinationContext_Void Callback_NavDestinationContext_Void; +typedef struct Opt_Callback_NavDestinationContext_Void Opt_Callback_NavDestinationContext_Void; typedef struct Callback_Boolean Callback_Boolean; typedef struct Opt_Callback_Boolean Opt_Callback_Boolean; typedef struct Ark_PopInfo Ark_PopInfo; @@ -2223,21 +2222,21 @@ typedef struct Ark_ListItemOptions Ark_ListItemOptions; typedef struct Opt_ListItemOptions Opt_ListItemOptions; typedef struct Ark_Union_Number_LengthConstrain Ark_Union_Number_LengthConstrain; typedef struct Opt_Union_Number_LengthConstrain Opt_Union_Number_LengthConstrain; +typedef struct Ark_ChainAnimationOptions Ark_ChainAnimationOptions; +typedef struct Opt_ChainAnimationOptions Opt_ChainAnimationOptions; typedef struct Callback_Number_Number_Boolean Callback_Number_Number_Boolean; typedef struct Opt_Callback_Number_Number_Boolean Opt_Callback_Number_Number_Boolean; typedef struct Callback_Number_Boolean Callback_Number_Boolean; typedef struct Opt_Callback_Number_Boolean Opt_Callback_Number_Boolean; -typedef struct OnScrollVisibleContentChangeCallback OnScrollVisibleContentChangeCallback; -typedef struct Opt_OnScrollVisibleContentChangeCallback Opt_OnScrollVisibleContentChangeCallback; typedef struct Callback_Number_Number_Number_Void Callback_Number_Number_Number_Void; typedef struct Opt_Callback_Number_Number_Number_Void Opt_Callback_Number_Number_Number_Void; -typedef struct Ark_ChainAnimationOptions Ark_ChainAnimationOptions; -typedef struct Opt_ChainAnimationOptions Opt_ChainAnimationOptions; typedef struct Ark_ListOptions Ark_ListOptions; typedef struct Opt_ListOptions Opt_ListOptions; typedef struct ListScrollerPeer ListScrollerPeer; typedef struct ListScrollerPeer* Ark_ListScroller; typedef struct Opt_ListScroller Opt_ListScroller; +typedef struct OnScrollVisibleContentChangeCallback OnScrollVisibleContentChangeCallback; +typedef struct Opt_OnScrollVisibleContentChangeCallback Opt_OnScrollVisibleContentChangeCallback; typedef struct Ark_LineOptions Ark_LineOptions; typedef struct Opt_LineOptions Opt_LineOptions; typedef struct Ark_ImageLoadResult Ark_ImageLoadResult; @@ -2258,12 +2257,12 @@ typedef struct Ark_ImageError Ark_ImageError; typedef struct Opt_ImageError Opt_ImageError; typedef struct ImageErrorCallback ImageErrorCallback; typedef struct Opt_ImageErrorCallback Opt_ImageErrorCallback; +typedef struct Ark_ImageSourceSize Ark_ImageSourceSize; +typedef struct Opt_ImageSourceSize Opt_ImageSourceSize; typedef struct Ark_Type_ImageAttribute_onComplete_callback_event Ark_Type_ImageAttribute_onComplete_callback_event; typedef struct Opt_Type_ImageAttribute_onComplete_callback_event Opt_Type_ImageAttribute_onComplete_callback_event; typedef struct Callback_Type_ImageAttribute_onComplete_callback_event_Void Callback_Type_ImageAttribute_onComplete_callback_event_Void; typedef struct Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void; -typedef struct Ark_ImageSourceSize Ark_ImageSourceSize; -typedef struct Opt_ImageSourceSize Opt_ImageSourceSize; typedef struct Ark_Union_PixelMap_ResourceStr_DrawableDescriptor Ark_Union_PixelMap_ResourceStr_DrawableDescriptor; typedef struct Opt_Union_PixelMap_ResourceStr_DrawableDescriptor Opt_Union_PixelMap_ResourceStr_DrawableDescriptor; typedef struct Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent; @@ -2298,10 +2297,10 @@ typedef struct Ark_ComputedBarAttribute Ark_ComputedBarAttribute; typedef struct Opt_ComputedBarAttribute Opt_ComputedBarAttribute; typedef struct Callback_Number_Number_ComputedBarAttribute Callback_Number_Number_ComputedBarAttribute; typedef struct Opt_Callback_Number_Number_ComputedBarAttribute Opt_Callback_Number_Number_ComputedBarAttribute; -typedef struct Ark_Tuple_Number_Number_Number_Number Ark_Tuple_Number_Number_Number_Number; -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_Tuple_Number_Number_Number_Number Ark_Tuple_Number_Number_Number_Number; +typedef struct Opt_Tuple_Number_Number_Number_Number Opt_Tuple_Number_Number_Number_Number; typedef struct PanRecognizerPeer PanRecognizerPeer; typedef struct PanRecognizerPeer* Ark_PanRecognizer; typedef struct Opt_PanRecognizer Opt_PanRecognizer; @@ -2379,10 +2378,6 @@ typedef struct Ark_FolderStackOptions Ark_FolderStackOptions; typedef struct Opt_FolderStackOptions Opt_FolderStackOptions; typedef struct Ark_FlexOptions Ark_FlexOptions; typedef struct Opt_FlexOptions Opt_FlexOptions; -typedef struct Ark_BusinessError Ark_BusinessError; -typedef struct Opt_BusinessError Opt_BusinessError; -typedef struct ErrorCallback ErrorCallback; -typedef struct Opt_ErrorCallback Opt_ErrorCallback; typedef struct Ark_TerminationInfo Ark_TerminationInfo; typedef struct Opt_TerminationInfo Opt_TerminationInfo; typedef struct Callback_TerminationInfo_Void Callback_TerminationInfo_Void; @@ -2414,6 +2409,10 @@ typedef struct Opt_UICommonEvent Opt_UICommonEvent; typedef struct ChildrenMainSizePeer ChildrenMainSizePeer; typedef struct ChildrenMainSizePeer* Ark_ChildrenMainSize; typedef struct Opt_ChildrenMainSize Opt_ChildrenMainSize; +typedef struct OnMoveHandler OnMoveHandler; +typedef struct Opt_OnMoveHandler Opt_OnMoveHandler; +typedef struct OnScrollCallback OnScrollCallback; +typedef struct Opt_OnScrollCallback Opt_OnScrollCallback; typedef struct Ark_Union_ContentClipMode_RectShape Ark_Union_ContentClipMode_RectShape; typedef struct Opt_Union_ContentClipMode_RectShape Opt_Union_ContentClipMode_RectShape; typedef struct Callback_Number_Number_Void Callback_Number_Number_Void; @@ -2431,22 +2430,10 @@ typedef struct Array_ModifierKey Array_ModifierKey; typedef struct Opt_Array_ModifierKey Opt_Array_ModifierKey; typedef struct Ark_Union_String_FunctionKey Ark_Union_String_FunctionKey; typedef struct Opt_Union_String_FunctionKey Opt_Union_String_FunctionKey; -typedef struct Ark_SpringBackAction Ark_SpringBackAction; -typedef struct Opt_SpringBackAction Opt_SpringBackAction; -typedef struct Ark_DismissSheetAction Ark_DismissSheetAction; -typedef struct Opt_DismissSheetAction Opt_DismissSheetAction; -typedef struct Ark_SheetDismiss Ark_SheetDismiss; -typedef struct Opt_SheetDismiss Opt_SheetDismiss; -typedef struct Ark_DismissContentCoverAction Ark_DismissContentCoverAction; -typedef struct Opt_DismissContentCoverAction Opt_DismissContentCoverAction; typedef struct Ark_Union_Array_MenuElement_CustomBuilder Ark_Union_Array_MenuElement_CustomBuilder; typedef struct Opt_Union_Array_MenuElement_CustomBuilder Opt_Union_Array_MenuElement_CustomBuilder; typedef struct Ark_MenuElement Ark_MenuElement; typedef struct Opt_MenuElement Opt_MenuElement; -typedef struct Ark_DismissPopupAction Ark_DismissPopupAction; -typedef struct Opt_DismissPopupAction Opt_DismissPopupAction; -typedef struct Ark_Literal_Boolean_isVisible Ark_Literal_Boolean_isVisible; -typedef struct Opt_Literal_Boolean_isVisible Opt_Literal_Boolean_isVisible; typedef struct Ark_Union_PopupOptions_CustomPopupOptions Ark_Union_PopupOptions_CustomPopupOptions; typedef struct Opt_Union_PopupOptions_CustomPopupOptions Opt_Union_PopupOptions_CustomPopupOptions; typedef struct Ark_Union_BlendMode_Blender Ark_Union_BlendMode_Blender; @@ -2459,24 +2446,6 @@ typedef struct Array_SafeAreaEdge Array_SafeAreaEdge; typedef struct Opt_Array_SafeAreaEdge Opt_Array_SafeAreaEdge; typedef struct Array_SafeAreaType Array_SafeAreaType; typedef struct Opt_Array_SafeAreaType Opt_Array_SafeAreaType; -typedef struct Callback_TouchEvent_HitTestMode Callback_TouchEvent_HitTestMode; -typedef struct Opt_Callback_TouchEvent_HitTestMode Opt_Callback_TouchEvent_HitTestMode; -typedef struct Array_GestureRecognizer Array_GestureRecognizer; -typedef struct Opt_Array_GestureRecognizer Opt_Array_GestureRecognizer; -typedef struct ShouldBuiltInRecognizerParallelWithCallback ShouldBuiltInRecognizerParallelWithCallback; -typedef struct Opt_ShouldBuiltInRecognizerParallelWithCallback Opt_ShouldBuiltInRecognizerParallelWithCallback; -typedef struct GestureRecognizerPeer GestureRecognizerPeer; -typedef struct GestureRecognizerPeer* Ark_GestureRecognizer; -typedef struct Opt_GestureRecognizer Opt_GestureRecognizer; -typedef struct Ark_FingerInfo Ark_FingerInfo; -typedef struct Opt_FingerInfo Opt_FingerInfo; -typedef struct BaseGestureEventPeer BaseGestureEventPeer; -typedef struct BaseGestureEventPeer* Ark_BaseGestureEvent; -typedef struct Opt_BaseGestureEvent Opt_BaseGestureEvent; -typedef struct Ark_GestureInfo Ark_GestureInfo; -typedef struct Opt_GestureInfo Opt_GestureInfo; -typedef struct Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult; -typedef struct Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult; typedef struct Ark_BackgroundBrightnessOptions Ark_BackgroundBrightnessOptions; typedef struct Opt_BackgroundBrightnessOptions Opt_BackgroundBrightnessOptions; typedef struct GestureModifierPeer GestureModifierPeer; @@ -2496,20 +2465,12 @@ typedef struct Ark_Type_CommonMethod_sweepGradient_value Ark_Type_CommonMethod_s typedef struct Opt_Type_CommonMethod_sweepGradient_value Opt_Type_CommonMethod_sweepGradient_value; typedef struct Ark_Type_CommonMethod_linearGradient_value Ark_Type_CommonMethod_linearGradient_value; typedef struct Opt_Type_CommonMethod_linearGradient_value Opt_Type_CommonMethod_linearGradient_value; -typedef struct Callback_PreDragStatus_Void Callback_PreDragStatus_Void; -typedef struct Opt_Callback_PreDragStatus_Void Opt_Callback_PreDragStatus_Void; typedef struct Ark_Union_CustomBuilder_DragItemInfo_String Ark_Union_CustomBuilder_DragItemInfo_String; typedef struct Opt_Union_CustomBuilder_DragItemInfo_String Opt_Union_CustomBuilder_DragItemInfo_String; typedef struct Ark_UniformDataType Ark_UniformDataType; typedef struct Opt_UniformDataType Opt_UniformDataType; typedef struct Array_UniformDataType Array_UniformDataType; typedef struct Opt_Array_UniformDataType Opt_Array_UniformDataType; -typedef struct Callback_DragEvent_String_Void Callback_DragEvent_String_Void; -typedef struct Opt_Callback_DragEvent_String_Void Opt_Callback_DragEvent_String_Void; -typedef struct Ark_Union_CustomBuilder_DragItemInfo Ark_Union_CustomBuilder_DragItemInfo; -typedef struct Opt_Union_CustomBuilder_DragItemInfo Opt_Union_CustomBuilder_DragItemInfo; -typedef struct Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; -typedef struct Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; typedef struct Ark_LocalizedAlignRuleOptions Ark_LocalizedAlignRuleOptions; typedef struct Opt_LocalizedAlignRuleOptions Opt_LocalizedAlignRuleOptions; typedef struct Ark_AlignRuleOption Ark_AlignRuleOption; @@ -2518,8 +2479,6 @@ typedef struct Ark_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs A typedef struct Opt_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs Opt_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs; typedef struct Ark_Union_Position_LocalizedPosition Ark_Union_Position_LocalizedPosition; typedef struct Opt_Union_Position_LocalizedPosition Opt_Union_Position_LocalizedPosition; -typedef struct Callback_Area_Area_Void Callback_Area_Area_Void; -typedef struct Opt_Callback_Area_Area_Void Opt_Callback_Area_Area_Void; typedef struct Ark_Union_Number_InvertOptions Ark_Union_Number_InvertOptions; typedef struct Opt_Union_Number_InvertOptions Opt_Union_Number_InvertOptions; typedef struct Ark_Union_Color_String_Resource Ark_Union_Color_String_Resource; @@ -2530,12 +2489,8 @@ typedef struct Ark_Union_TransitionOptions_TransitionEffect Ark_Union_Transition typedef struct Opt_Union_TransitionOptions_TransitionEffect Opt_Union_TransitionOptions_TransitionEffect; typedef struct Ark_FocusBoxStyle Ark_FocusBoxStyle; typedef struct Opt_FocusBoxStyle Opt_FocusBoxStyle; -typedef struct Callback_KeyEvent_Boolean Callback_KeyEvent_Boolean; -typedef struct Opt_Callback_KeyEvent_Boolean Opt_Callback_KeyEvent_Boolean; typedef struct AccessibilityCallback AccessibilityCallback; typedef struct Opt_AccessibilityCallback Opt_AccessibilityCallback; -typedef struct Callback_Boolean_HoverEvent_Void Callback_Boolean_HoverEvent_Void; -typedef struct Opt_Callback_Boolean_HoverEvent_Void Opt_Callback_Boolean_HoverEvent_Void; typedef struct Ark_Union_ResourceColor_ColoringStrategy Ark_Union_ResourceColor_ColoringStrategy; typedef struct Opt_Union_ResourceColor_ColoringStrategy Opt_Union_ResourceColor_ColoringStrategy; typedef struct Ark_Union_Dimension_OutlineRadiuses Ark_Union_Dimension_OutlineRadiuses; @@ -2576,6 +2531,28 @@ typedef struct Ark_Union_Padding_Length_LocalizedPadding Ark_Union_Padding_Lengt typedef struct Opt_Union_Padding_Length_LocalizedPadding Opt_Union_Padding_Length_LocalizedPadding; typedef struct Ark_ChainWeightOptions Ark_ChainWeightOptions; typedef struct Opt_ChainWeightOptions Opt_ChainWeightOptions; +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 Callback_TouchEvent_HitTestMode Callback_TouchEvent_HitTestMode; +typedef struct Opt_Callback_TouchEvent_HitTestMode Opt_Callback_TouchEvent_HitTestMode; +typedef struct Ark_GestureInfo Ark_GestureInfo; +typedef struct Opt_GestureInfo Opt_GestureInfo; +typedef struct Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult; +typedef struct Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult; +typedef struct Callback_PreDragStatus_Void Callback_PreDragStatus_Void; +typedef struct Opt_Callback_PreDragStatus_Void Opt_Callback_PreDragStatus_Void; +typedef struct Callback_DragEvent_String_Void Callback_DragEvent_String_Void; +typedef struct Opt_Callback_DragEvent_String_Void Opt_Callback_DragEvent_String_Void; +typedef struct Ark_Union_CustomBuilder_DragItemInfo Ark_Union_CustomBuilder_DragItemInfo; +typedef struct Opt_Union_CustomBuilder_DragItemInfo Opt_Union_CustomBuilder_DragItemInfo; +typedef struct Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; +typedef struct Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; +typedef struct Callback_Area_Area_Void Callback_Area_Area_Void; +typedef struct Opt_Callback_Area_Area_Void Opt_Callback_Area_Area_Void; +typedef struct Callback_KeyEvent_Boolean Callback_KeyEvent_Boolean; +typedef struct Opt_Callback_KeyEvent_Boolean Opt_Callback_KeyEvent_Boolean; +typedef struct Callback_Boolean_HoverEvent_Void Callback_Boolean_HoverEvent_Void; +typedef struct Opt_Callback_Boolean_HoverEvent_Void Opt_Callback_Boolean_HoverEvent_Void; typedef struct Ark_TouchResult Ark_TouchResult; typedef struct Opt_TouchResult Opt_TouchResult; typedef struct Ark_TouchTestInfo Ark_TouchTestInfo; @@ -2584,8 +2561,18 @@ 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_Union_Array_Rectangle_Rectangle Ark_Union_Array_Rectangle_Rectangle; -typedef struct Opt_Union_Array_Rectangle_Rectangle Opt_Union_Array_Rectangle_Rectangle; +typedef struct Ark_DismissPopupAction Ark_DismissPopupAction; +typedef struct Opt_DismissPopupAction Opt_DismissPopupAction; +typedef struct Ark_Literal_Boolean_isVisible Ark_Literal_Boolean_isVisible; +typedef struct Opt_Literal_Boolean_isVisible Opt_Literal_Boolean_isVisible; +typedef struct Ark_SpringBackAction Ark_SpringBackAction; +typedef struct Opt_SpringBackAction Opt_SpringBackAction; +typedef struct Ark_DismissSheetAction Ark_DismissSheetAction; +typedef struct Opt_DismissSheetAction Opt_DismissSheetAction; +typedef struct Ark_SheetDismiss Ark_SheetDismiss; +typedef struct Opt_SheetDismiss Opt_SheetDismiss; +typedef struct Ark_DismissContentCoverAction Ark_DismissContentCoverAction; +typedef struct Opt_DismissContentCoverAction Opt_DismissContentCoverAction; typedef struct KeyEventPeer KeyEventPeer; typedef struct KeyEventPeer* Ark_KeyEvent; typedef struct Opt_KeyEvent Opt_KeyEvent; @@ -2595,6 +2582,18 @@ typedef struct Opt_DragEvent Opt_DragEvent; typedef struct PixelMapMockPeer PixelMapMockPeer; typedef struct PixelMapMockPeer* Ark_PixelMapMock; typedef struct Opt_PixelMapMock Opt_PixelMapMock; +typedef struct Array_GestureRecognizer Array_GestureRecognizer; +typedef struct Opt_Array_GestureRecognizer Opt_Array_GestureRecognizer; +typedef struct ShouldBuiltInRecognizerParallelWithCallback ShouldBuiltInRecognizerParallelWithCallback; +typedef struct Opt_ShouldBuiltInRecognizerParallelWithCallback Opt_ShouldBuiltInRecognizerParallelWithCallback; +typedef struct GestureRecognizerPeer GestureRecognizerPeer; +typedef struct GestureRecognizerPeer* Ark_GestureRecognizer; +typedef struct Opt_GestureRecognizer Opt_GestureRecognizer; +typedef struct Ark_FingerInfo Ark_FingerInfo; +typedef struct Opt_FingerInfo Opt_FingerInfo; +typedef struct BaseGestureEventPeer BaseGestureEventPeer; +typedef struct BaseGestureEventPeer* Ark_BaseGestureEvent; +typedef struct Opt_BaseGestureEvent Opt_BaseGestureEvent; typedef struct Ark_HistoricalPoint Ark_HistoricalPoint; typedef struct Opt_HistoricalPoint Opt_HistoricalPoint; typedef struct Array_HistoricalPoint Array_HistoricalPoint; @@ -2625,10 +2624,10 @@ typedef struct OnCheckboxGroupChangeCallback OnCheckboxGroupChangeCallback; typedef struct Opt_OnCheckboxGroupChangeCallback Opt_OnCheckboxGroupChangeCallback; typedef struct Ark_CheckboxGroupOptions Ark_CheckboxGroupOptions; typedef struct Opt_CheckboxGroupOptions Opt_CheckboxGroupOptions; -typedef struct OnCheckboxChangeCallback OnCheckboxChangeCallback; -typedef struct Opt_OnCheckboxChangeCallback Opt_OnCheckboxChangeCallback; typedef struct Ark_MarkStyle Ark_MarkStyle; typedef struct Opt_MarkStyle Opt_MarkStyle; +typedef struct OnCheckboxChangeCallback OnCheckboxChangeCallback; +typedef struct Opt_OnCheckboxChangeCallback Opt_OnCheckboxChangeCallback; typedef struct Ark_CheckboxOptions Ark_CheckboxOptions; typedef struct Opt_CheckboxOptions Opt_CheckboxOptions; typedef struct Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext; @@ -2648,14 +2647,6 @@ typedef struct CanvasPathPeer* Ark_CanvasPath; typedef struct Opt_CanvasPath Opt_CanvasPath; typedef struct Ark_CalendarOptions Ark_CalendarOptions; typedef struct Opt_CalendarOptions Opt_CalendarOptions; -typedef struct Ark_CalendarRequestedData Ark_CalendarRequestedData; -typedef struct Opt_CalendarRequestedData Opt_CalendarRequestedData; -typedef struct Callback_CalendarRequestedData_Void Callback_CalendarRequestedData_Void; -typedef struct Opt_Callback_CalendarRequestedData_Void Opt_Callback_CalendarRequestedData_Void; -typedef struct Ark_CalendarSelectedDate Ark_CalendarSelectedDate; -typedef struct Opt_CalendarSelectedDate Opt_CalendarSelectedDate; -typedef struct Callback_CalendarSelectedDate_Void Callback_CalendarSelectedDate_Void; -typedef struct Opt_Callback_CalendarSelectedDate_Void Opt_Callback_CalendarSelectedDate_Void; typedef struct Ark_WorkStateStyle Ark_WorkStateStyle; typedef struct Opt_WorkStateStyle Opt_WorkStateStyle; typedef struct Ark_WeekStyle Ark_WeekStyle; @@ -2666,12 +2657,22 @@ typedef struct Ark_NonCurrentDayStyle Ark_NonCurrentDayStyle; typedef struct Opt_NonCurrentDayStyle Opt_NonCurrentDayStyle; typedef struct Ark_CurrentDayStyle Ark_CurrentDayStyle; typedef struct Opt_CurrentDayStyle Opt_CurrentDayStyle; +typedef struct Ark_CalendarRequestedData Ark_CalendarRequestedData; +typedef struct Opt_CalendarRequestedData Opt_CalendarRequestedData; +typedef struct Callback_CalendarRequestedData_Void Callback_CalendarRequestedData_Void; +typedef struct Opt_Callback_CalendarRequestedData_Void Opt_Callback_CalendarRequestedData_Void; +typedef struct Ark_CalendarSelectedDate Ark_CalendarSelectedDate; +typedef struct Opt_CalendarSelectedDate Opt_CalendarSelectedDate; +typedef struct Callback_CalendarSelectedDate_Void Callback_CalendarSelectedDate_Void; +typedef struct Opt_Callback_CalendarSelectedDate_Void Opt_Callback_CalendarSelectedDate_Void; typedef struct Ark_CalendarDay Ark_CalendarDay; typedef struct Opt_CalendarDay Opt_CalendarDay; typedef struct Ark_Type_CalendarInterface_value Ark_Type_CalendarInterface_value; typedef struct Opt_Type_CalendarInterface_value Opt_Type_CalendarInterface_value; typedef struct Ark_ButtonOptions Ark_ButtonOptions; typedef struct Opt_ButtonOptions Opt_ButtonOptions; +typedef struct ButtonTriggerClickCallback ButtonTriggerClickCallback; +typedef struct Opt_ButtonTriggerClickCallback Opt_ButtonTriggerClickCallback; typedef struct Ark_BadgeParamWithString Ark_BadgeParamWithString; typedef struct Opt_BadgeParamWithString Opt_BadgeParamWithString; typedef struct Ark_BadgeParamWithNumber Ark_BadgeParamWithNumber; @@ -2688,10 +2689,10 @@ typedef struct Opt_SpringMotion Opt_SpringMotion; typedef struct SpringPropPeer SpringPropPeer; typedef struct SpringPropPeer* Ark_SpringProp; typedef struct Opt_SpringProp Opt_SpringProp; -typedef struct OnAlphabetIndexerPopupSelectCallback OnAlphabetIndexerPopupSelectCallback; -typedef struct Opt_OnAlphabetIndexerPopupSelectCallback Opt_OnAlphabetIndexerPopupSelectCallback; typedef struct OnAlphabetIndexerRequestPopupDataCallback OnAlphabetIndexerRequestPopupDataCallback; typedef struct Opt_OnAlphabetIndexerRequestPopupDataCallback Opt_OnAlphabetIndexerRequestPopupDataCallback; +typedef struct OnAlphabetIndexerPopupSelectCallback OnAlphabetIndexerPopupSelectCallback; +typedef struct Opt_OnAlphabetIndexerPopupSelectCallback Opt_OnAlphabetIndexerPopupSelectCallback; typedef struct OnAlphabetIndexerSelectCallback OnAlphabetIndexerSelectCallback; typedef struct Opt_OnAlphabetIndexerSelectCallback Opt_OnAlphabetIndexerSelectCallback; typedef struct Ark_AlphabetIndexerOptions Ark_AlphabetIndexerOptions; @@ -2700,10 +2701,10 @@ typedef struct Ark_AlertDialogButtonOptions Ark_AlertDialogButtonOptions; typedef struct Opt_AlertDialogButtonOptions Opt_AlertDialogButtonOptions; typedef struct Ark_Type_AlertDialog_show_value Ark_Type_AlertDialog_show_value; typedef struct Opt_Type_AlertDialog_show_value Opt_Type_AlertDialog_show_value; -typedef struct Ark_DismissDialogAction Ark_DismissDialogAction; -typedef struct Opt_DismissDialogAction Opt_DismissDialogAction; typedef struct Ark_SheetInfo Ark_SheetInfo; typedef struct Opt_SheetInfo Opt_SheetInfo; +typedef struct Ark_DismissDialogAction Ark_DismissDialogAction; +typedef struct Opt_DismissDialogAction Opt_DismissDialogAction; typedef struct Ark_Literal_Want_want Ark_Literal_Want_want; typedef struct Opt_Literal_Want_want Opt_Literal_Want_want; typedef struct ReplaceSymbolEffectPeer ReplaceSymbolEffectPeer; @@ -2718,10 +2719,27 @@ typedef struct Ark_ShapeSize Ark_ShapeSize; typedef struct Opt_ShapeSize Opt_ShapeSize; typedef struct Ark_Union_RectShapeOptions_RoundRectShapeOptions Ark_Union_RectShapeOptions_RoundRectShapeOptions; typedef struct Opt_Union_RectShapeOptions_RoundRectShapeOptions Opt_Union_RectShapeOptions_RoundRectShapeOptions; +typedef struct Ark_BusinessError Ark_BusinessError; +typedef struct Opt_BusinessError Opt_BusinessError; +typedef struct ErrorCallback ErrorCallback; +typedef struct Opt_ErrorCallback Opt_ErrorCallback; 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 struct Ark_AnimationOptions Ark_AnimationOptions; +typedef struct Opt_AnimationOptions Opt_AnimationOptions; +typedef struct Array_PixelMap Array_PixelMap; +typedef struct Opt_Array_PixelMap Opt_Array_PixelMap; +typedef struct AnimatedDrawableDescriptorPeer AnimatedDrawableDescriptorPeer; +typedef struct AnimatedDrawableDescriptorPeer* Ark_AnimatedDrawableDescriptor; +typedef struct Opt_AnimatedDrawableDescriptor Opt_AnimatedDrawableDescriptor; +typedef struct PixelMapDrawableDescriptorPeer PixelMapDrawableDescriptorPeer; +typedef struct PixelMapDrawableDescriptorPeer* Ark_PixelMapDrawableDescriptor; +typedef struct Opt_PixelMapDrawableDescriptor Opt_PixelMapDrawableDescriptor; +typedef struct LayeredDrawableDescriptorPeer LayeredDrawableDescriptorPeer; +typedef struct LayeredDrawableDescriptorPeer* Ark_LayeredDrawableDescriptor; +typedef struct Opt_LayeredDrawableDescriptor Opt_LayeredDrawableDescriptor; typedef enum Ark_LengthUnit { ARK_LENGTH_UNIT_PX = 0, ARK_LENGTH_UNIT_VP = 1, @@ -3075,6 +3093,16 @@ typedef struct Opt_MenuType { Ark_Tag tag; Ark_MenuType value; } Opt_MenuType; +typedef enum Ark_NestedScrollMode { + ARK_NESTED_SCROLL_MODE_SELF_ONLY = 0, + ARK_NESTED_SCROLL_MODE_SELF_FIRST = 1, + ARK_NESTED_SCROLL_MODE_PARENT_FIRST = 2, + ARK_NESTED_SCROLL_MODE_PARALLEL = 3, +} Ark_NestedScrollMode; +typedef struct Opt_NestedScrollMode { + Ark_Tag tag; + Ark_NestedScrollMode value; +} Opt_NestedScrollMode; typedef enum Ark_TouchType { ARK_TOUCH_TYPE_DOWN = 0, ARK_TOUCH_TYPE_UP = 1, @@ -3106,16 +3134,6 @@ typedef struct Opt_SourceType { Ark_Tag tag; Ark_SourceType value; } Opt_SourceType; -typedef enum Ark_NestedScrollMode { - ARK_NESTED_SCROLL_MODE_SELF_ONLY = 0, - ARK_NESTED_SCROLL_MODE_SELF_FIRST = 1, - ARK_NESTED_SCROLL_MODE_PARENT_FIRST = 2, - ARK_NESTED_SCROLL_MODE_PARALLEL = 3, -} Ark_NestedScrollMode; -typedef struct Opt_NestedScrollMode { - Ark_Tag tag; - Ark_NestedScrollMode value; -} Opt_NestedScrollMode; typedef enum Ark_WebCaptureMode { ARK_WEB_CAPTURE_MODE_HOME_SCREEN = 0, } Ark_WebCaptureMode; @@ -3544,14 +3562,6 @@ typedef struct Opt_WebElementType { Ark_Tag tag; Ark_WebElementType value; } Opt_WebElementType; -typedef enum Ark_RenderProcessNotRespondingReason { - ARK_RENDER_PROCESS_NOT_RESPONDING_REASON_INPUT_TIMEOUT = 0, - ARK_RENDER_PROCESS_NOT_RESPONDING_REASON_NAVIGATION_COMMIT_TIMEOUT = 1, -} Ark_RenderProcessNotRespondingReason; -typedef struct Opt_RenderProcessNotRespondingReason { - Ark_Tag tag; - Ark_RenderProcessNotRespondingReason value; -} Opt_RenderProcessNotRespondingReason; typedef enum Ark_NativeEmbedStatus { ARK_NATIVE_EMBED_STATUS_CREATE = 0, ARK_NATIVE_EMBED_STATUS_UPDATE = 1, @@ -3563,17 +3573,6 @@ typedef struct Opt_NativeEmbedStatus { Ark_Tag tag; Ark_NativeEmbedStatus value; } Opt_NativeEmbedStatus; -typedef enum Ark_WebNavigationType { - ARK_WEB_NAVIGATION_TYPE_UNKNOWN = 0, - ARK_WEB_NAVIGATION_TYPE_MAIN_FRAME_NEW_ENTRY = 1, - ARK_WEB_NAVIGATION_TYPE_MAIN_FRAME_EXISTING_ENTRY = 2, - ARK_WEB_NAVIGATION_TYPE_NAVIGATION_TYPE_NEW_SUBFRAME = 4, - ARK_WEB_NAVIGATION_TYPE_NAVIGATION_TYPE_AUTO_SUBFRAME = 5, -} Ark_WebNavigationType; -typedef struct Opt_WebNavigationType { - Ark_Tag tag; - Ark_WebNavigationType value; -} Opt_WebNavigationType; typedef enum Ark_SslError { ARK_SSL_ERROR_INVALID = 0, ARK_SSL_ERROR_HOST_MISMATCH = 1, @@ -3667,6 +3666,25 @@ typedef struct Opt_FileSelectorMode { Ark_Tag tag; Ark_FileSelectorMode value; } Opt_FileSelectorMode; +typedef enum Ark_RenderProcessNotRespondingReason { + ARK_RENDER_PROCESS_NOT_RESPONDING_REASON_INPUT_TIMEOUT = 0, + ARK_RENDER_PROCESS_NOT_RESPONDING_REASON_NAVIGATION_COMMIT_TIMEOUT = 1, +} Ark_RenderProcessNotRespondingReason; +typedef struct Opt_RenderProcessNotRespondingReason { + Ark_Tag tag; + Ark_RenderProcessNotRespondingReason value; +} Opt_RenderProcessNotRespondingReason; +typedef enum Ark_WebNavigationType { + ARK_WEB_NAVIGATION_TYPE_UNKNOWN = 0, + ARK_WEB_NAVIGATION_TYPE_MAIN_FRAME_NEW_ENTRY = 1, + ARK_WEB_NAVIGATION_TYPE_MAIN_FRAME_EXISTING_ENTRY = 2, + ARK_WEB_NAVIGATION_TYPE_NAVIGATION_TYPE_NEW_SUBFRAME = 4, + ARK_WEB_NAVIGATION_TYPE_NAVIGATION_TYPE_AUTO_SUBFRAME = 5, +} Ark_WebNavigationType; +typedef struct Opt_WebNavigationType { + Ark_Tag tag; + Ark_WebNavigationType value; +} Opt_WebNavigationType; typedef enum Ark_SeekMode { ARK_SEEK_MODE_PREVIOUS_KEYFRAME = 0, ARK_SEEK_MODE_NEXT_KEYFRAME = 1, @@ -4344,16 +4362,6 @@ typedef struct Opt_FunctionKey { Ark_Tag tag; Ark_FunctionKey value; } Opt_FunctionKey; -typedef enum Ark_DismissReason { - ARK_DISMISS_REASON_PRESS_BACK = 0, - ARK_DISMISS_REASON_TOUCH_OUTSIDE = 1, - ARK_DISMISS_REASON_CLOSE_BUTTON = 2, - ARK_DISMISS_REASON_SLIDE_DOWN = 3, -} Ark_DismissReason; -typedef struct Opt_DismissReason { - Ark_Tag tag; - Ark_DismissReason value; -} Opt_DismissReason; typedef enum Ark_BlendApplyType { ARK_BLEND_APPLY_TYPE_FAST = 0, ARK_BLEND_APPLY_TYPE_OFFSCREEN = 1, @@ -4480,6 +4488,16 @@ typedef struct Opt_TouchTestStrategy { Ark_Tag tag; Ark_TouchTestStrategy value; } Opt_TouchTestStrategy; +typedef enum Ark_DismissReason { + ARK_DISMISS_REASON_PRESS_BACK = 0, + ARK_DISMISS_REASON_TOUCH_OUTSIDE = 1, + ARK_DISMISS_REASON_CLOSE_BUTTON = 2, + ARK_DISMISS_REASON_SLIDE_DOWN = 3, +} Ark_DismissReason; +typedef struct Opt_DismissReason { + Ark_Tag tag; + Ark_DismissReason value; +} Opt_DismissReason; typedef enum Ark_KeySource { ARK_KEY_SOURCE_UNKNOWN = 0, ARK_KEY_SOURCE_KEYBOARD = 1, @@ -4701,15 +4719,6 @@ typedef struct Opt_WebKeyboardAvoidMode { Ark_Tag tag; Ark_WebKeyboardAvoidMode value; } Opt_WebKeyboardAvoidMode; -typedef enum Ark_ViewportFit { - ARK_VIEWPORT_FIT_AUTO = 0, - ARK_VIEWPORT_FIT_CONTAINS = 1, - ARK_VIEWPORT_FIT_COVER = 2, -} Ark_ViewportFit; -typedef struct Opt_ViewportFit { - Ark_Tag tag; - Ark_ViewportFit value; -} Opt_ViewportFit; typedef enum Ark_ContextMenuEditStateFlags { ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_NONE = 0, ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_CAN_CUT = 1, @@ -4739,16 +4748,6 @@ typedef struct Opt_WebLayoutMode { Ark_Tag tag; Ark_WebLayoutMode value; } Opt_WebLayoutMode; -typedef enum Ark_ThreatType { - ARK_THREAT_TYPE_THREAT_ILLEGAL = 0, - ARK_THREAT_TYPE_THREAT_FRAUD = 1, - ARK_THREAT_TYPE_THREAT_RISK = 2, - ARK_THREAT_TYPE_THREAT_WARNING = 3, -} Ark_ThreatType; -typedef struct Opt_ThreatType { - Ark_Tag tag; - Ark_ThreatType value; -} Opt_ThreatType; typedef enum Ark_WebDarkMode { ARK_WEB_DARK_MODE_OFF = 0, ARK_WEB_DARK_MODE_ON = 1, @@ -4776,6 +4775,16 @@ typedef struct Opt_CacheMode { Ark_Tag tag; Ark_CacheMode value; } Opt_CacheMode; +typedef enum Ark_ThreatType { + ARK_THREAT_TYPE_THREAT_ILLEGAL = 0, + ARK_THREAT_TYPE_THREAT_FRAUD = 1, + ARK_THREAT_TYPE_THREAT_RISK = 2, + ARK_THREAT_TYPE_THREAT_WARNING = 3, +} Ark_ThreatType; +typedef struct Opt_ThreatType { + Ark_Tag tag; + Ark_ThreatType value; +} Opt_ThreatType; typedef enum Ark_MixedMode { ARK_MIXED_MODE_ALL = 0, ARK_MIXED_MODE_COMPATIBLE = 1, @@ -4785,6 +4794,15 @@ typedef struct Opt_MixedMode { Ark_Tag tag; Ark_MixedMode value; } Opt_MixedMode; +typedef enum Ark_ViewportFit { + ARK_VIEWPORT_FIT_AUTO = 0, + ARK_VIEWPORT_FIT_CONTAINS = 1, + ARK_VIEWPORT_FIT_COVER = 2, +} Ark_ViewportFit; +typedef struct Opt_ViewportFit { + Ark_Tag tag; + Ark_ViewportFit value; +} Opt_ViewportFit; typedef enum Ark_InputType { ARK_INPUT_TYPE_NORMAL = 0, ARK_INPUT_TYPE_NUMBER = 1, @@ -5232,15 +5250,6 @@ typedef struct Opt_ImageRenderMode { Ark_Tag tag; Ark_ImageRenderMode value; } Opt_ImageRenderMode; -typedef enum Ark_ScrollState { - ARK_SCROLL_STATE_IDLE = 0, - ARK_SCROLL_STATE_SCROLL = 1, - ARK_SCROLL_STATE_FLING = 2, -} Ark_ScrollState; -typedef struct Opt_ScrollState { - Ark_Tag tag; - Ark_ScrollState value; -} Opt_ScrollState; typedef enum Ark_GridDirection { ARK_GRID_DIRECTION_ROW = 0, ARK_GRID_DIRECTION_COLUMN = 1, @@ -5366,6 +5375,15 @@ typedef struct Opt_EmbeddedType { Ark_Tag tag; Ark_EmbeddedType value; } Opt_EmbeddedType; +typedef enum Ark_ScrollState { + ARK_SCROLL_STATE_IDLE = 0, + ARK_SCROLL_STATE_SCROLL = 1, + ARK_SCROLL_STATE_FLING = 2, +} Ark_ScrollState; +typedef struct Opt_ScrollState { + Ark_Tag tag; + Ark_ScrollState value; +} Opt_ScrollState; typedef enum Ark_LineJoinStyle { ARK_LINE_JOIN_STYLE_MITER = 0, ARK_LINE_JOIN_STYLE_ROUND = 1, @@ -5393,14 +5411,6 @@ typedef struct Opt_ModifierKey { Ark_Tag tag; Ark_ModifierKey value; } Opt_ModifierKey; -typedef enum Ark_GestureJudgeResult { - ARK_GESTURE_JUDGE_RESULT_CONTINUE = 0, - ARK_GESTURE_JUDGE_RESULT_REJECT = 1, -} Ark_GestureJudgeResult; -typedef struct Opt_GestureJudgeResult { - Ark_Tag tag; - Ark_GestureJudgeResult value; -} Opt_GestureJudgeResult; typedef enum Ark_RenderFit { ARK_RENDER_FIT_CENTER = 0, ARK_RENDER_FIT_TOP = 1, @@ -5468,6 +5478,14 @@ typedef struct Opt_HitTestMode { Ark_Tag tag; Ark_HitTestMode value; } Opt_HitTestMode; +typedef enum Ark_GestureJudgeResult { + ARK_GESTURE_JUDGE_RESULT_CONTINUE = 0, + ARK_GESTURE_JUDGE_RESULT_REJECT = 1, +} Ark_GestureJudgeResult; +typedef struct Opt_GestureJudgeResult { + Ark_Tag tag; + Ark_GestureJudgeResult value; +} Opt_GestureJudgeResult; typedef enum Ark_LayoutSafeAreaEdge { ARK_LAYOUT_SAFE_AREA_EDGE_TOP = 0, ARK_LAYOUT_SAFE_AREA_EDGE_BOTTOM = 1, @@ -6371,33 +6389,6 @@ typedef struct Opt_VoidCallback { Ark_Tag tag; VoidCallback value; } Opt_VoidCallback; -typedef struct Map_String_CustomObject { - Ark_Int32 size; - Ark_String* keys; - Ark_CustomObject* values; -} Map_String_CustomObject; -typedef struct Opt_Map_String_CustomObject { - Ark_Tag tag; - Map_String_CustomObject value; -} Opt_Map_String_CustomObject; -typedef struct Callback_NavigationTransitionProxy_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_NavigationTransitionProxy transitionProxy); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_NavigationTransitionProxy transitionProxy); -} Callback_NavigationTransitionProxy_Void; -typedef struct Opt_Callback_NavigationTransitionProxy_Void { - Ark_Tag tag; - Callback_NavigationTransitionProxy_Void value; -} Opt_Callback_NavigationTransitionProxy_Void; -typedef struct Callback_Boolean_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Boolean parameter); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean parameter); -} Callback_Boolean_Void; -typedef struct Opt_Callback_Boolean_Void { - Ark_Tag tag; - Callback_Boolean_Void value; -} Opt_Callback_Boolean_Void; typedef struct Opt_ColorMetrics { Ark_Tag tag; Ark_ColorMetrics value; @@ -6424,6 +6415,15 @@ typedef struct Opt_StyledStringValue { Ark_Tag tag; Ark_StyledStringValue value; } Opt_StyledStringValue; +typedef struct Map_String_CustomObject { + Ark_Int32 size; + Ark_String* keys; + Ark_CustomObject* values; +} Map_String_CustomObject; +typedef struct Opt_Map_String_CustomObject { + Ark_Tag tag; + Map_String_CustomObject value; +} Opt_Map_String_CustomObject; typedef struct Ark_Union_Margin_Dimension { Ark_Int32 selector; union { @@ -6468,6 +6468,14 @@ typedef struct Opt_Array_ImageAnalyzerType { Ark_Tag tag; Array_ImageAnalyzerType value; } Opt_Array_ImageAnalyzerType; +typedef struct Opt_WebviewController { + Ark_Tag tag; + Ark_WebviewController value; +} Opt_WebviewController; +typedef struct Opt_WebController { + Ark_Tag tag; + Ark_WebController value; +} Opt_WebController; typedef struct Array_TouchObject { Ark_TouchObject* array; Ark_Int32 length; @@ -6496,14 +6504,6 @@ typedef struct Opt_WebResourceRequest { Ark_Tag tag; Ark_WebResourceRequest value; } Opt_WebResourceRequest; -typedef struct Opt_WebviewController { - Ark_Tag tag; - Ark_WebviewController value; -} Opt_WebviewController; -typedef struct Opt_WebController { - Ark_Tag tag; - Ark_WebController value; -} Opt_WebController; typedef struct Array_Header { Ark_Header* array; Ark_Int32 length; @@ -6941,6 +6941,24 @@ typedef struct Opt_Union_String_Number_Resource { Ark_Tag tag; Ark_Union_String_Number_Resource value; } Opt_Union_String_Number_Resource; +typedef struct Callback_NavigationTransitionProxy_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_NavigationTransitionProxy transitionProxy); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_NavigationTransitionProxy transitionProxy); +} Callback_NavigationTransitionProxy_Void; +typedef struct Opt_Callback_NavigationTransitionProxy_Void { + Ark_Tag tag; + Callback_NavigationTransitionProxy_Void value; +} Opt_Callback_NavigationTransitionProxy_Void; +typedef struct Callback_Boolean_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Boolean parameter); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean parameter); +} Callback_Boolean_Void; +typedef struct Opt_Callback_Boolean_Void { + Ark_Tag tag; + Callback_Boolean_Void value; +} Opt_Callback_Boolean_Void; typedef struct Opt_NavPathStack { Ark_Tag tag; Ark_NavPathStack value; @@ -7667,50 +7685,10 @@ typedef struct Opt_Float32 { Ark_Tag tag; Ark_Float32 value; } Opt_Float32; -typedef struct Ark_CustomTheme { - Ark_String _CustomThemeStub; -} Ark_CustomTheme; -typedef struct Opt_CustomTheme { - Ark_Tag tag; - Ark_CustomTheme value; -} Opt_CustomTheme; -typedef struct Ark_RestrictedWorker { - Ark_String _RestrictedWorkerStub; -} Ark_RestrictedWorker; -typedef struct Opt_RestrictedWorker { - Ark_Tag tag; - Ark_RestrictedWorker value; -} Opt_RestrictedWorker; -typedef struct Ark_Want { - Opt_String bundleName; - Opt_String abilityName; - Opt_String deviceId; - Opt_String uri; - Opt_String type; - Opt_Number flags; - Opt_String action; - Opt_Map_String_CustomObject parameters; - Opt_Array_String entities; - Opt_String moduleName; -} Ark_Want; -typedef struct Opt_Want { - Ark_Tag tag; - Ark_Want value; -} Opt_Want; typedef struct Opt_StyledString { Ark_Tag tag; Ark_StyledString value; } Opt_StyledString; -typedef struct Ark_NavigationAnimatedTransition { - Opt_Callback_Boolean_Void onTransitionEnd; - Opt_Number timeout; - Opt_Boolean isInteractive; - Callback_NavigationTransitionProxy_Void transition; -} Ark_NavigationAnimatedTransition; -typedef struct Opt_NavigationAnimatedTransition { - Ark_Tag tag; - Ark_NavigationAnimatedTransition value; -} Opt_NavigationAnimatedTransition; typedef struct Profiler_Callback_String_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_String info); @@ -7801,19 +7779,42 @@ typedef struct Opt_Union_LengthMetrics_LeadingMarginPlaceholder { Ark_Tag tag; Ark_Union_LengthMetrics_LeadingMarginPlaceholder value; } Opt_Union_LengthMetrics_LeadingMarginPlaceholder; -typedef struct Map_String_ComponentContent { - Ark_Int32 size; - Ark_String* keys; - Ark_ComponentContent* values; -} Map_String_ComponentContent; -typedef struct Opt_Map_String_ComponentContent { +typedef struct Ark_RestrictedWorker { + Ark_String _RestrictedWorkerStub; +} Ark_RestrictedWorker; +typedef struct Opt_RestrictedWorker { Ark_Tag tag; - Map_String_ComponentContent value; -} Opt_Map_String_ComponentContent; -typedef struct Callback_UIExtensionProxy_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter); + Ark_RestrictedWorker value; +} Opt_RestrictedWorker; +typedef struct Ark_Want { + Opt_String bundleName; + Opt_String abilityName; + Opt_String deviceId; + Opt_String uri; + Opt_String type; + Opt_Number flags; + Opt_String action; + Opt_Map_String_CustomObject parameters; + Opt_Array_String entities; + Opt_String moduleName; +} Ark_Want; +typedef struct Opt_Want { + Ark_Tag tag; + Ark_Want value; +} Opt_Want; +typedef struct Map_String_ComponentContent { + Ark_Int32 size; + Ark_String* keys; + Ark_ComponentContent* values; +} Map_String_ComponentContent; +typedef struct Opt_Map_String_ComponentContent { + Ark_Tag tag; + Map_String_ComponentContent value; +} Opt_Map_String_ComponentContent; +typedef struct Callback_UIExtensionProxy_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_UIExtensionProxy parameter); } Callback_UIExtensionProxy_Void; typedef struct Opt_Callback_UIExtensionProxy_Void { Ark_Tag tag; @@ -7944,10 +7945,6 @@ typedef struct Opt_SelectionMenuOptionsExt { Ark_Tag tag; Ark_SelectionMenuOptionsExt value; } Opt_SelectionMenuOptionsExt; -typedef struct Opt_WebKeyboardController { - Ark_Tag tag; - Ark_WebKeyboardController value; -} Opt_WebKeyboardController; typedef struct Callback_Literal_String_plainText_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Literal_String_plainText selectedText); @@ -7957,6 +7954,35 @@ typedef struct Opt_Callback_Literal_String_plainText_Void { Ark_Tag tag; Callback_Literal_String_plainText_Void value; } Opt_Callback_Literal_String_plainText_Void; +typedef struct Ark_NestedScrollOptionsExt { + Opt_NestedScrollMode scrollUp; + Opt_NestedScrollMode scrollDown; + Opt_NestedScrollMode scrollRight; + Opt_NestedScrollMode scrollLeft; +} Ark_NestedScrollOptionsExt; +typedef struct Opt_NestedScrollOptionsExt { + Ark_Tag tag; + Ark_NestedScrollOptionsExt value; +} Opt_NestedScrollOptionsExt; +typedef struct Ark_NestedScrollOptions { + Ark_NestedScrollMode scrollForward; + Ark_NestedScrollMode scrollBackward; +} Ark_NestedScrollOptions; +typedef struct Opt_NestedScrollOptions { + Ark_Tag tag; + Ark_NestedScrollOptions value; +} Opt_NestedScrollOptions; +typedef struct Ark_Union_WebController_WebviewController { + Ark_Int32 selector; + union { + Ark_WebController value0; + Ark_WebviewController value1; + }; +} Ark_Union_WebController_WebviewController; +typedef struct Opt_Union_WebController_WebviewController { + Ark_Tag tag; + Ark_Union_WebController_WebviewController value; +} Opt_Union_WebController_WebviewController; typedef struct Opt_EventResult { Ark_Tag tag; Ark_EventResult value; @@ -7980,24 +8006,6 @@ typedef struct Opt_NativeEmbedInfo { Ark_Tag tag; Ark_NativeEmbedInfo value; } Opt_NativeEmbedInfo; -typedef struct Ark_NestedScrollOptionsExt { - Opt_NestedScrollMode scrollUp; - Opt_NestedScrollMode scrollDown; - Opt_NestedScrollMode scrollRight; - Opt_NestedScrollMode scrollLeft; -} Ark_NestedScrollOptionsExt; -typedef struct Opt_NestedScrollOptionsExt { - Ark_Tag tag; - Ark_NestedScrollOptionsExt value; -} Opt_NestedScrollOptionsExt; -typedef struct Ark_NestedScrollOptions { - Ark_NestedScrollMode scrollForward; - Ark_NestedScrollMode scrollBackward; -} Ark_NestedScrollOptions; -typedef struct Opt_NestedScrollOptions { - Ark_Tag tag; - Ark_NestedScrollOptions value; -} Opt_NestedScrollOptions; typedef struct Opt_DataResubmissionHandler { Ark_Tag tag; Ark_DataResubmissionHandler value; @@ -8010,10 +8018,6 @@ typedef struct Opt_ClientAuthenticationHandler { Ark_Tag tag; Ark_ClientAuthenticationHandler value; } Opt_ClientAuthenticationHandler; -typedef struct Opt_SslErrorHandler { - Ark_Tag tag; - Ark_SslErrorHandler value; -} Opt_SslErrorHandler; typedef struct Array_Buffer { Ark_Buffer* array; Ark_Int32 length; @@ -8022,6 +8026,10 @@ typedef struct Opt_Array_Buffer { Ark_Tag tag; Array_Buffer value; } Opt_Array_Buffer; +typedef struct Opt_SslErrorHandler { + Ark_Tag tag; + Ark_SslErrorHandler value; +} Opt_SslErrorHandler; typedef struct Opt_WebContextMenuResult { Ark_Tag tag; Ark_WebContextMenuResult value; @@ -8042,10 +8050,6 @@ typedef struct Opt_HttpAuthHandler { Ark_Tag tag; Ark_HttpAuthHandler value; } Opt_HttpAuthHandler; -typedef struct Opt_FullScreenExitHandler { - Ark_Tag tag; - Ark_FullScreenExitHandler value; -} Opt_FullScreenExitHandler; typedef struct Opt_Function { Ark_Tag tag; Ark_Function value; @@ -8089,17 +8093,6 @@ typedef struct Opt_JsGeolocation { Ark_Tag tag; Ark_JsGeolocation value; } Opt_JsGeolocation; -typedef struct Ark_Union_WebController_WebviewController { - Ark_Int32 selector; - union { - Ark_WebController value0; - Ark_WebviewController value1; - }; -} Ark_Union_WebController_WebviewController; -typedef struct Opt_Union_WebController_WebviewController { - Ark_Tag tag; - Ark_Union_WebController_WebviewController value; -} Opt_Union_WebController_WebviewController; typedef struct Opt_WebCookie { Ark_Tag tag; Ark_WebCookie value; @@ -8147,6 +8140,14 @@ typedef struct Opt_ScreenCaptureConfig { Ark_Tag tag; Ark_ScreenCaptureConfig value; } Opt_ScreenCaptureConfig; +typedef struct Opt_FullScreenExitHandler { + Ark_Tag tag; + Ark_FullScreenExitHandler value; +} Opt_FullScreenExitHandler; +typedef struct Opt_WebKeyboardController { + Ark_Tag tag; + Ark_WebKeyboardController value; +} Opt_WebKeyboardController; typedef struct Opt_VideoController { Ark_Tag tag; Ark_VideoController value; @@ -8163,6 +8164,13 @@ typedef struct Opt_Union_Number_String_PlaybackSpeed { Ark_Tag tag; Ark_Union_Number_String_PlaybackSpeed value; } Opt_Union_Number_String_PlaybackSpeed; +typedef struct Ark_CustomTheme { + Ark_String _CustomThemeStub; +} Ark_CustomTheme; +typedef struct Opt_CustomTheme { + Ark_Tag tag; + Ark_CustomTheme value; +} Opt_CustomTheme; typedef struct Ark_TimePickerDialogOptions { Opt_Date selected; Opt_TimePickerFormat format; @@ -8480,9 +8488,6 @@ typedef struct Opt_SymbolGlyphAttribute { Ark_Tag tag; Ark_SymbolGlyphAttribute value; } Opt_SymbolGlyphAttribute; -typedef struct Ark_SymbolEffect { - void *handle; -} Ark_SymbolEffect; typedef struct Opt_SymbolEffect { Ark_Tag tag; Ark_SymbolEffect value; @@ -8769,6 +8774,14 @@ typedef struct Opt_PlaceholderStyle { Ark_Tag tag; Ark_PlaceholderStyle value; } Opt_PlaceholderStyle; +typedef struct Array_TextDataDetectorType { + Ark_TextDataDetectorType* array; + Ark_Int32 length; +} Array_TextDataDetectorType; +typedef struct Opt_Array_TextDataDetectorType { + Ark_Tag tag; + Array_TextDataDetectorType value; +} Opt_Array_TextDataDetectorType; typedef struct Array_RichEditorTextSpanResult { Ark_RichEditorTextSpanResult* array; Ark_Int32 length; @@ -8785,14 +8798,6 @@ typedef struct Opt_Array_RichEditorImageSpanResult { Ark_Tag tag; Array_RichEditorImageSpanResult value; } Opt_Array_RichEditorImageSpanResult; -typedef struct Array_TextDataDetectorType { - Ark_TextDataDetectorType* array; - Ark_Int32 length; -} Array_TextDataDetectorType; -typedef struct Opt_Array_TextDataDetectorType { - Ark_Tag tag; - Array_TextDataDetectorType value; -} Opt_Array_TextDataDetectorType; typedef struct Ark_RichEditorImageSpanResult { Ark_RichEditorSpanPosition spanPosition; Opt_PixelMap valuePixelMap; @@ -9018,6 +9023,16 @@ typedef struct Opt_NavContentInfo { Ark_Tag tag; Ark_NavContentInfo value; } Opt_NavContentInfo; +typedef struct Ark_NavigationAnimatedTransition { + Opt_Callback_Boolean_Void onTransitionEnd; + Opt_Number timeout; + Opt_Boolean isInteractive; + Callback_NavigationTransitionProxy_Void transition; +} Ark_NavigationAnimatedTransition; +typedef struct Opt_NavigationAnimatedTransition { + Ark_Tag tag; + Ark_NavigationAnimatedTransition value; +} Opt_NavigationAnimatedTransition; typedef struct Opt_NavDestinationContext { Ark_Tag tag; Ark_NavDestinationContext value; @@ -9159,9 +9174,6 @@ typedef struct Opt_ASTCResource { Ark_Tag tag; Ark_ASTCResource value; } Opt_ASTCResource; -typedef struct Ark_DrawableDescriptor { - Ark_String _DrawableDescriptorStub; -} Ark_DrawableDescriptor; typedef struct Opt_DrawableDescriptor { Ark_Tag tag; Ark_DrawableDescriptor value; @@ -10471,8 +10483,8 @@ typedef struct Opt_ClickEvent { } Opt_ClickEvent; typedef struct NavExtender_OnUpdateStack { Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId); + void (*call)(const Ark_Int32 resourceId, const Ark_String name); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_String name); } NavExtender_OnUpdateStack; typedef struct Opt_NavExtender_OnUpdateStack { Ark_Tag tag; @@ -10590,92 +10602,6 @@ typedef struct Opt_DoubleAnimationParam { Ark_Tag tag; Ark_DoubleAnimationParam value; } Opt_DoubleAnimationParam; -typedef struct Ark_WithThemeOptions { - Opt_CustomTheme theme; - Opt_ThemeColorMode colorMode; -} Ark_WithThemeOptions; -typedef struct Opt_WithThemeOptions { - Ark_Tag tag; - Ark_WithThemeOptions value; -} Opt_WithThemeOptions; -typedef struct WithThemeInterface { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_WithThemeOptions options, const Callback_WithThemeAttribute_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_WithThemeOptions options, const Callback_WithThemeAttribute_Void continuation); -} WithThemeInterface; -typedef struct Opt_WithThemeInterface { - Ark_Tag tag; - WithThemeInterface value; -} Opt_WithThemeInterface; -typedef struct Type_NavigationAttribute_customNavContentTransition_delegate { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_NavContentInfo from, const Ark_NavContentInfo to, Ark_NavigationOperation operation, const Callback_Opt_NavigationAnimatedTransition_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_NavContentInfo from, const Ark_NavContentInfo to, Ark_NavigationOperation operation, const Callback_Opt_NavigationAnimatedTransition_Void continuation); -} Type_NavigationAttribute_customNavContentTransition_delegate; -typedef struct Opt_Type_NavigationAttribute_customNavContentTransition_delegate { - Ark_Tag tag; - Type_NavigationAttribute_customNavContentTransition_delegate value; -} Opt_Type_NavigationAttribute_customNavContentTransition_delegate; -typedef struct SliderTriggerChangeCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number value, Ark_SliderChangeMode mode); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number value, Ark_SliderChangeMode mode); -} SliderTriggerChangeCallback; -typedef struct Opt_SliderTriggerChangeCallback { - Ark_Tag tag; - SliderTriggerChangeCallback value; -} Opt_SliderTriggerChangeCallback; -typedef struct PageTransitionCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, Ark_RouteType type, const Ark_Number progress); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_RouteType type, const Ark_Number progress); -} PageTransitionCallback; -typedef struct Opt_PageTransitionCallback { - Ark_Tag tag; - PageTransitionCallback value; -} Opt_PageTransitionCallback; -typedef struct OnScrollCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState); -} OnScrollCallback; -typedef struct Opt_OnScrollCallback { - Ark_Tag tag; - OnScrollCallback value; -} Opt_OnScrollCallback; -typedef struct OnMoveHandler { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to); -} OnMoveHandler; -typedef struct Opt_OnMoveHandler { - Ark_Tag tag; - OnMoveHandler value; -} Opt_OnMoveHandler; -typedef struct Ark_IsolatedOptions { - Ark_Want want; - Ark_RestrictedWorker worker; -} Ark_IsolatedOptions; -typedef struct Opt_IsolatedOptions { - Ark_Tag tag; - Ark_IsolatedOptions value; -} Opt_IsolatedOptions; -typedef struct IsolatedComponentInterface { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_IsolatedOptions options, const Callback_IsolatedComponentAttribute_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_IsolatedOptions options, const Callback_IsolatedComponentAttribute_Void continuation); -} IsolatedComponentInterface; -typedef struct Opt_IsolatedComponentInterface { - Ark_Tag tag; - IsolatedComponentInterface value; -} Opt_IsolatedComponentInterface; -typedef struct Ark_WithThemeAttribute { - void *handle; -} Ark_WithThemeAttribute; -typedef struct Opt_WithThemeAttribute { - Ark_Tag tag; - Ark_WithThemeAttribute value; -} Opt_WithThemeAttribute; typedef struct Callback_WithThemeAttribute_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_WithThemeAttribute value); @@ -10739,15 +10665,6 @@ typedef struct Opt_Callback_TouchResult_Void { Ark_Tag tag; Callback_TouchResult_Void value; } Opt_Callback_TouchResult_Void; -typedef struct Callback_String_Unknown_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_String name, const Ark_CustomObject param); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_String name, const Ark_CustomObject param); -} Callback_String_Unknown_Void; -typedef struct Opt_Callback_String_Unknown_Void { - Ark_Tag tag; - Callback_String_Unknown_Void value; -} Opt_Callback_String_Unknown_Void; typedef struct Callback_Pointer_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_NativePointer value); @@ -10811,40 +10728,15 @@ typedef struct Opt_Callback_OffsetResult_Void { Ark_Tag tag; Callback_OffsetResult_Void value; } Opt_Callback_OffsetResult_Void; -typedef struct Callback_NavigationTitleMode_Void { +typedef struct Callback_Literal_Number_offsetRemain_Void { Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode); -} Callback_NavigationTitleMode_Void; -typedef struct Opt_Callback_NavigationTitleMode_Void { - Ark_Tag tag; - Callback_NavigationTitleMode_Void value; -} Opt_Callback_NavigationTitleMode_Void; -typedef struct Callback_NavigationMode_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, Ark_NavigationMode mode); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_NavigationMode mode); -} Callback_NavigationMode_Void; -typedef struct Opt_Callback_NavigationMode_Void { - Ark_Tag tag; - Callback_NavigationMode_Void value; -} Opt_Callback_NavigationMode_Void; -typedef struct Callback_Literal_Number_offsetRemain_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Literal_Number_offsetRemain value); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Literal_Number_offsetRemain value); -} Callback_Literal_Number_offsetRemain_Void; -typedef struct Opt_Callback_Literal_Number_offsetRemain_Void { + void (*call)(const Ark_Int32 resourceId, const Ark_Literal_Number_offsetRemain value); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Literal_Number_offsetRemain value); +} Callback_Literal_Number_offsetRemain_Void; +typedef struct Opt_Callback_Literal_Number_offsetRemain_Void { Ark_Tag tag; Callback_Literal_Number_offsetRemain_Void value; } Opt_Callback_Literal_Number_offsetRemain_Void; -typedef struct Ark_IsolatedComponentAttribute { - void *handle; -} Ark_IsolatedComponentAttribute; -typedef struct Opt_IsolatedComponentAttribute { - Ark_Tag tag; - Ark_IsolatedComponentAttribute value; -} Opt_IsolatedComponentAttribute; typedef struct Callback_IsolatedComponentAttribute_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_IsolatedComponentAttribute value); @@ -10908,15 +10800,6 @@ typedef struct Opt_Callback_Array_String_Void { Ark_Tag tag; Callback_Array_String_Void value; } Opt_Callback_Array_String_Void; -typedef struct ButtonTriggerClickCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number xPos, const Ark_Number yPos); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number xPos, const Ark_Number yPos); -} ButtonTriggerClickCallback; -typedef struct Opt_ButtonTriggerClickCallback { - Ark_Tag tag; - ButtonTriggerClickCallback value; -} Opt_ButtonTriggerClickCallback; typedef struct Opt_LinearIndicatorController { Ark_Tag tag; Ark_LinearIndicatorController value; @@ -11001,6 +10884,37 @@ typedef struct Opt_Array_SpanStyle { Ark_Tag tag; Array_SpanStyle value; } Opt_Array_SpanStyle; +typedef struct Ark_IsolatedComponentAttribute { + void *handle; +} Ark_IsolatedComponentAttribute; +typedef struct Opt_IsolatedComponentAttribute { + Ark_Tag tag; + Ark_IsolatedComponentAttribute value; +} Opt_IsolatedComponentAttribute; +typedef struct Ark_IsolatedOptions { + Ark_Want want; + Ark_RestrictedWorker worker; +} Ark_IsolatedOptions; +typedef struct Opt_IsolatedOptions { + Ark_Tag tag; + Ark_IsolatedOptions value; +} Opt_IsolatedOptions; +typedef struct IsolatedComponentInterface { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_IsolatedOptions options, const Callback_IsolatedComponentAttribute_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_IsolatedOptions options, const Callback_IsolatedComponentAttribute_Void continuation); +} IsolatedComponentInterface; +typedef struct Opt_IsolatedComponentInterface { + Ark_Tag tag; + IsolatedComponentInterface value; +} Opt_IsolatedComponentInterface; +typedef struct Ark_ReceiveCallback { + Ark_String _ReceiveCallbackStub; +} Ark_ReceiveCallback; +typedef struct Opt_ReceiveCallback { + Ark_Tag tag; + Ark_ReceiveCallback value; +} Opt_ReceiveCallback; typedef struct Ark_Literal_Number_code_Want_want { Ark_Number code; Opt_Want want; @@ -11018,13 +10932,6 @@ typedef struct Opt_Callback_Literal_Number_code_Want_want_Void { Ark_Tag tag; Callback_Literal_Number_code_Want_want_Void value; } Opt_Callback_Literal_Number_code_Want_want_Void; -typedef struct Ark_ReceiveCallback { - Ark_String _ReceiveCallbackStub; -} Ark_ReceiveCallback; -typedef struct Opt_ReceiveCallback { - Ark_Tag tag; - Ark_ReceiveCallback value; -} Opt_ReceiveCallback; typedef struct Ark_UIExtensionOptions { Opt_Boolean isTransferringCaller; Opt_ComponentContent placeholder; @@ -11106,58 +11013,6 @@ typedef struct Opt_Type_XComponentInterface_value { Ark_Tag tag; Ark_Type_XComponentInterface_value value; } Opt_Type_XComponentInterface_value; -typedef struct Ark_AdsBlockedDetails { - Ark_String url; - Array_String adsBlocked; -} Ark_AdsBlockedDetails; -typedef struct Opt_AdsBlockedDetails { - Ark_Tag tag; - Ark_AdsBlockedDetails value; -} Opt_AdsBlockedDetails; -typedef struct OnAdsBlockedCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_AdsBlockedDetails details); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_AdsBlockedDetails details); -} OnAdsBlockedCallback; -typedef struct Opt_OnAdsBlockedCallback { - Ark_Tag tag; - OnAdsBlockedCallback value; -} Opt_OnAdsBlockedCallback; -typedef struct Ark_WebKeyboardOptions { - Ark_Boolean useSystemKeyboard; - Opt_Number enterKeyType; - Opt_CustomNodeBuilder customKeyboard; -} Ark_WebKeyboardOptions; -typedef struct Opt_WebKeyboardOptions { - Ark_Tag tag; - Ark_WebKeyboardOptions value; -} Opt_WebKeyboardOptions; -typedef struct Ark_WebKeyboardCallbackInfo { - Ark_WebKeyboardController controller; - Map_String_String attributes; -} Ark_WebKeyboardCallbackInfo; -typedef struct Opt_WebKeyboardCallbackInfo { - Ark_Tag tag; - Ark_WebKeyboardCallbackInfo value; -} Opt_WebKeyboardCallbackInfo; -typedef struct WebKeyboardCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_WebKeyboardCallbackInfo keyboardCallbackInfo, const Callback_WebKeyboardOptions_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_WebKeyboardCallbackInfo keyboardCallbackInfo, const Callback_WebKeyboardOptions_Void continuation); -} WebKeyboardCallback; -typedef struct Opt_WebKeyboardCallback { - Ark_Tag tag; - WebKeyboardCallback value; -} Opt_WebKeyboardCallback; -typedef struct OnViewportFitChangedCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, Ark_ViewportFit viewportFit); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_ViewportFit viewportFit); -} OnViewportFitChangedCallback; -typedef struct Opt_OnViewportFitChangedCallback { - Ark_Tag tag; - OnViewportFitChangedCallback value; -} Opt_OnViewportFitChangedCallback; typedef struct Ark_Literal_String_plainText { Ark_String plainText; } Ark_Literal_String_plainText; @@ -11182,33 +11037,6 @@ typedef struct Opt_Array_ExpandedMenuItemOptions { Ark_Tag tag; Array_ExpandedMenuItemOptions value; } Opt_Array_ExpandedMenuItemOptions; -typedef struct OnRenderProcessRespondingCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId); -} OnRenderProcessRespondingCallback; -typedef struct Opt_OnRenderProcessRespondingCallback { - Ark_Tag tag; - OnRenderProcessRespondingCallback value; -} Opt_OnRenderProcessRespondingCallback; -typedef struct Ark_RenderProcessNotRespondingData { - Ark_String jsStack; - Ark_Number pid; - Ark_RenderProcessNotRespondingReason reason; -} Ark_RenderProcessNotRespondingData; -typedef struct Opt_RenderProcessNotRespondingData { - Ark_Tag tag; - Ark_RenderProcessNotRespondingData value; -} Opt_RenderProcessNotRespondingData; -typedef struct OnRenderProcessNotRespondingCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_RenderProcessNotRespondingData data); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_RenderProcessNotRespondingData data); -} OnRenderProcessNotRespondingCallback; -typedef struct Opt_OnRenderProcessNotRespondingCallback { - Ark_Tag tag; - OnRenderProcessNotRespondingCallback value; -} Opt_OnRenderProcessNotRespondingCallback; typedef struct Ark_NativeMediaPlayerConfig { Ark_Boolean enable; Ark_Boolean shouldOverlay; @@ -11217,15 +11045,53 @@ typedef struct Opt_NativeMediaPlayerConfig { Ark_Tag tag; Ark_NativeMediaPlayerConfig value; } Opt_NativeMediaPlayerConfig; -typedef struct OnOverrideUrlLoadingCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_WebResourceRequest webResourceRequest, const Callback_Boolean_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_WebResourceRequest webResourceRequest, const Callback_Boolean_Void continuation); -} OnOverrideUrlLoadingCallback; -typedef struct Opt_OnOverrideUrlLoadingCallback { +typedef struct Ark_Union_NestedScrollOptions_NestedScrollOptionsExt { + Ark_Int32 selector; + union { + Ark_NestedScrollOptions value0; + Ark_NestedScrollOptionsExt value1; + }; +} Ark_Union_NestedScrollOptions_NestedScrollOptionsExt; +typedef struct Opt_Union_NestedScrollOptions_NestedScrollOptionsExt { Ark_Tag tag; - OnOverrideUrlLoadingCallback value; -} Opt_OnOverrideUrlLoadingCallback; + Ark_Union_NestedScrollOptions_NestedScrollOptionsExt value; +} Opt_Union_NestedScrollOptions_NestedScrollOptionsExt; +typedef struct Array_ScriptItem { + Ark_ScriptItem* array; + Ark_Int32 length; +} Array_ScriptItem; +typedef struct Opt_Array_ScriptItem { + Ark_Tag tag; + Array_ScriptItem value; +} Opt_Array_ScriptItem; +typedef struct Ark_ScriptItem { + Ark_String script; + Array_String scriptRules; +} Ark_ScriptItem; +typedef struct Opt_ScriptItem { + Ark_Tag tag; + Ark_ScriptItem value; +} Opt_ScriptItem; +typedef struct Ark_WebMediaOptions { + Opt_Number resumeInterval; + Opt_Boolean audioExclusive; +} Ark_WebMediaOptions; +typedef struct Opt_WebMediaOptions { + Ark_Tag tag; + Ark_WebMediaOptions value; +} Opt_WebMediaOptions; +typedef struct Ark_JavaScriptProxy { + Ark_CustomObject object_; + Ark_String name; + Array_String methodList; + Ark_Union_WebController_WebviewController controller; + Opt_Array_String asyncMethodList; + Opt_String permission; +} Ark_JavaScriptProxy; +typedef struct Opt_JavaScriptProxy { + Ark_Tag tag; + Ark_JavaScriptProxy value; +} Opt_JavaScriptProxy; typedef struct Ark_NativeEmbedTouchInfo { Opt_String embedId; Opt_TouchEvent touchEvent; @@ -11244,23 +11110,6 @@ typedef struct Opt_Callback_NativeEmbedTouchInfo_Void { Ark_Tag tag; Callback_NativeEmbedTouchInfo_Void value; } Opt_Callback_NativeEmbedTouchInfo_Void; -typedef struct Ark_NativeEmbedVisibilityInfo { - Ark_Boolean visibility; - Ark_String embedId; -} Ark_NativeEmbedVisibilityInfo; -typedef struct Opt_NativeEmbedVisibilityInfo { - Ark_Tag tag; - Ark_NativeEmbedVisibilityInfo value; -} Opt_NativeEmbedVisibilityInfo; -typedef struct OnNativeEmbedVisibilityChangeCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo); -} OnNativeEmbedVisibilityChangeCallback; -typedef struct Opt_OnNativeEmbedVisibilityChangeCallback { - Ark_Tag tag; - OnNativeEmbedVisibilityChangeCallback value; -} Opt_OnNativeEmbedVisibilityChangeCallback; typedef struct Ark_NativeEmbedDataInfo { Opt_NativeEmbedStatus status; Opt_String surfaceId; @@ -11280,79 +11129,6 @@ typedef struct Opt_Callback_NativeEmbedDataInfo_Void { Ark_Tag tag; Callback_NativeEmbedDataInfo_Void value; } Opt_Callback_NativeEmbedDataInfo_Void; -typedef struct Ark_Union_NestedScrollOptions_NestedScrollOptionsExt { - Ark_Int32 selector; - union { - Ark_NestedScrollOptions value0; - Ark_NestedScrollOptionsExt value1; - }; -} Ark_Union_NestedScrollOptions_NestedScrollOptionsExt; -typedef struct Opt_Union_NestedScrollOptions_NestedScrollOptionsExt { - Ark_Tag tag; - Ark_Union_NestedScrollOptions_NestedScrollOptionsExt value; -} Opt_Union_NestedScrollOptions_NestedScrollOptionsExt; -typedef struct Array_ScriptItem { - Ark_ScriptItem* array; - Ark_Int32 length; -} Array_ScriptItem; -typedef struct Opt_Array_ScriptItem { - Ark_Tag tag; - Array_ScriptItem value; -} Opt_Array_ScriptItem; -typedef struct Ark_ScriptItem { - Ark_String script; - Array_String scriptRules; -} Ark_ScriptItem; -typedef struct Opt_ScriptItem { - Ark_Tag tag; - Ark_ScriptItem value; -} Opt_ScriptItem; -typedef struct Ark_IntelligentTrackingPreventionDetails { - Ark_String host; - Ark_String trackerHost; -} Ark_IntelligentTrackingPreventionDetails; -typedef struct Opt_IntelligentTrackingPreventionDetails { - Ark_Tag tag; - Ark_IntelligentTrackingPreventionDetails value; -} Opt_IntelligentTrackingPreventionDetails; -typedef struct OnIntelligentTrackingPreventionCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_IntelligentTrackingPreventionDetails details); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_IntelligentTrackingPreventionDetails details); -} OnIntelligentTrackingPreventionCallback; -typedef struct Opt_OnIntelligentTrackingPreventionCallback { - Ark_Tag tag; - OnIntelligentTrackingPreventionCallback value; -} Opt_OnIntelligentTrackingPreventionCallback; -typedef struct Ark_LoadCommittedDetails { - Ark_Boolean isMainFrame; - Ark_Boolean isSameDocument; - Ark_Boolean didReplaceEntry; - Ark_WebNavigationType navigationType; - Ark_String url; -} Ark_LoadCommittedDetails; -typedef struct Opt_LoadCommittedDetails { - Ark_Tag tag; - Ark_LoadCommittedDetails value; -} Opt_LoadCommittedDetails; -typedef struct OnNavigationEntryCommittedCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_LoadCommittedDetails loadCommittedDetails); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_LoadCommittedDetails loadCommittedDetails); -} OnNavigationEntryCommittedCallback; -typedef struct Opt_OnNavigationEntryCommittedCallback { - Ark_Tag tag; - OnNavigationEntryCommittedCallback value; -} Opt_OnNavigationEntryCommittedCallback; -typedef struct OnSafeBrowsingCheckResultCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, Ark_ThreatType threatType); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_ThreatType threatType); -} OnSafeBrowsingCheckResultCallback; -typedef struct Opt_OnSafeBrowsingCheckResultCallback { - Ark_Tag tag; - OnSafeBrowsingCheckResultCallback value; -} Opt_OnSafeBrowsingCheckResultCallback; typedef struct Ark_OnOverScrollEvent { Ark_Number xOffset; Ark_Number yOffset; @@ -11386,44 +11162,6 @@ typedef struct Opt_Callback_OnLoadInterceptEvent_Boolean { Ark_Tag tag; Callback_OnLoadInterceptEvent_Boolean value; } Opt_Callback_OnLoadInterceptEvent_Boolean; -typedef struct Ark_LargestContentfulPaint { - Opt_Number navigationStartTime; - Opt_Number largestImagePaintTime; - Opt_Number largestTextPaintTime; - Opt_Number imageBPP; - Opt_Number largestImageLoadStartTime; - Opt_Number largestImageLoadEndTime; -} Ark_LargestContentfulPaint; -typedef struct Opt_LargestContentfulPaint { - Ark_Tag tag; - Ark_LargestContentfulPaint value; -} Opt_LargestContentfulPaint; -typedef struct OnLargestContentfulPaintCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_LargestContentfulPaint largestContentfulPaint); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_LargestContentfulPaint largestContentfulPaint); -} OnLargestContentfulPaintCallback; -typedef struct Opt_OnLargestContentfulPaintCallback { - Ark_Tag tag; - OnLargestContentfulPaintCallback value; -} Opt_OnLargestContentfulPaintCallback; -typedef struct Ark_FirstMeaningfulPaint { - Opt_Number navigationStartTime; - Opt_Number firstMeaningfulPaintTime; -} Ark_FirstMeaningfulPaint; -typedef struct Opt_FirstMeaningfulPaint { - Ark_Tag tag; - Ark_FirstMeaningfulPaint value; -} Opt_FirstMeaningfulPaint; -typedef struct OnFirstMeaningfulPaintCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint); -} OnFirstMeaningfulPaintCallback; -typedef struct Opt_OnFirstMeaningfulPaintCallback { - Ark_Tag tag; - OnFirstMeaningfulPaintCallback value; -} Opt_OnFirstMeaningfulPaintCallback; typedef struct Ark_OnFirstContentfulPaintEvent { Ark_Number navigationStartTick; Ark_Number firstContentfulPaintMs; @@ -11561,28 +11299,6 @@ typedef struct Opt_Callback_OnClientAuthenticationEvent_Void { Ark_Tag tag; Callback_OnClientAuthenticationEvent_Void value; } Opt_Callback_OnClientAuthenticationEvent_Void; -typedef struct Ark_SslErrorEvent { - Ark_SslErrorHandler handler; - Ark_SslError error; - Ark_String url; - Ark_String originalUrl; - Ark_String referrer; - Ark_Boolean isFatalError; - Ark_Boolean isMainFrame; -} Ark_SslErrorEvent; -typedef struct Opt_SslErrorEvent { - Ark_Tag tag; - Ark_SslErrorEvent value; -} Opt_SslErrorEvent; -typedef struct OnSslErrorEventCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_SslErrorEvent sslErrorEvent); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_SslErrorEvent sslErrorEvent); -} OnSslErrorEventCallback; -typedef struct Opt_OnSslErrorEventCallback { - Ark_Tag tag; - OnSslErrorEventCallback value; -} Opt_OnSslErrorEventCallback; typedef struct Ark_OnSslErrorEventReceiveEvent { Ark_SslErrorHandler handler; Ark_SslError error; @@ -11636,15 +11352,6 @@ typedef struct Opt_Callback_OnSearchResultReceiveEvent_Void { Ark_Tag tag; Callback_OnSearchResultReceiveEvent_Void value; } Opt_Callback_OnSearchResultReceiveEvent_Void; -typedef struct OnContextMenuHideCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId); -} OnContextMenuHideCallback; -typedef struct Opt_OnContextMenuHideCallback { - Ark_Tag tag; - OnContextMenuHideCallback value; -} Opt_OnContextMenuHideCallback; typedef struct Ark_OnContextMenuShowEvent { Ark_WebContextMenuParam param; Ark_WebContextMenuResult result; @@ -11736,33 +11443,15 @@ typedef struct Opt_OnScaleChangeEvent { Ark_Tag tag; Ark_OnScaleChangeEvent value; } Opt_OnScaleChangeEvent; -typedef struct Callback_OnScaleChangeEvent_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_OnScaleChangeEvent parameter); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_OnScaleChangeEvent parameter); -} Callback_OnScaleChangeEvent_Void; -typedef struct Opt_Callback_OnScaleChangeEvent_Void { - Ark_Tag tag; - Callback_OnScaleChangeEvent_Void value; -} Opt_Callback_OnScaleChangeEvent_Void; -typedef struct Ark_FullScreenEnterEvent { - Ark_FullScreenExitHandler handler; - Opt_Number videoWidth; - Opt_Number videoHeight; -} Ark_FullScreenEnterEvent; -typedef struct Opt_FullScreenEnterEvent { - Ark_Tag tag; - Ark_FullScreenEnterEvent value; -} Opt_FullScreenEnterEvent; -typedef struct OnFullScreenEnterCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_FullScreenEnterEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_FullScreenEnterEvent event); -} OnFullScreenEnterCallback; -typedef struct Opt_OnFullScreenEnterCallback { +typedef struct Callback_OnScaleChangeEvent_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnScaleChangeEvent parameter); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_OnScaleChangeEvent parameter); +} Callback_OnScaleChangeEvent_Void; +typedef struct Opt_Callback_OnScaleChangeEvent_Void { Ark_Tag tag; - OnFullScreenEnterCallback value; -} Opt_OnFullScreenEnterCallback; + Callback_OnScaleChangeEvent_Void value; +} Opt_Callback_OnScaleChangeEvent_Void; typedef struct Ark_OnResourceLoadEvent { Ark_String url; } Ark_OnResourceLoadEvent; @@ -12119,26 +11808,6 @@ typedef struct Opt_Callback_OnPageEndEvent_Void { Ark_Tag tag; Callback_OnPageEndEvent_Void value; } Opt_Callback_OnPageEndEvent_Void; -typedef struct Ark_WebMediaOptions { - Opt_Number resumeInterval; - Opt_Boolean audioExclusive; -} Ark_WebMediaOptions; -typedef struct Opt_WebMediaOptions { - Ark_Tag tag; - Ark_WebMediaOptions value; -} Opt_WebMediaOptions; -typedef struct Ark_JavaScriptProxy { - Ark_CustomObject object_; - Ark_String name; - Array_String methodList; - Ark_Union_WebController_WebviewController controller; - Opt_Array_String asyncMethodList; - Opt_String permission; -} Ark_JavaScriptProxy; -typedef struct Opt_JavaScriptProxy { - Ark_Tag tag; - Ark_JavaScriptProxy value; -} Opt_JavaScriptProxy; typedef struct Ark_WebOptions { Ark_Union_String_Resource src; Ark_Union_WebController_WebviewController controller; @@ -12174,16 +11843,254 @@ typedef struct Ark_Union_String_Number_Buffer_Resource { } Ark_Union_String_Number_Buffer_Resource; typedef struct Opt_Union_String_Number_Buffer_Resource { Ark_Tag tag; - Ark_Union_String_Number_Buffer_Resource value; -} Opt_Union_String_Number_Buffer_Resource; -typedef struct Ark_Header { - Ark_String headerKey; - Ark_String headerValue; -} Ark_Header; -typedef struct Opt_Header { + Ark_Union_String_Number_Buffer_Resource value; +} Opt_Union_String_Number_Buffer_Resource; +typedef struct Ark_Header { + Ark_String headerKey; + Ark_String headerValue; +} Ark_Header; +typedef struct Opt_Header { + Ark_Tag tag; + Ark_Header value; +} Opt_Header; +typedef struct OnContextMenuHideCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId); +} OnContextMenuHideCallback; +typedef struct Opt_OnContextMenuHideCallback { + Ark_Tag tag; + OnContextMenuHideCallback value; +} Opt_OnContextMenuHideCallback; +typedef struct Ark_FullScreenEnterEvent { + Ark_FullScreenExitHandler handler; + Opt_Number videoWidth; + Opt_Number videoHeight; +} Ark_FullScreenEnterEvent; +typedef struct Opt_FullScreenEnterEvent { + Ark_Tag tag; + Ark_FullScreenEnterEvent value; +} Opt_FullScreenEnterEvent; +typedef struct OnFullScreenEnterCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_FullScreenEnterEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_FullScreenEnterEvent event); +} OnFullScreenEnterCallback; +typedef struct Opt_OnFullScreenEnterCallback { + Ark_Tag tag; + OnFullScreenEnterCallback value; +} Opt_OnFullScreenEnterCallback; +typedef struct OnSafeBrowsingCheckResultCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_ThreatType threatType); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_ThreatType threatType); +} OnSafeBrowsingCheckResultCallback; +typedef struct Opt_OnSafeBrowsingCheckResultCallback { + Ark_Tag tag; + OnSafeBrowsingCheckResultCallback value; +} Opt_OnSafeBrowsingCheckResultCallback; +typedef struct Ark_WebKeyboardOptions { + Ark_Boolean useSystemKeyboard; + Opt_Number enterKeyType; + Opt_CustomNodeBuilder customKeyboard; +} Ark_WebKeyboardOptions; +typedef struct Opt_WebKeyboardOptions { + Ark_Tag tag; + Ark_WebKeyboardOptions value; +} Opt_WebKeyboardOptions; +typedef struct Ark_WebKeyboardCallbackInfo { + Ark_WebKeyboardController controller; + Map_String_String attributes; +} Ark_WebKeyboardCallbackInfo; +typedef struct Opt_WebKeyboardCallbackInfo { + Ark_Tag tag; + Ark_WebKeyboardCallbackInfo value; +} Opt_WebKeyboardCallbackInfo; +typedef struct WebKeyboardCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_WebKeyboardCallbackInfo keyboardCallbackInfo, const Callback_WebKeyboardOptions_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_WebKeyboardCallbackInfo keyboardCallbackInfo, const Callback_WebKeyboardOptions_Void continuation); +} WebKeyboardCallback; +typedef struct Opt_WebKeyboardCallback { + Ark_Tag tag; + WebKeyboardCallback value; +} Opt_WebKeyboardCallback; +typedef struct Ark_AdsBlockedDetails { + Ark_String url; + Array_String adsBlocked; +} Ark_AdsBlockedDetails; +typedef struct Opt_AdsBlockedDetails { + Ark_Tag tag; + Ark_AdsBlockedDetails value; +} Opt_AdsBlockedDetails; +typedef struct OnAdsBlockedCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_AdsBlockedDetails details); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_AdsBlockedDetails details); +} OnAdsBlockedCallback; +typedef struct Opt_OnAdsBlockedCallback { + Ark_Tag tag; + OnAdsBlockedCallback value; +} Opt_OnAdsBlockedCallback; +typedef struct OnViewportFitChangedCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_ViewportFit viewportFit); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_ViewportFit viewportFit); +} OnViewportFitChangedCallback; +typedef struct Opt_OnViewportFitChangedCallback { + Ark_Tag tag; + OnViewportFitChangedCallback value; +} Opt_OnViewportFitChangedCallback; +typedef struct OnRenderProcessRespondingCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId); +} OnRenderProcessRespondingCallback; +typedef struct Opt_OnRenderProcessRespondingCallback { + Ark_Tag tag; + OnRenderProcessRespondingCallback value; +} Opt_OnRenderProcessRespondingCallback; +typedef struct Ark_RenderProcessNotRespondingData { + Ark_String jsStack; + Ark_Number pid; + Ark_RenderProcessNotRespondingReason reason; +} Ark_RenderProcessNotRespondingData; +typedef struct Opt_RenderProcessNotRespondingData { + Ark_Tag tag; + Ark_RenderProcessNotRespondingData value; +} Opt_RenderProcessNotRespondingData; +typedef struct OnRenderProcessNotRespondingCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_RenderProcessNotRespondingData data); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_RenderProcessNotRespondingData data); +} OnRenderProcessNotRespondingCallback; +typedef struct Opt_OnRenderProcessNotRespondingCallback { + Ark_Tag tag; + OnRenderProcessNotRespondingCallback value; +} Opt_OnRenderProcessNotRespondingCallback; +typedef struct Ark_NativeEmbedVisibilityInfo { + Ark_Boolean visibility; + Ark_String embedId; +} Ark_NativeEmbedVisibilityInfo; +typedef struct Opt_NativeEmbedVisibilityInfo { + Ark_Tag tag; + Ark_NativeEmbedVisibilityInfo value; +} Opt_NativeEmbedVisibilityInfo; +typedef struct OnNativeEmbedVisibilityChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo); +} OnNativeEmbedVisibilityChangeCallback; +typedef struct Opt_OnNativeEmbedVisibilityChangeCallback { + Ark_Tag tag; + OnNativeEmbedVisibilityChangeCallback value; +} Opt_OnNativeEmbedVisibilityChangeCallback; +typedef struct Ark_IntelligentTrackingPreventionDetails { + Ark_String host; + Ark_String trackerHost; +} Ark_IntelligentTrackingPreventionDetails; +typedef struct Opt_IntelligentTrackingPreventionDetails { + Ark_Tag tag; + Ark_IntelligentTrackingPreventionDetails value; +} Opt_IntelligentTrackingPreventionDetails; +typedef struct OnIntelligentTrackingPreventionCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_IntelligentTrackingPreventionDetails details); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_IntelligentTrackingPreventionDetails details); +} OnIntelligentTrackingPreventionCallback; +typedef struct Opt_OnIntelligentTrackingPreventionCallback { + Ark_Tag tag; + OnIntelligentTrackingPreventionCallback value; +} Opt_OnIntelligentTrackingPreventionCallback; +typedef struct OnOverrideUrlLoadingCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_WebResourceRequest webResourceRequest, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_WebResourceRequest webResourceRequest, const Callback_Boolean_Void continuation); +} OnOverrideUrlLoadingCallback; +typedef struct Opt_OnOverrideUrlLoadingCallback { + Ark_Tag tag; + OnOverrideUrlLoadingCallback value; +} Opt_OnOverrideUrlLoadingCallback; +typedef struct Ark_FirstMeaningfulPaint { + Opt_Number navigationStartTime; + Opt_Number firstMeaningfulPaintTime; +} Ark_FirstMeaningfulPaint; +typedef struct Opt_FirstMeaningfulPaint { + Ark_Tag tag; + Ark_FirstMeaningfulPaint value; +} Opt_FirstMeaningfulPaint; +typedef struct OnFirstMeaningfulPaintCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint); +} OnFirstMeaningfulPaintCallback; +typedef struct Opt_OnFirstMeaningfulPaintCallback { + Ark_Tag tag; + OnFirstMeaningfulPaintCallback value; +} Opt_OnFirstMeaningfulPaintCallback; +typedef struct Ark_LargestContentfulPaint { + Opt_Number navigationStartTime; + Opt_Number largestImagePaintTime; + Opt_Number largestTextPaintTime; + Opt_Number imageBPP; + Opt_Number largestImageLoadStartTime; + Opt_Number largestImageLoadEndTime; +} Ark_LargestContentfulPaint; +typedef struct Opt_LargestContentfulPaint { + Ark_Tag tag; + Ark_LargestContentfulPaint value; +} Opt_LargestContentfulPaint; +typedef struct OnLargestContentfulPaintCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_LargestContentfulPaint largestContentfulPaint); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_LargestContentfulPaint largestContentfulPaint); +} OnLargestContentfulPaintCallback; +typedef struct Opt_OnLargestContentfulPaintCallback { + Ark_Tag tag; + OnLargestContentfulPaintCallback value; +} Opt_OnLargestContentfulPaintCallback; +typedef struct Ark_SslErrorEvent { + Ark_SslErrorHandler handler; + Ark_SslError error; + Ark_String url; + Ark_String originalUrl; + Ark_String referrer; + Ark_Boolean isFatalError; + Ark_Boolean isMainFrame; +} Ark_SslErrorEvent; +typedef struct Opt_SslErrorEvent { + Ark_Tag tag; + Ark_SslErrorEvent value; +} Opt_SslErrorEvent; +typedef struct OnSslErrorEventCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_SslErrorEvent sslErrorEvent); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_SslErrorEvent sslErrorEvent); +} OnSslErrorEventCallback; +typedef struct Opt_OnSslErrorEventCallback { + Ark_Tag tag; + OnSslErrorEventCallback value; +} Opt_OnSslErrorEventCallback; +typedef struct Ark_LoadCommittedDetails { + Ark_Boolean isMainFrame; + Ark_Boolean isSameDocument; + Ark_Boolean didReplaceEntry; + Ark_WebNavigationType navigationType; + Ark_String url; +} Ark_LoadCommittedDetails; +typedef struct Opt_LoadCommittedDetails { Ark_Tag tag; - Ark_Header value; -} Opt_Header; + Ark_LoadCommittedDetails value; +} Opt_LoadCommittedDetails; +typedef struct OnNavigationEntryCommittedCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_LoadCommittedDetails loadCommittedDetails); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_LoadCommittedDetails loadCommittedDetails); +} OnNavigationEntryCommittedCallback; +typedef struct Opt_OnNavigationEntryCommittedCallback { + Ark_Tag tag; + OnNavigationEntryCommittedCallback value; +} Opt_OnNavigationEntryCommittedCallback; typedef struct Ark_PlaybackInfo { Ark_Number time; } Ark_PlaybackInfo; @@ -12243,6 +12150,30 @@ typedef struct Opt_VideoOptions { Ark_Tag tag; Ark_VideoOptions value; } Opt_VideoOptions; +typedef struct Ark_WithThemeAttribute { + void *handle; +} Ark_WithThemeAttribute; +typedef struct Opt_WithThemeAttribute { + Ark_Tag tag; + Ark_WithThemeAttribute value; +} Opt_WithThemeAttribute; +typedef struct Ark_WithThemeOptions { + Opt_CustomTheme theme; + Opt_ThemeColorMode colorMode; +} Ark_WithThemeOptions; +typedef struct Opt_WithThemeOptions { + Ark_Tag tag; + Ark_WithThemeOptions value; +} Opt_WithThemeOptions; +typedef struct WithThemeInterface { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_WithThemeOptions options, const Callback_WithThemeAttribute_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_WithThemeOptions options, const Callback_WithThemeAttribute_Void continuation); +} WithThemeInterface; +typedef struct Opt_WithThemeInterface { + Ark_Tag tag; + WithThemeInterface value; +} Opt_WithThemeInterface; typedef struct Ark_SwitchStyle { Opt_Union_Number_Resource pointRadius; Opt_ResourceColor unselectedColor; @@ -12438,15 +12369,6 @@ typedef struct Opt_Callback_String_PasteEvent_Void { Ark_Tag tag; Callback_String_PasteEvent_Void value; } Opt_Callback_String_PasteEvent_Void; -typedef struct TextAreaSubmitCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKeyType, const Opt_SubmitEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_EnterKeyType enterKeyType, const Opt_SubmitEvent event); -} TextAreaSubmitCallback; -typedef struct Opt_TextAreaSubmitCallback { - Ark_Tag tag; - TextAreaSubmitCallback value; -} Opt_TextAreaSubmitCallback; typedef struct Callback_EnterKeyType_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKey); @@ -12456,6 +12378,15 @@ typedef struct Opt_Callback_EnterKeyType_Void { Ark_Tag tag; Callback_EnterKeyType_Void value; } Opt_Callback_EnterKeyType_Void; +typedef struct TextAreaSubmitCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKeyType, const Opt_SubmitEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_EnterKeyType enterKeyType, const Opt_SubmitEvent event); +} TextAreaSubmitCallback; +typedef struct Opt_TextAreaSubmitCallback { + Ark_Tag tag; + TextAreaSubmitCallback value; +} Opt_TextAreaSubmitCallback; typedef struct Ark_TextAreaOptions { Opt_ResourceStr placeholder; Opt_ResourceStr text; @@ -12503,6 +12434,17 @@ typedef struct Opt_Union_String_Resource_CustomBuilder_TabBarOptions { Ark_Tag tag; Ark_Union_String_Resource_CustomBuilder_TabBarOptions value; } Opt_Union_String_Resource_CustomBuilder_TabBarOptions; +typedef struct Ark_BarGridColumnOptions { + Opt_Number sm; + Opt_Number md; + Opt_Number lg; + Opt_Length margin; + Opt_Length gutter; +} Ark_BarGridColumnOptions; +typedef struct Opt_BarGridColumnOptions { + Ark_Tag tag; + Ark_BarGridColumnOptions value; +} Opt_BarGridColumnOptions; typedef struct OnTabsContentWillChangeCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number currentIndex, const Ark_Number comingIndex, const Callback_Boolean_Void continuation); @@ -12525,17 +12467,6 @@ typedef struct Opt_TabsCustomContentTransitionCallback { Ark_Tag tag; TabsCustomContentTransitionCallback value; } Opt_TabsCustomContentTransitionCallback; -typedef struct Ark_BarGridColumnOptions { - Opt_Number sm; - Opt_Number md; - Opt_Number lg; - Opt_Length margin; - Opt_Length gutter; -} Ark_BarGridColumnOptions; -typedef struct Opt_BarGridColumnOptions { - Ark_Tag tag; - Ark_BarGridColumnOptions value; -} Opt_BarGridColumnOptions; typedef struct OnTabsGestureSwipeCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_TabsAnimationEvent extraInfo); @@ -12581,6 +12512,10 @@ typedef struct Opt_TabsOptions { Ark_Tag tag; Ark_TabsOptions value; } Opt_TabsOptions; +typedef struct Opt_PulseSymbolEffect { + Ark_Tag tag; + Ark_PulseSymbolEffect value; +} Opt_PulseSymbolEffect; typedef struct Opt_BounceSymbolEffect { Ark_Tag tag; Ark_BounceSymbolEffect value; @@ -12652,6 +12587,22 @@ typedef struct Opt_SwiperContentAnimatedTransition { Ark_Tag tag; Ark_SwiperContentAnimatedTransition value; } Opt_SwiperContentAnimatedTransition; +typedef struct Opt_IndicatorComponentController { + Ark_Tag tag; + Ark_IndicatorComponentController value; +} Opt_IndicatorComponentController; +typedef struct Ark_Union_DotIndicator_DigitIndicator_Boolean { + Ark_Int32 selector; + union { + Ark_DotIndicator value0; + Ark_DigitIndicator value1; + Ark_Boolean value2; + }; +} Ark_Union_DotIndicator_DigitIndicator_Boolean; +typedef struct Opt_Union_DotIndicator_DigitIndicator_Boolean { + Ark_Tag tag; + Ark_Union_DotIndicator_DigitIndicator_Boolean value; +} Opt_Union_DotIndicator_DigitIndicator_Boolean; typedef struct OnSwiperGestureSwipeCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_SwiperAnimationEvent extraInfo); @@ -12688,22 +12639,6 @@ typedef struct Opt_OnSwiperAnimationStartCallback { Ark_Tag tag; OnSwiperAnimationStartCallback value; } Opt_OnSwiperAnimationStartCallback; -typedef struct Opt_IndicatorComponentController { - Ark_Tag tag; - Ark_IndicatorComponentController value; -} Opt_IndicatorComponentController; -typedef struct Ark_Union_DotIndicator_DigitIndicator_Boolean { - Ark_Int32 selector; - union { - Ark_DotIndicator value0; - Ark_DigitIndicator value1; - Ark_Boolean value2; - }; -} Ark_Union_DotIndicator_DigitIndicator_Boolean; -typedef struct Opt_Union_DotIndicator_DigitIndicator_Boolean { - Ark_Tag tag; - Ark_Union_DotIndicator_DigitIndicator_Boolean value; -} Opt_Union_DotIndicator_DigitIndicator_Boolean; typedef struct Opt_SwiperController { Ark_Tag tag; Ark_SwiperController value; @@ -12761,6 +12696,15 @@ typedef struct Opt_SliderOptions { Ark_Tag tag; Ark_SliderOptions value; } Opt_SliderOptions; +typedef struct SliderTriggerChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number value, Ark_SliderChangeMode mode); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number value, Ark_SliderChangeMode mode); +} SliderTriggerChangeCallback; +typedef struct Opt_SliderTriggerChangeCallback { + Ark_Tag tag; + SliderTriggerChangeCallback value; +} Opt_SliderTriggerChangeCallback; typedef struct Ark_ViewportRect { Opt_Union_Number_String x; Opt_Union_Number_String y; @@ -12820,6 +12764,81 @@ typedef struct Opt_Union_Position_Edges_LocalizedEdges { Ark_Tag tag; Ark_Union_Position_Edges_LocalizedEdges value; } Opt_Union_Position_Edges_LocalizedEdges; +typedef struct Ark_TextDecorationOptions { + Ark_TextDecorationType type; + Opt_ResourceColor color; + Opt_TextDecorationStyle style; +} Ark_TextDecorationOptions; +typedef struct Opt_TextDecorationOptions { + Ark_Tag tag; + Ark_TextDecorationOptions value; +} Opt_TextDecorationOptions; +typedef struct OnPasteCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_String content, const Ark_PasteEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_String content, const Ark_PasteEvent event); +} OnPasteCallback; +typedef struct Opt_OnPasteCallback { + Ark_Tag tag; + OnPasteCallback value; +} Opt_OnPasteCallback; +typedef struct OnContentScrollCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY); +} OnContentScrollCallback; +typedef struct Opt_OnContentScrollCallback { + Ark_Tag tag; + OnContentScrollCallback value; +} Opt_OnContentScrollCallback; +typedef struct OnTextSelectionChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number selectionStart, const Ark_Number selectionEnd); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number selectionStart, const Ark_Number selectionEnd); +} OnTextSelectionChangeCallback; +typedef struct Opt_OnTextSelectionChangeCallback { + Ark_Tag tag; + OnTextSelectionChangeCallback value; +} Opt_OnTextSelectionChangeCallback; +typedef struct EditableTextOnChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText); +} EditableTextOnChangeCallback; +typedef struct Opt_EditableTextOnChangeCallback { + Ark_Tag tag; + EditableTextOnChangeCallback value; +} Opt_EditableTextOnChangeCallback; +typedef struct Ark_CaretStyle { + Opt_Length width; + Opt_ResourceColor color; +} Ark_CaretStyle; +typedef struct Opt_CaretStyle { + Ark_Tag tag; + Ark_CaretStyle value; +} Opt_CaretStyle; +typedef struct Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions { + Ark_Int32 selector; + union { + Ark_CancelButtonOptions value0; + Ark_CancelButtonSymbolOptions value1; + }; +} Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions; +typedef struct Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions { + Ark_Tag tag; + Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions value; +} Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions; +typedef struct Ark_Union_IconOptions_SymbolGlyphModifier { + Ark_Int32 selector; + union { + Ark_IconOptions value0; + Ark_SymbolGlyphModifier value1; + }; +} Ark_Union_IconOptions_SymbolGlyphModifier; +typedef struct Opt_Union_IconOptions_SymbolGlyphModifier { + Ark_Tag tag; + Ark_Union_IconOptions_SymbolGlyphModifier value; +} Opt_Union_IconOptions_SymbolGlyphModifier; typedef struct Callback_DeleteValue_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_DeleteValue parameter); @@ -12862,62 +12881,17 @@ typedef struct Ark_InsertValue { } Ark_InsertValue; typedef struct Opt_InsertValue { Ark_Tag tag; - Ark_InsertValue value; -} Opt_InsertValue; -typedef struct Callback_InsertValue_Boolean { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation); -} Callback_InsertValue_Boolean; -typedef struct Opt_Callback_InsertValue_Boolean { - Ark_Tag tag; - Callback_InsertValue_Boolean value; -} Opt_Callback_InsertValue_Boolean; -typedef struct Ark_TextDecorationOptions { - Ark_TextDecorationType type; - Opt_ResourceColor color; - Opt_TextDecorationStyle style; -} Ark_TextDecorationOptions; -typedef struct Opt_TextDecorationOptions { - Ark_Tag tag; - Ark_TextDecorationOptions value; -} Opt_TextDecorationOptions; -typedef struct OnPasteCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_String content, const Ark_PasteEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_String content, const Ark_PasteEvent event); -} OnPasteCallback; -typedef struct Opt_OnPasteCallback { - Ark_Tag tag; - OnPasteCallback value; -} Opt_OnPasteCallback; -typedef struct OnContentScrollCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY); -} OnContentScrollCallback; -typedef struct Opt_OnContentScrollCallback { - Ark_Tag tag; - OnContentScrollCallback value; -} Opt_OnContentScrollCallback; -typedef struct OnTextSelectionChangeCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number selectionStart, const Ark_Number selectionEnd); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number selectionStart, const Ark_Number selectionEnd); -} OnTextSelectionChangeCallback; -typedef struct Opt_OnTextSelectionChangeCallback { - Ark_Tag tag; - OnTextSelectionChangeCallback value; -} Opt_OnTextSelectionChangeCallback; -typedef struct EditableTextOnChangeCallback { + Ark_InsertValue value; +} Opt_InsertValue; +typedef struct Callback_InsertValue_Boolean { Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText); -} EditableTextOnChangeCallback; -typedef struct Opt_EditableTextOnChangeCallback { + void (*call)(const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation); +} Callback_InsertValue_Boolean; +typedef struct Opt_Callback_InsertValue_Boolean { Ark_Tag tag; - EditableTextOnChangeCallback value; -} Opt_EditableTextOnChangeCallback; + Callback_InsertValue_Boolean value; +} Opt_Callback_InsertValue_Boolean; typedef struct SearchSubmitCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_String searchContent, const Opt_SubmitEvent event); @@ -12927,36 +12901,6 @@ typedef struct Opt_SearchSubmitCallback { Ark_Tag tag; SearchSubmitCallback value; } Opt_SearchSubmitCallback; -typedef struct Ark_CaretStyle { - Opt_Length width; - Opt_ResourceColor color; -} Ark_CaretStyle; -typedef struct Opt_CaretStyle { - Ark_Tag tag; - Ark_CaretStyle value; -} Opt_CaretStyle; -typedef struct Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions { - Ark_Int32 selector; - union { - Ark_CancelButtonOptions value0; - Ark_CancelButtonSymbolOptions value1; - }; -} Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions; -typedef struct Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions { - Ark_Tag tag; - Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions value; -} Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions; -typedef struct Ark_Union_IconOptions_SymbolGlyphModifier { - Ark_Int32 selector; - union { - Ark_IconOptions value0; - Ark_SymbolGlyphModifier value1; - }; -} Ark_Union_IconOptions_SymbolGlyphModifier; -typedef struct Opt_Union_IconOptions_SymbolGlyphModifier { - Ark_Tag tag; - Ark_Union_IconOptions_SymbolGlyphModifier value; -} Opt_Union_IconOptions_SymbolGlyphModifier; typedef struct Ark_SearchOptions { Opt_String value; Opt_ResourceStr placeholder; @@ -12994,6 +12938,27 @@ typedef struct Opt_ScrollSnapOptions { Ark_Tag tag; Ark_ScrollSnapOptions value; } Opt_ScrollSnapOptions; +typedef struct Ark_Union_Color_Number_String { + Ark_Int32 selector; + union { + Ark_Color value0; + Ark_Number value1; + Ark_String value2; + }; +} Ark_Union_Color_Number_String; +typedef struct Opt_Union_Color_Number_String { + Ark_Tag tag; + Ark_Union_Color_Number_String value; +} Opt_Union_Color_Number_String; +typedef struct ScrollOnScrollCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState); +} ScrollOnScrollCallback; +typedef struct Opt_ScrollOnScrollCallback { + Ark_Tag tag; + ScrollOnScrollCallback value; +} Opt_ScrollOnScrollCallback; typedef struct Ark_OnScrollFrameBeginHandlerResult { Ark_Number offsetRemain; } Ark_OnScrollFrameBeginHandlerResult; @@ -13010,18 +12975,6 @@ typedef struct Opt_OnScrollFrameBeginCallback { Ark_Tag tag; OnScrollFrameBeginCallback value; } Opt_OnScrollFrameBeginCallback; -typedef struct Ark_Union_Color_Number_String { - Ark_Int32 selector; - union { - Ark_Color value0; - Ark_Number value1; - Ark_String value2; - }; -} Ark_Union_Color_Number_String; -typedef struct Opt_Union_Color_Number_String { - Ark_Tag tag; - Ark_Union_Color_Number_String value; -} Opt_Union_Color_Number_String; typedef struct OnScrollEdgeCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, Ark_Edge side); @@ -13031,15 +12984,6 @@ typedef struct Opt_OnScrollEdgeCallback { Ark_Tag tag; OnScrollEdgeCallback value; } Opt_OnScrollEdgeCallback; -typedef struct ScrollOnScrollCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState); -} ScrollOnScrollCallback; -typedef struct Opt_ScrollOnScrollCallback { - Ark_Tag tag; - ScrollOnScrollCallback value; -} Opt_ScrollOnScrollCallback; typedef struct Callback_ClickEvent_SaveButtonOnClickResult_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_SaveButtonOnClickResult result); @@ -13101,6 +13045,45 @@ typedef struct Opt_EditMenuOptions { Ark_Tag tag; Ark_EditMenuOptions value; } Opt_EditMenuOptions; +typedef struct Opt_SubmitEvent { + Ark_Tag tag; + Ark_SubmitEvent value; +} Opt_SubmitEvent; +typedef struct SubmitCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKey, const Ark_SubmitEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_EnterKeyType enterKey, const Ark_SubmitEvent event); +} SubmitCallback; +typedef struct Opt_SubmitCallback { + Ark_Tag tag; + SubmitCallback value; +} Opt_SubmitCallback; +typedef struct Ark_TextDataDetectorConfig { + Array_TextDataDetectorType types; + Opt_Callback_String_Void onDetectResultUpdate; + Opt_ResourceColor color; + Opt_DecorationStyleInterface decoration; +} Ark_TextDataDetectorConfig; +typedef struct Opt_TextDataDetectorConfig { + Ark_Tag tag; + Ark_TextDataDetectorConfig value; +} Opt_TextDataDetectorConfig; +typedef struct Ark_PasteEvent { + Opt_Callback_Void preventDefault; +} Ark_PasteEvent; +typedef struct Opt_PasteEvent { + Ark_Tag tag; + Ark_PasteEvent value; +} Opt_PasteEvent; +typedef struct PasteEventCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Opt_PasteEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Opt_PasteEvent event); +} PasteEventCallback; +typedef struct Opt_PasteEventCallback { + Ark_Tag tag; + PasteEventCallback value; +} Opt_PasteEventCallback; typedef struct Ark_CopyEvent { Opt_Callback_Void preventDefault; } Ark_CopyEvent; @@ -13152,45 +13135,6 @@ typedef struct Opt_Callback_RichEditorChangeValue_Boolean { Ark_Tag tag; Callback_RichEditorChangeValue_Boolean value; } Opt_Callback_RichEditorChangeValue_Boolean; -typedef struct Opt_SubmitEvent { - Ark_Tag tag; - Ark_SubmitEvent value; -} Opt_SubmitEvent; -typedef struct SubmitCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKey, const Ark_SubmitEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_EnterKeyType enterKey, const Ark_SubmitEvent event); -} SubmitCallback; -typedef struct Opt_SubmitCallback { - Ark_Tag tag; - SubmitCallback value; -} Opt_SubmitCallback; -typedef struct Ark_TextDataDetectorConfig { - Array_TextDataDetectorType types; - Opt_Callback_String_Void onDetectResultUpdate; - Opt_ResourceColor color; - Opt_DecorationStyleInterface decoration; -} Ark_TextDataDetectorConfig; -typedef struct Opt_TextDataDetectorConfig { - Ark_Tag tag; - Ark_TextDataDetectorConfig value; -} Opt_TextDataDetectorConfig; -typedef struct Ark_PasteEvent { - Opt_Callback_Void preventDefault; -} Ark_PasteEvent; -typedef struct Opt_PasteEvent { - Ark_Tag tag; - Ark_PasteEvent value; -} Opt_PasteEvent; -typedef struct PasteEventCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Opt_PasteEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Opt_PasteEvent event); -} PasteEventCallback; -typedef struct Opt_PasteEventCallback { - Ark_Tag tag; - PasteEventCallback value; -} Opt_PasteEventCallback; typedef struct Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult { Ark_Int32 selector; union { @@ -13539,6 +13483,14 @@ typedef struct Opt_PolygonOptions { Ark_Tag tag; Ark_PolygonOptions value; } Opt_PolygonOptions; +typedef struct Ark_PluginComponentOptions { + Ark_PluginComponentTemplate template_; + Ark_String data; +} Ark_PluginComponentOptions; +typedef struct Opt_PluginComponentOptions { + Ark_Tag tag; + Ark_PluginComponentOptions value; +} Opt_PluginComponentOptions; typedef struct Ark_PluginErrorData { Ark_Number errcode; Ark_String msg; @@ -13556,14 +13508,6 @@ typedef struct Opt_PluginErrorCallback { Ark_Tag tag; PluginErrorCallback value; } Opt_PluginErrorCallback; -typedef struct Ark_PluginComponentOptions { - Ark_PluginComponentTemplate template_; - Ark_String data; -} Ark_PluginComponentOptions; -typedef struct Opt_PluginComponentOptions { - Ark_Tag tag; - Ark_PluginComponentOptions value; -} Opt_PluginComponentOptions; typedef struct Callback_Array_Number_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Array_Number input); @@ -13604,15 +13548,6 @@ typedef struct Opt_PasteButtonOptions { Ark_Tag tag; Ark_PasteButtonOptions value; } Opt_PasteButtonOptions; -typedef struct Callback_Number_Number_PanelMode_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number width, const Ark_Number height, Ark_PanelMode mode); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number width, const Ark_Number height, Ark_PanelMode mode); -} Callback_Number_Number_PanelMode_Void; -typedef struct Opt_Callback_Number_Number_PanelMode_Void { - Ark_Tag tag; - Callback_Number_Number_PanelMode_Void value; -} Opt_Callback_Number_Number_PanelMode_Void; typedef struct Ark_Union_Dimension_PanelHeight { Ark_Int32 selector; union { @@ -13624,6 +13559,24 @@ typedef struct Opt_Union_Dimension_PanelHeight { Ark_Tag tag; Ark_Union_Dimension_PanelHeight value; } Opt_Union_Dimension_PanelHeight; +typedef struct Callback_Number_Number_PanelMode_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number width, const Ark_Number height, Ark_PanelMode mode); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number width, const Ark_Number height, Ark_PanelMode mode); +} Callback_Number_Number_PanelMode_Void; +typedef struct Opt_Callback_Number_Number_PanelMode_Void { + Ark_Tag tag; + Callback_Number_Number_PanelMode_Void value; +} Opt_Callback_Number_Number_PanelMode_Void; +typedef struct PageTransitionCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_RouteType type, const Ark_Number progress); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_RouteType type, const Ark_Number progress); +} PageTransitionCallback; +typedef struct Opt_PageTransitionCallback { + Ark_Tag tag; + PageTransitionCallback value; +} Opt_PageTransitionCallback; typedef struct Ark_NodeController { void *handle; } Ark_NodeController; @@ -13643,6 +13596,42 @@ typedef struct Opt_NavigationTransitionProxy { Ark_Tag tag; Ark_NavigationTransitionProxy value; } Opt_NavigationTransitionProxy; +typedef struct Type_NavigationAttribute_customNavContentTransition_delegate { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_NavContentInfo from, const Ark_NavContentInfo to, Ark_NavigationOperation operation, const Callback_Opt_NavigationAnimatedTransition_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_NavContentInfo from, const Ark_NavContentInfo to, Ark_NavigationOperation operation, const Callback_Opt_NavigationAnimatedTransition_Void continuation); +} Type_NavigationAttribute_customNavContentTransition_delegate; +typedef struct Opt_Type_NavigationAttribute_customNavContentTransition_delegate { + Ark_Tag tag; + Type_NavigationAttribute_customNavContentTransition_delegate value; +} Opt_Type_NavigationAttribute_customNavContentTransition_delegate; +typedef struct Callback_String_Unknown_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_String name, const Ark_CustomObject param); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_String name, const Ark_CustomObject param); +} Callback_String_Unknown_Void; +typedef struct Opt_Callback_String_Unknown_Void { + Ark_Tag tag; + Callback_String_Unknown_Void value; +} Opt_Callback_String_Unknown_Void; +typedef struct Callback_NavigationMode_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_NavigationMode mode); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_NavigationMode mode); +} Callback_NavigationMode_Void; +typedef struct Opt_Callback_NavigationMode_Void { + Ark_Tag tag; + Callback_NavigationMode_Void value; +} Opt_Callback_NavigationMode_Void; +typedef struct Callback_NavigationTitleMode_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode); +} Callback_NavigationTitleMode_Void; +typedef struct Opt_Callback_NavigationTitleMode_Void { + Ark_Tag tag; + Callback_NavigationTitleMode_Void value; +} Opt_Callback_NavigationTitleMode_Void; typedef struct Ark_Union_NavDestinationContext_NavBar { Ark_Int32 selector; union { @@ -13722,17 +13711,8 @@ typedef struct Ark_Type_NavDestinationAttribute_title_value { } Ark_Type_NavDestinationAttribute_title_value; typedef struct Opt_Type_NavDestinationAttribute_title_value { Ark_Tag tag; - Ark_Type_NavDestinationAttribute_title_value value; -} Opt_Type_NavDestinationAttribute_title_value; -typedef struct Callback_NavDestinationContext_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_NavDestinationContext parameter); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_NavDestinationContext parameter); -} Callback_NavDestinationContext_Void; -typedef struct Opt_Callback_NavDestinationContext_Void { - Ark_Tag tag; - Callback_NavDestinationContext_Void value; -} Opt_Callback_NavDestinationContext_Void; + Ark_Type_NavDestinationAttribute_title_value value; +} Opt_Type_NavDestinationAttribute_title_value; typedef struct Ark_NavigationMenuItem { Ark_Union_String_Resource value; Opt_Union_String_Resource icon; @@ -13767,6 +13747,15 @@ typedef struct Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier { Ark_Tag tag; Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier value; } Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier; +typedef struct Callback_NavDestinationContext_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_NavDestinationContext parameter); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_NavDestinationContext parameter); +} Callback_NavDestinationContext_Void; +typedef struct Opt_Callback_NavDestinationContext_Void { + Ark_Tag tag; + Callback_NavDestinationContext_Void value; +} Opt_Callback_NavDestinationContext_Void; typedef struct Callback_Boolean { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Callback_Boolean_Void continuation); @@ -13908,6 +13897,19 @@ typedef struct Opt_Union_Number_LengthConstrain { Ark_Tag tag; Ark_Union_Number_LengthConstrain value; } Opt_Union_Number_LengthConstrain; +typedef struct Ark_ChainAnimationOptions { + Ark_Length minSpace; + Ark_Length maxSpace; + Opt_Number conductivity; + Opt_Number intensity; + Opt_ChainEdgeEffect edgeEffect; + Opt_Number stiffness; + Opt_Number damping; +} Ark_ChainAnimationOptions; +typedef struct Opt_ChainAnimationOptions { + Ark_Tag tag; + Ark_ChainAnimationOptions value; +} Opt_ChainAnimationOptions; typedef struct Callback_Number_Number_Boolean { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to, const Callback_Boolean_Void continuation); @@ -13926,15 +13928,6 @@ typedef struct Opt_Callback_Number_Boolean { Ark_Tag tag; Callback_Number_Boolean value; } Opt_Callback_Number_Boolean; -typedef struct OnScrollVisibleContentChangeCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_VisibleListContentInfo start, const Ark_VisibleListContentInfo end); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_VisibleListContentInfo start, const Ark_VisibleListContentInfo end); -} OnScrollVisibleContentChangeCallback; -typedef struct Opt_OnScrollVisibleContentChangeCallback { - Ark_Tag tag; - OnScrollVisibleContentChangeCallback value; -} Opt_OnScrollVisibleContentChangeCallback; typedef struct Callback_Number_Number_Number_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number start, const Ark_Number end, const Ark_Number center); @@ -13944,19 +13937,6 @@ typedef struct Opt_Callback_Number_Number_Number_Void { Ark_Tag tag; Callback_Number_Number_Number_Void value; } Opt_Callback_Number_Number_Number_Void; -typedef struct Ark_ChainAnimationOptions { - Ark_Length minSpace; - Ark_Length maxSpace; - Opt_Number conductivity; - Opt_Number intensity; - Opt_ChainEdgeEffect edgeEffect; - Opt_Number stiffness; - Opt_Number damping; -} Ark_ChainAnimationOptions; -typedef struct Opt_ChainAnimationOptions { - Ark_Tag tag; - Ark_ChainAnimationOptions value; -} Opt_ChainAnimationOptions; typedef struct Ark_ListOptions { Opt_Number initialIndex; Opt_Union_Number_String space; @@ -13970,6 +13950,15 @@ typedef struct Opt_ListScroller { Ark_Tag tag; Ark_ListScroller value; } Opt_ListScroller; +typedef struct OnScrollVisibleContentChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_VisibleListContentInfo start, const Ark_VisibleListContentInfo end); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_VisibleListContentInfo start, const Ark_VisibleListContentInfo end); +} OnScrollVisibleContentChangeCallback; +typedef struct Opt_OnScrollVisibleContentChangeCallback { + Ark_Tag tag; + OnScrollVisibleContentChangeCallback value; +} Opt_OnScrollVisibleContentChangeCallback; typedef struct Ark_LineOptions { Opt_Union_String_Number width; Opt_Union_String_Number height; @@ -14069,6 +14058,14 @@ typedef struct Opt_ImageErrorCallback { Ark_Tag tag; ImageErrorCallback value; } Opt_ImageErrorCallback; +typedef struct Ark_ImageSourceSize { + Ark_Number width; + Ark_Number height; +} Ark_ImageSourceSize; +typedef struct Opt_ImageSourceSize { + Ark_Tag tag; + Ark_ImageSourceSize value; +} Opt_ImageSourceSize; typedef struct Ark_Type_ImageAttribute_onComplete_callback_event { Ark_Number width; Ark_Number height; @@ -14093,14 +14090,6 @@ typedef struct Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void { Ark_Tag tag; Callback_Type_ImageAttribute_onComplete_callback_event_Void value; } Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void; -typedef struct Ark_ImageSourceSize { - Ark_Number width; - Ark_Number height; -} Ark_ImageSourceSize; -typedef struct Opt_ImageSourceSize { - Ark_Tag tag; - Ark_ImageSourceSize value; -} Opt_ImageSourceSize; typedef struct Ark_Union_PixelMap_ResourceStr_DrawableDescriptor { Ark_Int32 selector; union { @@ -14261,16 +14250,6 @@ typedef struct Opt_Callback_Number_Number_ComputedBarAttribute { Ark_Tag tag; Callback_Number_Number_ComputedBarAttribute value; } Opt_Callback_Number_Number_ComputedBarAttribute; -typedef struct Ark_Tuple_Number_Number_Number_Number { - Ark_Number value0; - Ark_Number value1; - Ark_Number value2; - Ark_Number value3; -} Ark_Tuple_Number_Number_Number_Number; -typedef struct Opt_Tuple_Number_Number_Number_Number { - Ark_Tag tag; - Ark_Tuple_Number_Number_Number_Number value; -} Opt_Tuple_Number_Number_Number_Number; typedef struct Ark_GridLayoutOptions { Ark_Tuple_Number_Number regularSize; Opt_Array_Number irregularIndexes; @@ -14281,6 +14260,16 @@ typedef struct Opt_GridLayoutOptions { Ark_Tag tag; Ark_GridLayoutOptions value; } Opt_GridLayoutOptions; +typedef struct Ark_Tuple_Number_Number_Number_Number { + Ark_Number value0; + Ark_Number value1; + Ark_Number value2; + Ark_Number value3; +} Ark_Tuple_Number_Number_Number_Number; +typedef struct Opt_Tuple_Number_Number_Number_Number { + Ark_Tag tag; + Ark_Tuple_Number_Number_Number_Number value; +} Opt_Tuple_Number_Number_Number_Number; typedef struct Opt_PanRecognizer { Ark_Tag tag; Ark_PanRecognizer value; @@ -14550,25 +14539,6 @@ typedef struct Opt_FlexOptions { Ark_Tag tag; Ark_FlexOptions value; } Opt_FlexOptions; -typedef struct Ark_BusinessError { - Ark_String name; - Ark_String message; - Opt_String stack; - Ark_Number code; -} Ark_BusinessError; -typedef struct Opt_BusinessError { - Ark_Tag tag; - Ark_BusinessError value; -} Opt_BusinessError; -typedef struct ErrorCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_BusinessError err); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_BusinessError err); -} ErrorCallback; -typedef struct Opt_ErrorCallback { - Ark_Tag tag; - ErrorCallback value; -} Opt_ErrorCallback; typedef struct Ark_TerminationInfo { Ark_Number code; Opt_Want want; @@ -14699,6 +14669,24 @@ typedef struct Opt_ChildrenMainSize { Ark_Tag tag; Ark_ChildrenMainSize value; } Opt_ChildrenMainSize; +typedef struct OnMoveHandler { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to); +} OnMoveHandler; +typedef struct Opt_OnMoveHandler { + Ark_Tag tag; + OnMoveHandler value; +} Opt_OnMoveHandler; +typedef struct OnScrollCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState); +} OnScrollCallback; +typedef struct Opt_OnScrollCallback { + Ark_Tag tag; + OnScrollCallback value; +} Opt_OnScrollCallback; typedef struct Ark_Union_ContentClipMode_RectShape { Ark_Int32 selector; union { @@ -14750,36 +14738,6 @@ typedef struct Opt_Union_String_FunctionKey { Ark_Tag tag; Ark_Union_String_FunctionKey value; } Opt_Union_String_FunctionKey; -typedef struct Ark_SpringBackAction { - Callback_Void springBack; -} Ark_SpringBackAction; -typedef struct Opt_SpringBackAction { - Ark_Tag tag; - Ark_SpringBackAction value; -} Opt_SpringBackAction; -typedef struct Ark_DismissSheetAction { - Callback_Void dismiss; - Ark_DismissReason reason; -} Ark_DismissSheetAction; -typedef struct Opt_DismissSheetAction { - Ark_Tag tag; - Ark_DismissSheetAction value; -} Opt_DismissSheetAction; -typedef struct Ark_SheetDismiss { - Callback_Void dismiss; -} Ark_SheetDismiss; -typedef struct Opt_SheetDismiss { - Ark_Tag tag; - Ark_SheetDismiss value; -} Opt_SheetDismiss; -typedef struct Ark_DismissContentCoverAction { - Callback_Void dismiss; - Ark_DismissReason reason; -} Ark_DismissContentCoverAction; -typedef struct Opt_DismissContentCoverAction { - Ark_Tag tag; - Ark_DismissContentCoverAction value; -} Opt_DismissContentCoverAction; typedef struct Ark_Union_Array_MenuElement_CustomBuilder { Ark_Int32 selector; union { @@ -14802,21 +14760,6 @@ typedef struct Opt_MenuElement { Ark_Tag tag; Ark_MenuElement value; } Opt_MenuElement; -typedef struct Ark_DismissPopupAction { - Callback_Void dismiss; - Ark_DismissReason reason; -} Ark_DismissPopupAction; -typedef struct Opt_DismissPopupAction { - Ark_Tag tag; - Ark_DismissPopupAction value; -} Opt_DismissPopupAction; -typedef struct Ark_Literal_Boolean_isVisible { - Ark_Boolean isVisible; -} Ark_Literal_Boolean_isVisible; -typedef struct Opt_Literal_Boolean_isVisible { - Ark_Tag tag; - Ark_Literal_Boolean_isVisible value; -} Opt_Literal_Boolean_isVisible; typedef struct Ark_Union_PopupOptions_CustomPopupOptions { Ark_Int32 selector; union { @@ -14834,112 +14777,47 @@ typedef struct Ark_Union_BlendMode_Blender { Ark_BlendMode value0; Ark_Blender value1; }; -} Ark_Union_BlendMode_Blender; -typedef struct Opt_Union_BlendMode_Blender { - Ark_Tag tag; - Ark_Union_BlendMode_Blender value; -} Opt_Union_BlendMode_Blender; -typedef struct Ark_Union_String_CustomBuilder_ComponentContent { - Ark_Int32 selector; - union { - Ark_String value0; - CustomNodeBuilder value1; - Ark_ComponentContent value2; - }; -} Ark_Union_String_CustomBuilder_ComponentContent; -typedef struct Opt_Union_String_CustomBuilder_ComponentContent { - Ark_Tag tag; - Ark_Union_String_CustomBuilder_ComponentContent value; -} Opt_Union_String_CustomBuilder_ComponentContent; -typedef struct Ark_FractionStop { - Ark_Number value0; - Ark_Number value1; -} Ark_FractionStop; -typedef struct Opt_FractionStop { - Ark_Tag tag; - Ark_FractionStop value; -} Opt_FractionStop; -typedef struct Array_SafeAreaEdge { - Ark_SafeAreaEdge* array; - Ark_Int32 length; -} Array_SafeAreaEdge; -typedef struct Opt_Array_SafeAreaEdge { - Ark_Tag tag; - Array_SafeAreaEdge value; -} Opt_Array_SafeAreaEdge; -typedef struct Array_SafeAreaType { - Ark_SafeAreaType* array; - Ark_Int32 length; -} Array_SafeAreaType; -typedef struct Opt_Array_SafeAreaType { - Ark_Tag tag; - Array_SafeAreaType value; -} Opt_Array_SafeAreaType; -typedef struct Callback_TouchEvent_HitTestMode { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_TouchEvent parameter, const Callback_HitTestMode_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_TouchEvent parameter, const Callback_HitTestMode_Void continuation); -} Callback_TouchEvent_HitTestMode; -typedef struct Opt_Callback_TouchEvent_HitTestMode { - Ark_Tag tag; - Callback_TouchEvent_HitTestMode value; -} Opt_Callback_TouchEvent_HitTestMode; -typedef struct Array_GestureRecognizer { - Ark_GestureRecognizer* array; - Ark_Int32 length; -} Array_GestureRecognizer; -typedef struct Opt_Array_GestureRecognizer { - Ark_Tag tag; - Array_GestureRecognizer value; -} Opt_Array_GestureRecognizer; -typedef struct ShouldBuiltInRecognizerParallelWithCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_GestureRecognizer current, const Array_GestureRecognizer others, const Callback_GestureRecognizer_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_GestureRecognizer current, const Array_GestureRecognizer others, const Callback_GestureRecognizer_Void continuation); -} ShouldBuiltInRecognizerParallelWithCallback; -typedef struct Opt_ShouldBuiltInRecognizerParallelWithCallback { - Ark_Tag tag; - ShouldBuiltInRecognizerParallelWithCallback value; -} Opt_ShouldBuiltInRecognizerParallelWithCallback; -typedef struct Opt_GestureRecognizer { - Ark_Tag tag; - Ark_GestureRecognizer value; -} Opt_GestureRecognizer; -typedef struct Ark_FingerInfo { - Ark_Number id; - Ark_Number globalX; - Ark_Number globalY; - Ark_Number localX; - Ark_Number localY; - Ark_Number displayX; - Ark_Number displayY; -} Ark_FingerInfo; -typedef struct Opt_FingerInfo { +} Ark_Union_BlendMode_Blender; +typedef struct Opt_Union_BlendMode_Blender { Ark_Tag tag; - Ark_FingerInfo value; -} Opt_FingerInfo; -typedef struct Opt_BaseGestureEvent { + Ark_Union_BlendMode_Blender value; +} Opt_Union_BlendMode_Blender; +typedef struct Ark_Union_String_CustomBuilder_ComponentContent { + Ark_Int32 selector; + union { + Ark_String value0; + CustomNodeBuilder value1; + Ark_ComponentContent value2; + }; +} Ark_Union_String_CustomBuilder_ComponentContent; +typedef struct Opt_Union_String_CustomBuilder_ComponentContent { Ark_Tag tag; - Ark_BaseGestureEvent value; -} Opt_BaseGestureEvent; -typedef struct Ark_GestureInfo { - Opt_String tag; - Ark_GestureControl_GestureType type; - Ark_Boolean isSystemGesture; -} Ark_GestureInfo; -typedef struct Opt_GestureInfo { + Ark_Union_String_CustomBuilder_ComponentContent value; +} Opt_Union_String_CustomBuilder_ComponentContent; +typedef struct Ark_FractionStop { + Ark_Number value0; + Ark_Number value1; +} Ark_FractionStop; +typedef struct Opt_FractionStop { Ark_Tag tag; - Ark_GestureInfo value; -} Opt_GestureInfo; -typedef struct Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_GestureInfo gestureInfo, const Ark_BaseGestureEvent event, const Callback_GestureJudgeResult_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_GestureInfo gestureInfo, const Ark_BaseGestureEvent event, const Callback_GestureJudgeResult_Void continuation); -} Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult; -typedef struct Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult { + Ark_FractionStop value; +} Opt_FractionStop; +typedef struct Array_SafeAreaEdge { + Ark_SafeAreaEdge* array; + Ark_Int32 length; +} Array_SafeAreaEdge; +typedef struct Opt_Array_SafeAreaEdge { Ark_Tag tag; - Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult value; -} Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult; + Array_SafeAreaEdge value; +} Opt_Array_SafeAreaEdge; +typedef struct Array_SafeAreaType { + Ark_SafeAreaType* array; + Ark_Int32 length; +} Array_SafeAreaType; +typedef struct Opt_Array_SafeAreaType { + Ark_Tag tag; + Array_SafeAreaType value; +} Opt_Array_SafeAreaType; typedef struct Ark_BackgroundBrightnessOptions { Ark_Number rate; Ark_Number lightUpDegree; @@ -15027,15 +14905,6 @@ typedef struct Opt_Type_CommonMethod_linearGradient_value { Ark_Tag tag; Ark_Type_CommonMethod_linearGradient_value value; } Opt_Type_CommonMethod_linearGradient_value; -typedef struct Callback_PreDragStatus_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, Ark_PreDragStatus parameter); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_PreDragStatus parameter); -} Callback_PreDragStatus_Void; -typedef struct Opt_Callback_PreDragStatus_Void { - Ark_Tag tag; - Callback_PreDragStatus_Void value; -} Opt_Callback_PreDragStatus_Void; typedef struct Ark_Union_CustomBuilder_DragItemInfo_String { Ark_Int32 selector; union { @@ -15063,35 +14932,6 @@ typedef struct Opt_Array_UniformDataType { Ark_Tag tag; Array_UniformDataType value; } Opt_Array_UniformDataType; -typedef struct Callback_DragEvent_String_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams); -} Callback_DragEvent_String_Void; -typedef struct Opt_Callback_DragEvent_String_Void { - Ark_Tag tag; - Callback_DragEvent_String_Void value; -} Opt_Callback_DragEvent_String_Void; -typedef struct Ark_Union_CustomBuilder_DragItemInfo { - Ark_Int32 selector; - union { - CustomNodeBuilder value0; - Ark_DragItemInfo value1; - }; -} Ark_Union_CustomBuilder_DragItemInfo; -typedef struct Opt_Union_CustomBuilder_DragItemInfo { - Ark_Tag tag; - Ark_Union_CustomBuilder_DragItemInfo value; -} Opt_Union_CustomBuilder_DragItemInfo; -typedef struct Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams, const Callback_Union_CustomBuilder_DragItemInfo_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams, const Callback_Union_CustomBuilder_DragItemInfo_Void continuation); -} Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; -typedef struct Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo { - Ark_Tag tag; - Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo value; -} Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; typedef struct Ark_LocalizedAlignRuleOptions { Opt_LocalizedHorizontalAlignParam start; Opt_LocalizedHorizontalAlignParam end; @@ -15139,15 +14979,6 @@ typedef struct Opt_Union_Position_LocalizedPosition { Ark_Tag tag; Ark_Union_Position_LocalizedPosition value; } Opt_Union_Position_LocalizedPosition; -typedef struct Callback_Area_Area_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Area oldValue, const Ark_Area newValue); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Area oldValue, const Ark_Area newValue); -} Callback_Area_Area_Void; -typedef struct Opt_Callback_Area_Area_Void { - Ark_Tag tag; - Callback_Area_Area_Void value; -} Opt_Callback_Area_Area_Void; typedef struct Ark_Union_Number_InvertOptions { Ark_Int32 selector; union { @@ -15199,15 +15030,6 @@ typedef struct Opt_FocusBoxStyle { Ark_Tag tag; Ark_FocusBoxStyle value; } Opt_FocusBoxStyle; -typedef struct Callback_KeyEvent_Boolean { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation); -} Callback_KeyEvent_Boolean; -typedef struct Opt_Callback_KeyEvent_Boolean { - Ark_Tag tag; - Callback_KeyEvent_Boolean value; -} Opt_Callback_KeyEvent_Boolean; typedef struct AccessibilityCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_AccessibilityHoverEvent event); @@ -15217,15 +15039,6 @@ typedef struct Opt_AccessibilityCallback { Ark_Tag tag; AccessibilityCallback value; } Opt_AccessibilityCallback; -typedef struct Callback_Boolean_HoverEvent_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event); -} Callback_Boolean_HoverEvent_Void; -typedef struct Opt_Callback_Boolean_HoverEvent_Void { - Ark_Tag tag; - Callback_Boolean_HoverEvent_Void value; -} Opt_Callback_Boolean_HoverEvent_Void; typedef struct Ark_Union_ResourceColor_ColoringStrategy { Ark_Int32 selector; union { @@ -15431,6 +15244,109 @@ typedef struct Opt_ChainWeightOptions { Ark_Tag tag; Ark_ChainWeightOptions value; } Opt_ChainWeightOptions; +typedef struct Ark_Union_Array_Rectangle_Rectangle { + Ark_Int32 selector; + union { + Array_Rectangle value0; + Ark_Rectangle value1; + }; +} Ark_Union_Array_Rectangle_Rectangle; +typedef struct Opt_Union_Array_Rectangle_Rectangle { + Ark_Tag tag; + Ark_Union_Array_Rectangle_Rectangle value; +} Opt_Union_Array_Rectangle_Rectangle; +typedef struct Callback_TouchEvent_HitTestMode { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_TouchEvent parameter, const Callback_HitTestMode_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_TouchEvent parameter, const Callback_HitTestMode_Void continuation); +} Callback_TouchEvent_HitTestMode; +typedef struct Opt_Callback_TouchEvent_HitTestMode { + Ark_Tag tag; + Callback_TouchEvent_HitTestMode value; +} Opt_Callback_TouchEvent_HitTestMode; +typedef struct Ark_GestureInfo { + Opt_String tag; + Ark_GestureControl_GestureType type; + Ark_Boolean isSystemGesture; +} Ark_GestureInfo; +typedef struct Opt_GestureInfo { + Ark_Tag tag; + Ark_GestureInfo value; +} Opt_GestureInfo; +typedef struct Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_GestureInfo gestureInfo, const Ark_BaseGestureEvent event, const Callback_GestureJudgeResult_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_GestureInfo gestureInfo, const Ark_BaseGestureEvent event, const Callback_GestureJudgeResult_Void continuation); +} Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult; +typedef struct Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult { + Ark_Tag tag; + Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult value; +} Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult; +typedef struct Callback_PreDragStatus_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_PreDragStatus parameter); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, Ark_PreDragStatus parameter); +} Callback_PreDragStatus_Void; +typedef struct Opt_Callback_PreDragStatus_Void { + Ark_Tag tag; + Callback_PreDragStatus_Void value; +} Opt_Callback_PreDragStatus_Void; +typedef struct Callback_DragEvent_String_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams); +} Callback_DragEvent_String_Void; +typedef struct Opt_Callback_DragEvent_String_Void { + Ark_Tag tag; + Callback_DragEvent_String_Void value; +} Opt_Callback_DragEvent_String_Void; +typedef struct Ark_Union_CustomBuilder_DragItemInfo { + Ark_Int32 selector; + union { + CustomNodeBuilder value0; + Ark_DragItemInfo value1; + }; +} Ark_Union_CustomBuilder_DragItemInfo; +typedef struct Opt_Union_CustomBuilder_DragItemInfo { + Ark_Tag tag; + Ark_Union_CustomBuilder_DragItemInfo value; +} Opt_Union_CustomBuilder_DragItemInfo; +typedef struct Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams, const Callback_Union_CustomBuilder_DragItemInfo_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams, const Callback_Union_CustomBuilder_DragItemInfo_Void continuation); +} Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; +typedef struct Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo { + Ark_Tag tag; + Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo value; +} Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; +typedef struct Callback_Area_Area_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Area oldValue, const Ark_Area newValue); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Area oldValue, const Ark_Area newValue); +} Callback_Area_Area_Void; +typedef struct Opt_Callback_Area_Area_Void { + Ark_Tag tag; + Callback_Area_Area_Void value; +} Opt_Callback_Area_Area_Void; +typedef struct Callback_KeyEvent_Boolean { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_KeyEvent parameter, const Callback_Boolean_Void continuation); +} Callback_KeyEvent_Boolean; +typedef struct Opt_Callback_KeyEvent_Boolean { + Ark_Tag tag; + Callback_KeyEvent_Boolean value; +} Opt_Callback_KeyEvent_Boolean; +typedef struct Callback_Boolean_HoverEvent_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event); +} Callback_Boolean_HoverEvent_Void; +typedef struct Opt_Callback_Boolean_HoverEvent_Void { + Ark_Tag tag; + Callback_Boolean_HoverEvent_Void value; +} Opt_Callback_Boolean_HoverEvent_Void; typedef struct Ark_TouchResult { Ark_TouchTestStrategy strategy; Opt_String id; @@ -15459,28 +15375,62 @@ typedef struct Array_TouchTestInfo { } Array_TouchTestInfo; typedef struct Opt_Array_TouchTestInfo { Ark_Tag tag; - Array_TouchTestInfo value; -} Opt_Array_TouchTestInfo; -typedef struct Callback_Array_TouchTestInfo_TouchResult { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Array_TouchTestInfo value, const Callback_TouchResult_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Array_TouchTestInfo value, const Callback_TouchResult_Void continuation); -} Callback_Array_TouchTestInfo_TouchResult; -typedef struct Opt_Callback_Array_TouchTestInfo_TouchResult { + Array_TouchTestInfo value; +} Opt_Array_TouchTestInfo; +typedef struct Callback_Array_TouchTestInfo_TouchResult { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Array_TouchTestInfo value, const Callback_TouchResult_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Array_TouchTestInfo value, const Callback_TouchResult_Void continuation); +} Callback_Array_TouchTestInfo_TouchResult; +typedef struct Opt_Callback_Array_TouchTestInfo_TouchResult { + Ark_Tag tag; + Callback_Array_TouchTestInfo_TouchResult value; +} Opt_Callback_Array_TouchTestInfo_TouchResult; +typedef struct Ark_DismissPopupAction { + Callback_Void dismiss; + Ark_DismissReason reason; +} Ark_DismissPopupAction; +typedef struct Opt_DismissPopupAction { + Ark_Tag tag; + Ark_DismissPopupAction value; +} Opt_DismissPopupAction; +typedef struct Ark_Literal_Boolean_isVisible { + Ark_Boolean isVisible; +} Ark_Literal_Boolean_isVisible; +typedef struct Opt_Literal_Boolean_isVisible { + Ark_Tag tag; + Ark_Literal_Boolean_isVisible value; +} Opt_Literal_Boolean_isVisible; +typedef struct Ark_SpringBackAction { + Callback_Void springBack; +} Ark_SpringBackAction; +typedef struct Opt_SpringBackAction { + Ark_Tag tag; + Ark_SpringBackAction value; +} Opt_SpringBackAction; +typedef struct Ark_DismissSheetAction { + Callback_Void dismiss; + Ark_DismissReason reason; +} Ark_DismissSheetAction; +typedef struct Opt_DismissSheetAction { Ark_Tag tag; - Callback_Array_TouchTestInfo_TouchResult value; -} Opt_Callback_Array_TouchTestInfo_TouchResult; -typedef struct Ark_Union_Array_Rectangle_Rectangle { - Ark_Int32 selector; - union { - Array_Rectangle value0; - Ark_Rectangle value1; - }; -} Ark_Union_Array_Rectangle_Rectangle; -typedef struct Opt_Union_Array_Rectangle_Rectangle { + Ark_DismissSheetAction value; +} Opt_DismissSheetAction; +typedef struct Ark_SheetDismiss { + Callback_Void dismiss; +} Ark_SheetDismiss; +typedef struct Opt_SheetDismiss { Ark_Tag tag; - Ark_Union_Array_Rectangle_Rectangle value; -} Opt_Union_Array_Rectangle_Rectangle; + Ark_SheetDismiss value; +} Opt_SheetDismiss; +typedef struct Ark_DismissContentCoverAction { + Callback_Void dismiss; + Ark_DismissReason reason; +} Ark_DismissContentCoverAction; +typedef struct Opt_DismissContentCoverAction { + Ark_Tag tag; + Ark_DismissContentCoverAction value; +} Opt_DismissContentCoverAction; typedef struct Opt_KeyEvent { Ark_Tag tag; Ark_KeyEvent value; @@ -15493,6 +15443,44 @@ typedef struct Opt_PixelMapMock { Ark_Tag tag; Ark_PixelMapMock value; } Opt_PixelMapMock; +typedef struct Array_GestureRecognizer { + Ark_GestureRecognizer* array; + Ark_Int32 length; +} Array_GestureRecognizer; +typedef struct Opt_Array_GestureRecognizer { + Ark_Tag tag; + Array_GestureRecognizer value; +} Opt_Array_GestureRecognizer; +typedef struct ShouldBuiltInRecognizerParallelWithCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_GestureRecognizer current, const Array_GestureRecognizer others, const Callback_GestureRecognizer_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_GestureRecognizer current, const Array_GestureRecognizer others, const Callback_GestureRecognizer_Void continuation); +} ShouldBuiltInRecognizerParallelWithCallback; +typedef struct Opt_ShouldBuiltInRecognizerParallelWithCallback { + Ark_Tag tag; + ShouldBuiltInRecognizerParallelWithCallback value; +} Opt_ShouldBuiltInRecognizerParallelWithCallback; +typedef struct Opt_GestureRecognizer { + Ark_Tag tag; + Ark_GestureRecognizer value; +} Opt_GestureRecognizer; +typedef struct Ark_FingerInfo { + Ark_Number id; + Ark_Number globalX; + Ark_Number globalY; + Ark_Number localX; + Ark_Number localY; + Ark_Number displayX; + Ark_Number displayY; +} Ark_FingerInfo; +typedef struct Opt_FingerInfo { + Ark_Tag tag; + Ark_FingerInfo value; +} Opt_FingerInfo; +typedef struct Opt_BaseGestureEvent { + Ark_Tag tag; + Ark_BaseGestureEvent value; +} Opt_BaseGestureEvent; typedef struct Ark_HistoricalPoint { Ark_TouchObject touchObject; Ark_Number size; @@ -15589,15 +15577,6 @@ typedef struct Opt_CheckboxGroupOptions { Ark_Tag tag; Ark_CheckboxGroupOptions value; } Opt_CheckboxGroupOptions; -typedef struct OnCheckboxChangeCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Boolean value); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean value); -} OnCheckboxChangeCallback; -typedef struct Opt_OnCheckboxChangeCallback { - Ark_Tag tag; - OnCheckboxChangeCallback value; -} Opt_OnCheckboxChangeCallback; typedef struct Ark_MarkStyle { Opt_ResourceColor strokeColor; Opt_Length size; @@ -15607,6 +15586,15 @@ typedef struct Opt_MarkStyle { Ark_Tag tag; Ark_MarkStyle value; } Opt_MarkStyle; +typedef struct OnCheckboxChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Boolean value); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean value); +} OnCheckboxChangeCallback; +typedef struct Opt_OnCheckboxChangeCallback { + Ark_Tag tag; + OnCheckboxChangeCallback value; +} Opt_OnCheckboxChangeCallback; typedef struct Ark_CheckboxOptions { Opt_String name; Opt_String group; @@ -15665,44 +15653,6 @@ typedef struct Opt_CalendarOptions { Ark_Tag tag; Ark_CalendarOptions value; } Opt_CalendarOptions; -typedef struct Ark_CalendarRequestedData { - Ark_Number year; - Ark_Number month; - Ark_Number currentYear; - Ark_Number currentMonth; - Ark_Number monthState; -} Ark_CalendarRequestedData; -typedef struct Opt_CalendarRequestedData { - Ark_Tag tag; - Ark_CalendarRequestedData value; -} Opt_CalendarRequestedData; -typedef struct Callback_CalendarRequestedData_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_CalendarRequestedData event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_CalendarRequestedData event); -} Callback_CalendarRequestedData_Void; -typedef struct Opt_Callback_CalendarRequestedData_Void { - Ark_Tag tag; - Callback_CalendarRequestedData_Void value; -} Opt_Callback_CalendarRequestedData_Void; -typedef struct Ark_CalendarSelectedDate { - Ark_Number year; - Ark_Number month; - Ark_Number day; -} Ark_CalendarSelectedDate; -typedef struct Opt_CalendarSelectedDate { - Ark_Tag tag; - Ark_CalendarSelectedDate value; -} Opt_CalendarSelectedDate; -typedef struct Callback_CalendarSelectedDate_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_CalendarSelectedDate event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_CalendarSelectedDate event); -} Callback_CalendarSelectedDate_Void; -typedef struct Opt_Callback_CalendarSelectedDate_Void { - Ark_Tag tag; - Callback_CalendarSelectedDate_Void value; -} Opt_Callback_CalendarSelectedDate_Void; typedef struct Ark_WorkStateStyle { Opt_ResourceColor workDayMarkColor; Opt_ResourceColor offDayMarkColor; @@ -15778,6 +15728,44 @@ typedef struct Opt_CurrentDayStyle { Ark_Tag tag; Ark_CurrentDayStyle value; } Opt_CurrentDayStyle; +typedef struct Ark_CalendarRequestedData { + Ark_Number year; + Ark_Number month; + Ark_Number currentYear; + Ark_Number currentMonth; + Ark_Number monthState; +} Ark_CalendarRequestedData; +typedef struct Opt_CalendarRequestedData { + Ark_Tag tag; + Ark_CalendarRequestedData value; +} Opt_CalendarRequestedData; +typedef struct Callback_CalendarRequestedData_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_CalendarRequestedData event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_CalendarRequestedData event); +} Callback_CalendarRequestedData_Void; +typedef struct Opt_Callback_CalendarRequestedData_Void { + Ark_Tag tag; + Callback_CalendarRequestedData_Void value; +} Opt_Callback_CalendarRequestedData_Void; +typedef struct Ark_CalendarSelectedDate { + Ark_Number year; + Ark_Number month; + Ark_Number day; +} Ark_CalendarSelectedDate; +typedef struct Opt_CalendarSelectedDate { + Ark_Tag tag; + Ark_CalendarSelectedDate value; +} Opt_CalendarSelectedDate; +typedef struct Callback_CalendarSelectedDate_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_CalendarSelectedDate event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_CalendarSelectedDate event); +} Callback_CalendarSelectedDate_Void; +typedef struct Opt_Callback_CalendarSelectedDate_Void { + Ark_Tag tag; + Callback_CalendarSelectedDate_Void value; +} Opt_Callback_CalendarSelectedDate_Void; typedef struct Ark_CalendarDay { Ark_Number index; Ark_String lunarMonth; @@ -15817,6 +15805,15 @@ typedef struct Opt_ButtonOptions { Ark_Tag tag; Ark_ButtonOptions value; } Opt_ButtonOptions; +typedef struct ButtonTriggerClickCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number xPos, const Ark_Number yPos); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number xPos, const Ark_Number yPos); +} ButtonTriggerClickCallback; +typedef struct Opt_ButtonTriggerClickCallback { + Ark_Tag tag; + ButtonTriggerClickCallback value; +} Opt_ButtonTriggerClickCallback; typedef struct Ark_BadgeParamWithString { Opt_Union_BadgePosition_Position position; Ark_BadgeStyle style; @@ -15852,15 +15849,6 @@ typedef struct Opt_SpringProp { Ark_Tag tag; Ark_SpringProp value; } Opt_SpringProp; -typedef struct OnAlphabetIndexerPopupSelectCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number index); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number index); -} OnAlphabetIndexerPopupSelectCallback; -typedef struct Opt_OnAlphabetIndexerPopupSelectCallback { - Ark_Tag tag; - OnAlphabetIndexerPopupSelectCallback value; -} Opt_OnAlphabetIndexerPopupSelectCallback; typedef struct OnAlphabetIndexerRequestPopupDataCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number index, const Callback_Array_String_Void continuation); @@ -15870,6 +15858,15 @@ typedef struct Opt_OnAlphabetIndexerRequestPopupDataCallback { Ark_Tag tag; OnAlphabetIndexerRequestPopupDataCallback value; } Opt_OnAlphabetIndexerRequestPopupDataCallback; +typedef struct OnAlphabetIndexerPopupSelectCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number index); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number index); +} OnAlphabetIndexerPopupSelectCallback; +typedef struct Opt_OnAlphabetIndexerPopupSelectCallback { + Ark_Tag tag; + OnAlphabetIndexerPopupSelectCallback value; +} Opt_OnAlphabetIndexerPopupSelectCallback; typedef struct OnAlphabetIndexerSelectCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number index); @@ -15913,14 +15910,6 @@ typedef struct Opt_Type_AlertDialog_show_value { Ark_Tag tag; Ark_Type_AlertDialog_show_value value; } Opt_Type_AlertDialog_show_value; -typedef struct Ark_DismissDialogAction { - Callback_Void dismiss; - Ark_DismissReason reason; -} Ark_DismissDialogAction; -typedef struct Opt_DismissDialogAction { - Ark_Tag tag; - Ark_DismissDialogAction value; -} Opt_DismissDialogAction; typedef struct Ark_SheetInfo { Ark_Union_String_Resource title; Opt_Union_String_Resource icon; @@ -15930,6 +15919,14 @@ typedef struct Opt_SheetInfo { Ark_Tag tag; Ark_SheetInfo value; } Opt_SheetInfo; +typedef struct Ark_DismissDialogAction { + Callback_Void dismiss; + Ark_DismissReason reason; +} Ark_DismissDialogAction; +typedef struct Opt_DismissDialogAction { + Ark_Tag tag; + Ark_DismissDialogAction value; +} Opt_DismissDialogAction; typedef struct Ark_Literal_Want_want { Ark_Want want; } Ark_Literal_Want_want; @@ -15971,6 +15968,25 @@ typedef struct Opt_Union_RectShapeOptions_RoundRectShapeOptions { Ark_Tag tag; Ark_Union_RectShapeOptions_RoundRectShapeOptions value; } Opt_Union_RectShapeOptions_RoundRectShapeOptions; +typedef struct Ark_BusinessError { + Ark_String name; + Ark_String message; + Opt_String stack; + Ark_Number code; +} Ark_BusinessError; +typedef struct Opt_BusinessError { + Ark_Tag tag; + Ark_BusinessError value; +} Opt_BusinessError; +typedef struct ErrorCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_BusinessError err); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_BusinessError err); +} ErrorCallback; +typedef struct Opt_ErrorCallback { + Ark_Tag tag; + ErrorCallback value; +} Opt_ErrorCallback; typedef struct Ark_WebHeader { Ark_String headerKey; Ark_String headerValue; @@ -15987,6 +16003,34 @@ typedef struct Opt_Array_WebHeader { Ark_Tag tag; Array_WebHeader value; } Opt_Array_WebHeader; +typedef struct Ark_AnimationOptions { + Opt_Number duration; + Opt_Number iterations; +} Ark_AnimationOptions; +typedef struct Opt_AnimationOptions { + Ark_Tag tag; + Ark_AnimationOptions value; +} Opt_AnimationOptions; +typedef struct Array_PixelMap { + Ark_PixelMap* array; + Ark_Int32 length; +} Array_PixelMap; +typedef struct Opt_Array_PixelMap { + Ark_Tag tag; + Array_PixelMap value; +} Opt_Array_PixelMap; +typedef struct Opt_AnimatedDrawableDescriptor { + Ark_Tag tag; + Ark_AnimatedDrawableDescriptor value; +} Opt_AnimatedDrawableDescriptor; +typedef struct Opt_PixelMapDrawableDescriptor { + Ark_Tag tag; + Ark_PixelMapDrawableDescriptor value; +} Opt_PixelMapDrawableDescriptor; +typedef struct Opt_LayeredDrawableDescriptor { + Ark_Tag tag; + Ark_LayeredDrawableDescriptor value; +} Opt_LayeredDrawableDescriptor; typedef struct Opt_NativePointer { Ark_Tag tag; Ark_NativePointer value; @@ -18465,10 +18509,10 @@ typedef struct GENERATED_ArkUISymbolGlyphModifier { void (*setRenderingStrategy)(Ark_NativePointer node, Ark_SymbolRenderingStrategy value); void (*setSymbolEffect0)(Ark_NativePointer node, - const Ark_SymbolEffect* symbolEffect, + Ark_SymbolEffect symbolEffect, const Opt_Boolean* isActive); void (*setSymbolEffect1)(Ark_NativePointer node, - const Ark_SymbolEffect* symbolEffect, + Ark_SymbolEffect symbolEffect, const Opt_Number* triggerValue); } GENERATED_ArkUISymbolGlyphModifier; @@ -19544,12 +19588,47 @@ typedef struct GENERATED_ArkUISystemOpsAccessor { void (*EndFrame)(Ark_NativePointer root); void (*syncInstanceId)(Ark_Int32 instanceId); void (*restoreInstanceId)(); + Ark_Int32 (*getResourceId)(const Ark_String* bundleName, + const Ark_String* moduleName, + const Array_String* params); } GENERATED_ArkUISystemOpsAccessor; typedef struct GENERATED_ArkUIFocusControllerAccessor { void (*requestFocus)(const Ark_String* key); } GENERATED_ArkUIFocusControllerAccessor; +typedef struct GENERATED_ArkUIDrawableDescriptorAccessor { + void (*destroyPeer)(Ark_DrawableDescriptor peer); + Ark_DrawableDescriptor (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_PixelMap (*getPixelMap)(Ark_DrawableDescriptor peer); +} GENERATED_ArkUIDrawableDescriptorAccessor; + +typedef struct GENERATED_ArkUILayeredDrawableDescriptorAccessor { + void (*destroyPeer)(Ark_LayeredDrawableDescriptor peer); + Ark_LayeredDrawableDescriptor (*ctor)(const Opt_DrawableDescriptor* foreground, + const Opt_DrawableDescriptor* background, + const Opt_DrawableDescriptor* mask); + Ark_NativePointer (*getFinalizer)(); + Ark_DrawableDescriptor (*getForeground)(Ark_LayeredDrawableDescriptor peer); + Ark_DrawableDescriptor (*getBackground)(Ark_LayeredDrawableDescriptor peer); + Ark_DrawableDescriptor (*getMask)(Ark_LayeredDrawableDescriptor peer); + Ark_String (*getMaskClipPath)(); +} GENERATED_ArkUILayeredDrawableDescriptorAccessor; + +typedef struct GENERATED_ArkUIPixelMapDrawableDescriptorAccessor { + void (*destroyPeer)(Ark_PixelMapDrawableDescriptor peer); + Ark_PixelMapDrawableDescriptor (*ctor)(const Opt_PixelMap* src); + Ark_NativePointer (*getFinalizer)(); +} GENERATED_ArkUIPixelMapDrawableDescriptorAccessor; + +typedef struct GENERATED_ArkUIAnimatedDrawableDescriptorAccessor { + void (*destroyPeer)(Ark_AnimatedDrawableDescriptor peer); + Ark_AnimatedDrawableDescriptor (*ctor)(const Array_PixelMap* pixelMaps, + const Opt_AnimationOptions* options); + Ark_NativePointer (*getFinalizer)(); +} GENERATED_ArkUIAnimatedDrawableDescriptorAccessor; + typedef struct GENERATED_ArkUIDrawingCanvasAccessor { void (*destroyPeer)(Ark_DrawingCanvas peer); Ark_DrawingCanvas (*ctor)(Ark_PixelMap pixelmap); @@ -19733,6 +19812,13 @@ typedef struct GENERATED_ArkUIGlobalScope_ohos_measure_utilsAccessor { Ark_SizeOptions (*measureTextSize)(const Ark_MeasureOptions* options); } GENERATED_ArkUIGlobalScope_ohos_measure_utilsAccessor; +typedef struct GENERATED_ArkUISymbolEffectAccessor { + void (*destroyPeer)(Ark_SymbolEffect peer); + Ark_SymbolEffect (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*dummyForAccessorGenerate)(Ark_SymbolEffect peer); +} GENERATED_ArkUISymbolEffectAccessor; + typedef struct GENERATED_ArkUIScaleSymbolEffectAccessor { void (*destroyPeer)(Ark_ScaleSymbolEffect peer); Ark_ScaleSymbolEffect (*ctor)(const Opt_EffectScope* scope, @@ -21362,6 +21448,12 @@ typedef struct GENERATED_ArkUIBounceSymbolEffectAccessor { Ark_EffectDirection direction); } GENERATED_ArkUIBounceSymbolEffectAccessor; +typedef struct GENERATED_ArkUIPulseSymbolEffectAccessor { + void (*destroyPeer)(Ark_PulseSymbolEffect peer); + Ark_PulseSymbolEffect (*ctor)(); + Ark_NativePointer (*getFinalizer)(); +} GENERATED_ArkUIPulseSymbolEffectAccessor; + typedef struct GENERATED_ArkUITabsControllerAccessor { void (*destroyPeer)(Ark_TabsController peer); Ark_TabsController (*ctor)(); @@ -22248,6 +22340,10 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUILazyForEachOpsAccessor* (*getLazyForEachOpsAccessor)(); const GENERATED_ArkUISystemOpsAccessor* (*getSystemOpsAccessor)(); const GENERATED_ArkUIFocusControllerAccessor* (*getFocusControllerAccessor)(); + const GENERATED_ArkUIDrawableDescriptorAccessor* (*getDrawableDescriptorAccessor)(); + const GENERATED_ArkUILayeredDrawableDescriptorAccessor* (*getLayeredDrawableDescriptorAccessor)(); + const GENERATED_ArkUIPixelMapDrawableDescriptorAccessor* (*getPixelMapDrawableDescriptorAccessor)(); + const GENERATED_ArkUIAnimatedDrawableDescriptorAccessor* (*getAnimatedDrawableDescriptorAccessor)(); const GENERATED_ArkUIDrawingCanvasAccessor* (*getDrawingCanvasAccessor)(); const GENERATED_ArkUILengthMetricsAccessor* (*getLengthMetricsAccessor)(); const GENERATED_ArkUIColorMetricsAccessor* (*getColorMetricsAccessor)(); @@ -22262,6 +22358,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIPathShapeAccessor* (*getPathShapeAccessor)(); const GENERATED_ArkUIGlobalScope_ohos_fontAccessor* (*getGlobalScope_ohos_fontAccessor)(); const GENERATED_ArkUIGlobalScope_ohos_measure_utilsAccessor* (*getGlobalScope_ohos_measure_utilsAccessor)(); + const GENERATED_ArkUISymbolEffectAccessor* (*getSymbolEffectAccessor)(); const GENERATED_ArkUIScaleSymbolEffectAccessor* (*getScaleSymbolEffectAccessor)(); const GENERATED_ArkUIReplaceSymbolEffectAccessor* (*getReplaceSymbolEffectAccessor)(); const GENERATED_ArkUIFrameNodeAccessor* (*getFrameNodeAccessor)(); @@ -22351,6 +22448,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIAppearSymbolEffectAccessor* (*getAppearSymbolEffectAccessor)(); const GENERATED_ArkUIDisappearSymbolEffectAccessor* (*getDisappearSymbolEffectAccessor)(); const GENERATED_ArkUIBounceSymbolEffectAccessor* (*getBounceSymbolEffectAccessor)(); + const GENERATED_ArkUIPulseSymbolEffectAccessor* (*getPulseSymbolEffectAccessor)(); const GENERATED_ArkUITabsControllerAccessor* (*getTabsControllerAccessor)(); const GENERATED_ArkUITabContentTransitionProxyAccessor* (*getTabContentTransitionProxyAccessor)(); const GENERATED_ArkUITextControllerAccessor* (*getTextControllerAccessor)(); diff --git a/arkoala/framework/native/src/generated/bridge_generated.cc b/arkoala/framework/native/src/generated/bridge_generated.cc index e0c4f9560317fcf2b6242dfdcd4d100885234659..b8bbea171b96710c645699df53ea92978cdc0971 100644 --- a/arkoala/framework/native/src/generated/bridge_generated.cc +++ b/arkoala/framework/native/src/generated/bridge_generated.cc @@ -6418,7 +6418,7 @@ void impl_ImageInterface_setImageOptions0(Ark_NativePointer thisPtr, KSerializer } else if (src_value_buf_selector == 2) { src_value_buf.selector = 2; - src_value_buf.value2 = thisDeserializer.readDrawableDescriptor(); + src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); } else { INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); @@ -6457,7 +6457,7 @@ void impl_ImageInterface_setImageOptions1(Ark_NativePointer thisPtr, KSerializer } else if (src_value_buf_selector == 2) { src_value_buf.selector = 2; - src_value_buf.value2 = thisDeserializer.readDrawableDescriptor(); + src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); } else if (src_value_buf_selector == 3) { src_value_buf.selector = 3; @@ -6500,7 +6500,7 @@ void impl_ImageInterface_setImageOptions2(Ark_NativePointer thisPtr, KSerializer } else if (src_value_buf_selector == 2) { src_value_buf.selector = 2; - src_value_buf.value2 = thisDeserializer.readDrawableDescriptor(); + src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); } else { INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); @@ -7587,7 +7587,7 @@ void impl_MediaCachedImageInterface_setMediaCachedImageOptions(Ark_NativePointer } else if (src_value_buf_selector == 2) { src_value_buf.selector = 2; - src_value_buf.value2 = thisDeserializer.readDrawableDescriptor(); + src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); } else if (src_value_buf_selector == 3) { src_value_buf.selector = 3; @@ -12608,10 +12608,9 @@ void impl_SymbolGlyphAttribute_renderingStrategy(Ark_NativePointer thisPtr, Ark_ GetNodeModifiers()->getSymbolGlyphModifier()->setRenderingStrategy(self, static_cast(value)); } KOALA_INTEROP_DIRECT_V2(SymbolGlyphAttribute_renderingStrategy, Ark_NativePointer, Ark_Int32) -void impl_SymbolGlyphAttribute_symbolEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_SymbolGlyphAttribute_symbolEffect0(Ark_NativePointer thisPtr, Ark_NativePointer symbolEffect, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_SymbolEffect symbolEffect_value = thisDeserializer.readSymbolEffect();; const auto isActive_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean isActive_value_buf = {}; isActive_value_buf.tag = isActive_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -12620,13 +12619,12 @@ void impl_SymbolGlyphAttribute_symbolEffect0(Ark_NativePointer thisPtr, KSeriali isActive_value_buf.value = thisDeserializer.readBoolean(); } Opt_Boolean isActive_value = isActive_value_buf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect0(self, (const Ark_SymbolEffect*)&symbolEffect_value, (const Opt_Boolean*)&isActive_value); + GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect0(self, static_cast(symbolEffect), (const Opt_Boolean*)&isActive_value); } -KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_symbolEffect0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolGlyphAttribute_symbolEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(SymbolGlyphAttribute_symbolEffect0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolGlyphAttribute_symbolEffect1(Ark_NativePointer thisPtr, Ark_NativePointer symbolEffect, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_SymbolEffect symbolEffect_value = thisDeserializer.readSymbolEffect();; const auto triggerValue_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number triggerValue_value_buf = {}; triggerValue_value_buf.tag = triggerValue_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -12635,9 +12633,9 @@ void impl_SymbolGlyphAttribute_symbolEffect1(Ark_NativePointer thisPtr, KSeriali triggerValue_value_buf.value = static_cast(thisDeserializer.readNumber()); } Opt_Number triggerValue_value = triggerValue_value_buf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect1(self, (const Ark_SymbolEffect*)&symbolEffect_value, (const Opt_Number*)&triggerValue_value); + GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect1(self, static_cast(symbolEffect), (const Opt_Number*)&triggerValue_value); } -KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_symbolEffect1, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V4(SymbolGlyphAttribute_symbolEffect1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_SymbolSpan_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getSymbolSpanModifier()->construct(id, flags); } @@ -17081,10 +17079,130 @@ void impl_SystemOps_restoreInstanceId() { GetAccessors()->getSystemOpsAccessor()->restoreInstanceId(); } KOALA_INTEROP_DIRECT_V0(SystemOps_restoreInstanceId) +Ark_Int32 impl_SystemOps_getResourceId(const KStringPtr& bundleName, const KStringPtr& moduleName, KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 params_value_buf_length = thisDeserializer.readInt32(); + Array_String params_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(¶ms_value_buf, params_value_buf_length); + for (int params_value_buf_i = 0; params_value_buf_i < params_value_buf_length; params_value_buf_i++) { + params_value_buf.array[params_value_buf_i] = static_cast(thisDeserializer.readString()); + } + Array_String params_value = params_value_buf;; + return GetAccessors()->getSystemOpsAccessor()->getResourceId((const Ark_String*) (&bundleName), (const Ark_String*) (&moduleName), (const Array_String*)¶ms_value); +} +KOALA_INTEROP_4(SystemOps_getResourceId, Ark_Int32, KStringPtr, KStringPtr, KSerializerBuffer, int32_t) void impl_FocusController_requestFocus(const KStringPtr& key) { GetAccessors()->getFocusControllerAccessor()->requestFocus((const Ark_String*) (&key)); } KOALA_INTEROP_V1(FocusController_requestFocus, KStringPtr) +Ark_NativePointer impl_DrawableDescriptor_ctor() { + return GetAccessors()->getDrawableDescriptorAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(DrawableDescriptor_ctor, Ark_NativePointer) +Ark_NativePointer impl_DrawableDescriptor_getFinalizer() { + return GetAccessors()->getDrawableDescriptorAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(DrawableDescriptor_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_DrawableDescriptor_getPixelMap(Ark_NativePointer thisPtr) { + Ark_DrawableDescriptor self = reinterpret_cast(thisPtr); + return GetAccessors()->getDrawableDescriptorAccessor()->getPixelMap(self); +} +KOALA_INTEROP_DIRECT_1(DrawableDescriptor_getPixelMap, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_LayeredDrawableDescriptor_ctor(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto foreground_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DrawableDescriptor foreground_value_buf = {}; + foreground_value_buf.tag = foreground_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (foreground_value_buf_runtimeType)) + { + foreground_value_buf.value = static_cast(thisDeserializer.readDrawableDescriptor()); + } + Opt_DrawableDescriptor foreground_value = foreground_value_buf;; + const auto background_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DrawableDescriptor background_value_buf = {}; + background_value_buf.tag = background_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (background_value_buf_runtimeType)) + { + background_value_buf.value = static_cast(thisDeserializer.readDrawableDescriptor()); + } + Opt_DrawableDescriptor background_value = background_value_buf;; + const auto mask_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DrawableDescriptor mask_value_buf = {}; + mask_value_buf.tag = mask_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType)) + { + mask_value_buf.value = static_cast(thisDeserializer.readDrawableDescriptor()); + } + Opt_DrawableDescriptor mask_value = mask_value_buf;; + return GetAccessors()->getLayeredDrawableDescriptorAccessor()->ctor((const Opt_DrawableDescriptor*)&foreground_value, (const Opt_DrawableDescriptor*)&background_value, (const Opt_DrawableDescriptor*)&mask_value); +} +KOALA_INTEROP_DIRECT_2(LayeredDrawableDescriptor_ctor, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_LayeredDrawableDescriptor_getFinalizer() { + return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(LayeredDrawableDescriptor_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_LayeredDrawableDescriptor_getForeground(Ark_NativePointer thisPtr) { + Ark_LayeredDrawableDescriptor self = reinterpret_cast(thisPtr); + return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getForeground(self); +} +KOALA_INTEROP_DIRECT_1(LayeredDrawableDescriptor_getForeground, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_LayeredDrawableDescriptor_getBackground(Ark_NativePointer thisPtr) { + Ark_LayeredDrawableDescriptor self = reinterpret_cast(thisPtr); + return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getBackground(self); +} +KOALA_INTEROP_DIRECT_1(LayeredDrawableDescriptor_getBackground, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_LayeredDrawableDescriptor_getMask(Ark_NativePointer thisPtr) { + Ark_LayeredDrawableDescriptor self = reinterpret_cast(thisPtr); + return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getMask(self); +} +KOALA_INTEROP_DIRECT_1(LayeredDrawableDescriptor_getMask, Ark_NativePointer, Ark_NativePointer) +Ark_String impl_LayeredDrawableDescriptor_getMaskClipPath() { + return GetAccessors()->getLayeredDrawableDescriptorAccessor()->getMaskClipPath(); +} +KOALA_INTEROP_0(LayeredDrawableDescriptor_getMaskClipPath, KStringPtr) +Ark_NativePointer impl_PixelMapDrawableDescriptor_ctor(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto src_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PixelMap src_value_buf = {}; + src_value_buf.tag = src_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (src_value_buf_runtimeType)) + { + src_value_buf.value = static_cast(thisDeserializer.readPixelMap()); + } + Opt_PixelMap src_value = src_value_buf;; + return GetAccessors()->getPixelMapDrawableDescriptorAccessor()->ctor((const Opt_PixelMap*)&src_value); +} +KOALA_INTEROP_DIRECT_2(PixelMapDrawableDescriptor_ctor, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_PixelMapDrawableDescriptor_getFinalizer() { + return GetAccessors()->getPixelMapDrawableDescriptorAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(PixelMapDrawableDescriptor_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_AnimatedDrawableDescriptor_ctor(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 pixelMaps_value_buf_length = thisDeserializer.readInt32(); + Array_PixelMap pixelMaps_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&pixelMaps_value_buf, pixelMaps_value_buf_length); + for (int pixelMaps_value_buf_i = 0; pixelMaps_value_buf_i < pixelMaps_value_buf_length; pixelMaps_value_buf_i++) { + pixelMaps_value_buf.array[pixelMaps_value_buf_i] = static_cast(thisDeserializer.readPixelMap()); + } + Array_PixelMap pixelMaps_value = pixelMaps_value_buf;; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_AnimationOptions 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.readAnimationOptions(); + } + Opt_AnimationOptions options_value = options_value_buf;; + return GetAccessors()->getAnimatedDrawableDescriptorAccessor()->ctor((const Array_PixelMap*)&pixelMaps_value, (const Opt_AnimationOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_2(AnimatedDrawableDescriptor_ctor, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_AnimatedDrawableDescriptor_getFinalizer() { + return GetAccessors()->getAnimatedDrawableDescriptorAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(AnimatedDrawableDescriptor_getFinalizer, Ark_NativePointer) Ark_NativePointer impl_DrawingCanvas_ctor(Ark_NativePointer pixelmap) { return GetAccessors()->getDrawingCanvasAccessor()->ctor(static_cast(pixelmap)); } @@ -17831,6 +17949,19 @@ KInteropReturnBuffer impl_GlobalScope_ohos_measure_utils_measureTextSize(KSerial return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(GlobalScope_ohos_measure_utils_measureTextSize, KInteropReturnBuffer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_SymbolEffect_ctor() { + return GetAccessors()->getSymbolEffectAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(SymbolEffect_ctor, Ark_NativePointer) +Ark_NativePointer impl_SymbolEffect_getFinalizer() { + return GetAccessors()->getSymbolEffectAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(SymbolEffect_getFinalizer, Ark_NativePointer) +void impl_SymbolEffect_dummyForAccessorGenerate(Ark_NativePointer thisPtr) { + Ark_SymbolEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getSymbolEffectAccessor()->dummyForAccessorGenerate(self); +} +KOALA_INTEROP_DIRECT_V1(SymbolEffect_dummyForAccessorGenerate, Ark_NativePointer) Ark_NativePointer impl_ScaleSymbolEffect_ctor(KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); const auto scope_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -18024,7 +18155,7 @@ Ark_Boolean impl_PixelMap_getIsStrideAlignment(Ark_NativePointer thisPtr) { KOALA_INTEROP_DIRECT_1(PixelMap_getIsStrideAlignment, Ark_Boolean, Ark_NativePointer) void impl_NavExtender_setUpdateStackCallback(Ark_NativePointer peer, KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); - NavExtender_OnUpdateStack callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_NavExtender_OnUpdateStack)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_NavExtender_OnUpdateStack))))};; + NavExtender_OnUpdateStack callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_NavExtender_OnUpdateStack)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_NavExtender_OnUpdateStack))))};; GetAccessors()->getNavExtenderAccessor()->setUpdateStackCallback(static_cast(peer), (const NavExtender_OnUpdateStack*)&callback_value); } KOALA_INTEROP_DIRECT_V3(NavExtender_setUpdateStackCallback, Ark_NativePointer, KSerializerBuffer, int32_t) @@ -23132,6 +23263,14 @@ void impl_BounceSymbolEffect_setDirection(Ark_NativePointer thisPtr, Ark_Int32 d GetAccessors()->getBounceSymbolEffectAccessor()->setDirection(self, static_cast(direction)); } KOALA_INTEROP_DIRECT_V2(BounceSymbolEffect_setDirection, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_PulseSymbolEffect_ctor() { + return GetAccessors()->getPulseSymbolEffectAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_ctor, Ark_NativePointer) +Ark_NativePointer impl_PulseSymbolEffect_getFinalizer() { + return GetAccessors()->getPulseSymbolEffectAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_getFinalizer, Ark_NativePointer) Ark_NativePointer impl_TabsController_ctor() { return GetAccessors()->getTabsControllerAccessor()->ctor(); } diff --git a/arkoala/framework/native/src/generated/callback_deserialize_call.cc b/arkoala/framework/native/src/generated/callback_deserialize_call.cc index 9c0e915cb54e45008b9fd58b335a4ae601fd8996..448e9f40a7a024ec02f412a8c843c77c17881d57 100644 --- a/arkoala/framework/native/src/generated/callback_deserialize_call.cc +++ b/arkoala/framework/native/src/generated/callback_deserialize_call.cc @@ -19,7 +19,6 @@ #include "callbacks.h" #include "common-interop.h" #include "arkoala_api_generated.h" - void deserializeAndCallAccessibilityCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -3884,17 +3883,19 @@ void deserializeAndCallNavExtender_OnUpdateStack(KSerializerBuffer thisArray, Ar { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - _call(_resourceId); + Ark_String name = static_cast(thisDeserializer.readString()); + _call(_resourceId, name); } void deserializeAndCallSyncNavExtender_OnUpdateStack(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - _callSync(vmContext, _resourceId); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_String name = static_cast(thisDeserializer.readString()); + _callSync(vmContext, _resourceId, name); } void deserializeAndCallOnAdsBlockedCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { diff --git a/arkoala/framework/native/src/generated/callback_managed_caller.cc b/arkoala/framework/native/src/generated/callback_managed_caller.cc index 496daff9f834e482ff60ae435889b18c70f91f46..bfcc001b86cce38fcecb145a6b818909df11cbfd 100644 --- a/arkoala/framework/native/src/generated/callback_managed_caller.cc +++ b/arkoala/framework/native/src/generated/callback_managed_caller.cc @@ -4268,7 +4268,7 @@ void callManagedMenuOnAppearCallbackSync(Ark_VMContext vmContext, Ark_Int32 reso argsSerializer.writeNumber(end); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } -void callManagedNavExtender_OnUpdateStack(Ark_Int32 resourceId) +void callManagedNavExtender_OnUpdateStack(Ark_Int32 resourceId, Ark_String name) { CallbackBuffer _buffer = {{}, {}}; const Ark_CallbackResource _callbackResource = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; @@ -4276,14 +4276,16 @@ void callManagedNavExtender_OnUpdateStack(Ark_Int32 resourceId) Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); argsSerializer.writeInt32(Kind_NavExtender_OnUpdateStack); argsSerializer.writeInt32(resourceId); + argsSerializer.writeString(name); enqueueCallback(&_buffer); } -void callManagedNavExtender_OnUpdateStackSync(Ark_VMContext vmContext, Ark_Int32 resourceId) +void callManagedNavExtender_OnUpdateStackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_String name) { uint8_t _buffer[60 * 4]; Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); argsSerializer.writeInt32(Kind_NavExtender_OnUpdateStack); argsSerializer.writeInt32(resourceId); + argsSerializer.writeString(name); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } void callManagedOnAdsBlockedCallback(Ark_Int32 resourceId, Ark_AdsBlockedDetails details) diff --git a/arkoala/framework/native/src/generated/dummy_impl.cc b/arkoala/framework/native/src/generated/dummy_impl.cc index 7a932e52cd75147a2a9e964fe095b2e428695e19..d33346f99d5e0a3809fbec899778bb6ca5ad02ae 100644 --- a/arkoala/framework/native/src/generated/dummy_impl.cc +++ b/arkoala/framework/native/src/generated/dummy_impl.cc @@ -12648,7 +12648,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SymbolEffect0Impl(Ark_NativePointer node, - const Ark_SymbolEffect* symbolEffect, + Ark_SymbolEffect symbolEffect, const Opt_Boolean* isActive) { if (!needGroupedLog(1)) @@ -12661,7 +12661,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SymbolEffect1Impl(Ark_NativePointer node, - const Ark_SymbolEffect* symbolEffect, + Ark_SymbolEffect symbolEffect, const Opt_Number* triggerValue) { if (!needGroupedLog(1)) @@ -20266,6 +20266,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + Ark_Int32 GetResourceIdImpl(const Ark_String* bundleName, + const Ark_String* moduleName, + const Array_String* params) + { + if (!needGroupedLog(1)) + return 0; + string out("getResourceId("); + WriteToString(&out, bundleName); + out.append(", "); + WriteToString(&out, moduleName); + out.append(", "); + WriteToString(&out, params); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } } // SystemOpsAccessor namespace FocusControllerAccessor { void RequestFocusImpl(const Ark_String* key) @@ -20278,6 +20295,188 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // FocusControllerAccessor + namespace DrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_DrawableDescriptor peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_DrawableDescriptor CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_DrawableDescriptor) 100; + string out("new DrawableDescriptor("); + out.append(") \n"); + out.append("[return (Ark_DrawableDescriptor) 100] \n"); + appendGroupedLog(1, out); + return (Ark_DrawableDescriptor) 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_PixelMap GetPixelMapImpl(Ark_DrawableDescriptor peer) + { + if (!needGroupedLog(1)) + return (Ark_PixelMap) 300; + string out("getPixelMap("); + out.append(") \n"); + out.append("[return (Ark_PixelMap) 300] \n"); + appendGroupedLog(1, out); + return (Ark_PixelMap) 300; + } + } // DrawableDescriptorAccessor + namespace LayeredDrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_LayeredDrawableDescriptor peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_LayeredDrawableDescriptor CtorImpl(const Opt_DrawableDescriptor* foreground, + const Opt_DrawableDescriptor* background, + const Opt_DrawableDescriptor* mask) + { + if (!needGroupedLog(1)) + return (Ark_LayeredDrawableDescriptor) 100; + string out("new LayeredDrawableDescriptor("); + WriteToString(&out, foreground); + out.append(", "); + WriteToString(&out, background); + out.append(", "); + WriteToString(&out, mask); + out.append(") \n"); + out.append("[return (Ark_LayeredDrawableDescriptor) 100] \n"); + appendGroupedLog(1, out); + return (Ark_LayeredDrawableDescriptor) 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_DrawableDescriptor GetForegroundImpl(Ark_LayeredDrawableDescriptor peer) + { + if (!needGroupedLog(1)) + return (Ark_DrawableDescriptor) 300; + string out("getForeground("); + out.append(") \n"); + out.append("[return (Ark_DrawableDescriptor) 300] \n"); + appendGroupedLog(1, out); + return (Ark_DrawableDescriptor) 300; + } + Ark_DrawableDescriptor GetBackgroundImpl(Ark_LayeredDrawableDescriptor peer) + { + if (!needGroupedLog(1)) + return (Ark_DrawableDescriptor) 300; + string out("getBackground("); + out.append(") \n"); + out.append("[return (Ark_DrawableDescriptor) 300] \n"); + appendGroupedLog(1, out); + return (Ark_DrawableDescriptor) 300; + } + Ark_DrawableDescriptor GetMaskImpl(Ark_LayeredDrawableDescriptor peer) + { + if (!needGroupedLog(1)) + return (Ark_DrawableDescriptor) 300; + string out("getMask("); + out.append(") \n"); + out.append("[return (Ark_DrawableDescriptor) 300] \n"); + appendGroupedLog(1, out); + return (Ark_DrawableDescriptor) 300; + } + Ark_String GetMaskClipPathImpl() + { + if (!needGroupedLog(1)) + return {}; + string out("getMaskClipPath("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + } // LayeredDrawableDescriptorAccessor + namespace PixelMapDrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_PixelMapDrawableDescriptor peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_PixelMapDrawableDescriptor CtorImpl(const Opt_PixelMap* src) + { + if (!needGroupedLog(1)) + return (Ark_PixelMapDrawableDescriptor) 100; + string out("new PixelMapDrawableDescriptor("); + WriteToString(&out, src); + out.append(") \n"); + out.append("[return (Ark_PixelMapDrawableDescriptor) 100] \n"); + appendGroupedLog(1, out); + return (Ark_PixelMapDrawableDescriptor) 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); + } + } // PixelMapDrawableDescriptorAccessor + namespace AnimatedDrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_AnimatedDrawableDescriptor peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_AnimatedDrawableDescriptor CtorImpl(const Array_PixelMap* pixelMaps, + const Opt_AnimationOptions* options) + { + if (!needGroupedLog(1)) + return (Ark_AnimatedDrawableDescriptor) 100; + string out("new AnimatedDrawableDescriptor("); + WriteToString(&out, pixelMaps); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + out.append("[return (Ark_AnimatedDrawableDescriptor) 100] \n"); + appendGroupedLog(1, out); + return (Ark_AnimatedDrawableDescriptor) 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); + } + } // AnimatedDrawableDescriptorAccessor namespace DrawingCanvasAccessor { void DestroyPeerImpl(Ark_DrawingCanvas peer) { @@ -21319,6 +21518,44 @@ namespace OHOS::Ace::NG::GeneratedModifier { return {}; } } // GlobalScope_ohos_measure_utilsAccessor + namespace SymbolEffectAccessor { + void DestroyPeerImpl(Ark_SymbolEffect peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_SymbolEffect CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_SymbolEffect) 100; + string out("new SymbolEffect("); + out.append(") \n"); + out.append("[return (Ark_SymbolEffect) 100] \n"); + appendGroupedLog(1, out); + return (Ark_SymbolEffect) 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 DummyForAccessorGenerateImpl(Ark_SymbolEffect peer) + { + if (!needGroupedLog(1)) + return; + string out("dummyForAccessorGenerate("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // SymbolEffectAccessor namespace ScaleSymbolEffectAccessor { void DestroyPeerImpl(Ark_ScaleSymbolEffect peer) { @@ -30230,6 +30467,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // BounceSymbolEffectAccessor + namespace PulseSymbolEffectAccessor { + void DestroyPeerImpl(Ark_PulseSymbolEffect peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_PulseSymbolEffect CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_PulseSymbolEffect) 100; + string out("new PulseSymbolEffect("); + out.append(") \n"); + out.append("[return (Ark_PulseSymbolEffect) 100] \n"); + appendGroupedLog(1, out); + return (Ark_PulseSymbolEffect) 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); + } + } // PulseSymbolEffectAccessor namespace TabsControllerAccessor { void DestroyPeerImpl(Ark_TabsController peer) { @@ -34657,6 +34924,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SystemOpsAccessor::EndFrameImpl, SystemOpsAccessor::SyncInstanceIdImpl, SystemOpsAccessor::RestoreInstanceIdImpl, + SystemOpsAccessor::GetResourceIdImpl, }; return &SystemOpsAccessorImpl; } @@ -34669,6 +34937,63 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &FocusControllerAccessorImpl; } + const GENERATED_ArkUIDrawableDescriptorAccessor* GetDrawableDescriptorAccessor() + { + static const GENERATED_ArkUIDrawableDescriptorAccessor DrawableDescriptorAccessorImpl { + DrawableDescriptorAccessor::DestroyPeerImpl, + DrawableDescriptorAccessor::CtorImpl, + DrawableDescriptorAccessor::GetFinalizerImpl, + DrawableDescriptorAccessor::GetPixelMapImpl, + }; + return &DrawableDescriptorAccessorImpl; + } + + struct DrawableDescriptorPeer { + virtual ~DrawableDescriptorPeer() = default; + }; + const GENERATED_ArkUILayeredDrawableDescriptorAccessor* GetLayeredDrawableDescriptorAccessor() + { + static const GENERATED_ArkUILayeredDrawableDescriptorAccessor LayeredDrawableDescriptorAccessorImpl { + LayeredDrawableDescriptorAccessor::DestroyPeerImpl, + LayeredDrawableDescriptorAccessor::CtorImpl, + LayeredDrawableDescriptorAccessor::GetFinalizerImpl, + LayeredDrawableDescriptorAccessor::GetForegroundImpl, + LayeredDrawableDescriptorAccessor::GetBackgroundImpl, + LayeredDrawableDescriptorAccessor::GetMaskImpl, + LayeredDrawableDescriptorAccessor::GetMaskClipPathImpl, + }; + return &LayeredDrawableDescriptorAccessorImpl; + } + + struct LayeredDrawableDescriptorPeer { + virtual ~LayeredDrawableDescriptorPeer() = default; + }; + const GENERATED_ArkUIPixelMapDrawableDescriptorAccessor* GetPixelMapDrawableDescriptorAccessor() + { + static const GENERATED_ArkUIPixelMapDrawableDescriptorAccessor PixelMapDrawableDescriptorAccessorImpl { + PixelMapDrawableDescriptorAccessor::DestroyPeerImpl, + PixelMapDrawableDescriptorAccessor::CtorImpl, + PixelMapDrawableDescriptorAccessor::GetFinalizerImpl, + }; + return &PixelMapDrawableDescriptorAccessorImpl; + } + + struct PixelMapDrawableDescriptorPeer { + virtual ~PixelMapDrawableDescriptorPeer() = default; + }; + const GENERATED_ArkUIAnimatedDrawableDescriptorAccessor* GetAnimatedDrawableDescriptorAccessor() + { + static const GENERATED_ArkUIAnimatedDrawableDescriptorAccessor AnimatedDrawableDescriptorAccessorImpl { + AnimatedDrawableDescriptorAccessor::DestroyPeerImpl, + AnimatedDrawableDescriptorAccessor::CtorImpl, + AnimatedDrawableDescriptorAccessor::GetFinalizerImpl, + }; + return &AnimatedDrawableDescriptorAccessorImpl; + } + + struct AnimatedDrawableDescriptorPeer { + virtual ~AnimatedDrawableDescriptorPeer() = default; + }; const GENERATED_ArkUIDrawingCanvasAccessor* GetDrawingCanvasAccessor() { static const GENERATED_ArkUIDrawingCanvasAccessor DrawingCanvasAccessorImpl { @@ -34889,6 +35214,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &GlobalScope_ohos_measure_utilsAccessorImpl; } + const GENERATED_ArkUISymbolEffectAccessor* GetSymbolEffectAccessor() + { + static const GENERATED_ArkUISymbolEffectAccessor SymbolEffectAccessorImpl { + SymbolEffectAccessor::DestroyPeerImpl, + SymbolEffectAccessor::CtorImpl, + SymbolEffectAccessor::GetFinalizerImpl, + SymbolEffectAccessor::DummyForAccessorGenerateImpl, + }; + return &SymbolEffectAccessorImpl; + } + + struct SymbolEffectPeer { + virtual ~SymbolEffectPeer() = default; + }; const GENERATED_ArkUIScaleSymbolEffectAccessor* GetScaleSymbolEffectAccessor() { static const GENERATED_ArkUIScaleSymbolEffectAccessor ScaleSymbolEffectAccessorImpl { @@ -36576,6 +36915,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct BounceSymbolEffectPeer { virtual ~BounceSymbolEffectPeer() = default; }; + const GENERATED_ArkUIPulseSymbolEffectAccessor* GetPulseSymbolEffectAccessor() + { + static const GENERATED_ArkUIPulseSymbolEffectAccessor PulseSymbolEffectAccessorImpl { + PulseSymbolEffectAccessor::DestroyPeerImpl, + PulseSymbolEffectAccessor::CtorImpl, + PulseSymbolEffectAccessor::GetFinalizerImpl, + }; + return &PulseSymbolEffectAccessorImpl; + } + + struct PulseSymbolEffectPeer { + virtual ~PulseSymbolEffectPeer() = default; + }; const GENERATED_ArkUITabsControllerAccessor* GetTabsControllerAccessor() { static const GENERATED_ArkUITabsControllerAccessor TabsControllerAccessorImpl { @@ -37595,6 +37947,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetLazyForEachOpsAccessor, GetSystemOpsAccessor, GetFocusControllerAccessor, + GetDrawableDescriptorAccessor, + GetLayeredDrawableDescriptorAccessor, + GetPixelMapDrawableDescriptorAccessor, + GetAnimatedDrawableDescriptorAccessor, GetDrawingCanvasAccessor, GetLengthMetricsAccessor, GetColorMetricsAccessor, @@ -37609,6 +37965,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetPathShapeAccessor, GetGlobalScope_ohos_fontAccessor, GetGlobalScope_ohos_measure_utilsAccessor, + GetSymbolEffectAccessor, GetScaleSymbolEffectAccessor, GetReplaceSymbolEffectAccessor, GetFrameNodeAccessor, @@ -37698,6 +38055,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetAppearSymbolEffectAccessor, GetDisappearSymbolEffectAccessor, GetBounceSymbolEffectAccessor, + GetPulseSymbolEffectAccessor, GetTabsControllerAccessor, GetTabContentTransitionProxyAccessor, GetTextControllerAccessor, diff --git a/arkoala/framework/native/src/generated/real_impl.cc b/arkoala/framework/native/src/generated/real_impl.cc index aa6b34ec55ac0f03cb3003e5986efd41da9863e1..aba392b94b182353220ec3460021841287e36521 100644 --- a/arkoala/framework/native/src/generated/real_impl.cc +++ b/arkoala/framework/native/src/generated/real_impl.cc @@ -5855,12 +5855,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SymbolEffect0Impl(Ark_NativePointer node, - const Ark_SymbolEffect* symbolEffect, + Ark_SymbolEffect symbolEffect, const Opt_Boolean* isActive) { } void SymbolEffect1Impl(Ark_NativePointer node, - const Ark_SymbolEffect* symbolEffect, + Ark_SymbolEffect symbolEffect, const Opt_Number* triggerValue) { } @@ -10456,12 +10456,109 @@ namespace OHOS::Ace::NG::GeneratedModifier { void RestoreInstanceIdImpl() { } + Ark_Int32 GetResourceIdImpl(const Ark_String* bundleName, + const Ark_String* moduleName, + const Array_String* params) + { + return {}; + } } // SystemOpsAccessor namespace FocusControllerAccessor { void RequestFocusImpl(const Ark_String* key) { } } // FocusControllerAccessor + namespace DrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_DrawableDescriptor peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_DrawableDescriptor CtorImpl() + { + return new DrawableDescriptorPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_PixelMap GetPixelMapImpl(Ark_DrawableDescriptor peer) + { + return {}; + } + } // DrawableDescriptorAccessor + namespace LayeredDrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_LayeredDrawableDescriptor peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_LayeredDrawableDescriptor CtorImpl(const Opt_DrawableDescriptor* foreground, + const Opt_DrawableDescriptor* background, + const Opt_DrawableDescriptor* mask) + { + return new LayeredDrawableDescriptorPeer(foreground, background, mask); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_DrawableDescriptor GetForegroundImpl(Ark_LayeredDrawableDescriptor peer) + { + return {}; + } + Ark_DrawableDescriptor GetBackgroundImpl(Ark_LayeredDrawableDescriptor peer) + { + return {}; + } + Ark_DrawableDescriptor GetMaskImpl(Ark_LayeredDrawableDescriptor peer) + { + return {}; + } + Ark_String GetMaskClipPathImpl() + { + return {}; + } + } // LayeredDrawableDescriptorAccessor + namespace PixelMapDrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_PixelMapDrawableDescriptor peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_PixelMapDrawableDescriptor CtorImpl(const Opt_PixelMap* src) + { + return new PixelMapDrawableDescriptorPeer(src); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + } // PixelMapDrawableDescriptorAccessor + namespace AnimatedDrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_AnimatedDrawableDescriptor peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_AnimatedDrawableDescriptor CtorImpl(const Array_PixelMap* pixelMaps, + const Opt_AnimationOptions* options) + { + return new AnimatedDrawableDescriptorPeer(pixelMaps, options); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + } // AnimatedDrawableDescriptorAccessor namespace DrawingCanvasAccessor { void DestroyPeerImpl(Ark_DrawingCanvas peer) { @@ -10927,6 +11024,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { return {}; } } // GlobalScope_ohos_measure_utilsAccessor + namespace SymbolEffectAccessor { + void DestroyPeerImpl(Ark_SymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_SymbolEffect CtorImpl() + { + return new SymbolEffectPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void DummyForAccessorGenerateImpl(Ark_SymbolEffect peer) + { + } + } // SymbolEffectAccessor namespace ScaleSymbolEffectAccessor { void DestroyPeerImpl(Ark_ScaleSymbolEffect peer) { @@ -14892,6 +15009,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // BounceSymbolEffectAccessor + namespace PulseSymbolEffectAccessor { + void DestroyPeerImpl(Ark_PulseSymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_PulseSymbolEffect CtorImpl() + { + return new PulseSymbolEffectPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + } // PulseSymbolEffectAccessor namespace TabsControllerAccessor { void DestroyPeerImpl(Ark_TabsController peer) { @@ -16953,6 +17087,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SystemOpsAccessor::EndFrameImpl, SystemOpsAccessor::SyncInstanceIdImpl, SystemOpsAccessor::RestoreInstanceIdImpl, + SystemOpsAccessor::GetResourceIdImpl, }; return &SystemOpsAccessorImpl; } @@ -16965,6 +17100,63 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &FocusControllerAccessorImpl; } + const GENERATED_ArkUIDrawableDescriptorAccessor* GetDrawableDescriptorAccessor() + { + static const GENERATED_ArkUIDrawableDescriptorAccessor DrawableDescriptorAccessorImpl { + DrawableDescriptorAccessor::DestroyPeerImpl, + DrawableDescriptorAccessor::CtorImpl, + DrawableDescriptorAccessor::GetFinalizerImpl, + DrawableDescriptorAccessor::GetPixelMapImpl, + }; + return &DrawableDescriptorAccessorImpl; + } + + struct DrawableDescriptorPeer { + virtual ~DrawableDescriptorPeer() = default; + }; + const GENERATED_ArkUILayeredDrawableDescriptorAccessor* GetLayeredDrawableDescriptorAccessor() + { + static const GENERATED_ArkUILayeredDrawableDescriptorAccessor LayeredDrawableDescriptorAccessorImpl { + LayeredDrawableDescriptorAccessor::DestroyPeerImpl, + LayeredDrawableDescriptorAccessor::CtorImpl, + LayeredDrawableDescriptorAccessor::GetFinalizerImpl, + LayeredDrawableDescriptorAccessor::GetForegroundImpl, + LayeredDrawableDescriptorAccessor::GetBackgroundImpl, + LayeredDrawableDescriptorAccessor::GetMaskImpl, + LayeredDrawableDescriptorAccessor::GetMaskClipPathImpl, + }; + return &LayeredDrawableDescriptorAccessorImpl; + } + + struct LayeredDrawableDescriptorPeer { + virtual ~LayeredDrawableDescriptorPeer() = default; + }; + const GENERATED_ArkUIPixelMapDrawableDescriptorAccessor* GetPixelMapDrawableDescriptorAccessor() + { + static const GENERATED_ArkUIPixelMapDrawableDescriptorAccessor PixelMapDrawableDescriptorAccessorImpl { + PixelMapDrawableDescriptorAccessor::DestroyPeerImpl, + PixelMapDrawableDescriptorAccessor::CtorImpl, + PixelMapDrawableDescriptorAccessor::GetFinalizerImpl, + }; + return &PixelMapDrawableDescriptorAccessorImpl; + } + + struct PixelMapDrawableDescriptorPeer { + virtual ~PixelMapDrawableDescriptorPeer() = default; + }; + const GENERATED_ArkUIAnimatedDrawableDescriptorAccessor* GetAnimatedDrawableDescriptorAccessor() + { + static const GENERATED_ArkUIAnimatedDrawableDescriptorAccessor AnimatedDrawableDescriptorAccessorImpl { + AnimatedDrawableDescriptorAccessor::DestroyPeerImpl, + AnimatedDrawableDescriptorAccessor::CtorImpl, + AnimatedDrawableDescriptorAccessor::GetFinalizerImpl, + }; + return &AnimatedDrawableDescriptorAccessorImpl; + } + + struct AnimatedDrawableDescriptorPeer { + virtual ~AnimatedDrawableDescriptorPeer() = default; + }; const GENERATED_ArkUIDrawingCanvasAccessor* GetDrawingCanvasAccessor() { static const GENERATED_ArkUIDrawingCanvasAccessor DrawingCanvasAccessorImpl { @@ -17185,6 +17377,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &GlobalScope_ohos_measure_utilsAccessorImpl; } + const GENERATED_ArkUISymbolEffectAccessor* GetSymbolEffectAccessor() + { + static const GENERATED_ArkUISymbolEffectAccessor SymbolEffectAccessorImpl { + SymbolEffectAccessor::DestroyPeerImpl, + SymbolEffectAccessor::CtorImpl, + SymbolEffectAccessor::GetFinalizerImpl, + SymbolEffectAccessor::DummyForAccessorGenerateImpl, + }; + return &SymbolEffectAccessorImpl; + } + + struct SymbolEffectPeer { + virtual ~SymbolEffectPeer() = default; + }; const GENERATED_ArkUIScaleSymbolEffectAccessor* GetScaleSymbolEffectAccessor() { static const GENERATED_ArkUIScaleSymbolEffectAccessor ScaleSymbolEffectAccessorImpl { @@ -18872,6 +19078,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct BounceSymbolEffectPeer { virtual ~BounceSymbolEffectPeer() = default; }; + const GENERATED_ArkUIPulseSymbolEffectAccessor* GetPulseSymbolEffectAccessor() + { + static const GENERATED_ArkUIPulseSymbolEffectAccessor PulseSymbolEffectAccessorImpl { + PulseSymbolEffectAccessor::DestroyPeerImpl, + PulseSymbolEffectAccessor::CtorImpl, + PulseSymbolEffectAccessor::GetFinalizerImpl, + }; + return &PulseSymbolEffectAccessorImpl; + } + + struct PulseSymbolEffectPeer { + virtual ~PulseSymbolEffectPeer() = default; + }; const GENERATED_ArkUITabsControllerAccessor* GetTabsControllerAccessor() { static const GENERATED_ArkUITabsControllerAccessor TabsControllerAccessorImpl { @@ -19891,6 +20110,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetLazyForEachOpsAccessor, GetSystemOpsAccessor, GetFocusControllerAccessor, + GetDrawableDescriptorAccessor, + GetLayeredDrawableDescriptorAccessor, + GetPixelMapDrawableDescriptorAccessor, + GetAnimatedDrawableDescriptorAccessor, GetDrawingCanvasAccessor, GetLengthMetricsAccessor, GetColorMetricsAccessor, @@ -19905,6 +20128,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetPathShapeAccessor, GetGlobalScope_ohos_fontAccessor, GetGlobalScope_ohos_measure_utilsAccessor, + GetSymbolEffectAccessor, GetScaleSymbolEffectAccessor, GetReplaceSymbolEffectAccessor, GetFrameNodeAccessor, @@ -19994,6 +20218,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetAppearSymbolEffectAccessor, GetDisappearSymbolEffectAccessor, GetBounceSymbolEffectAccessor, + GetPulseSymbolEffectAccessor, GetTabsControllerAccessor, GetTabContentTransitionProxyAccessor, GetTextControllerAccessor, diff --git a/arkoala/framework/src/generated/ArkUINativeModule.ts b/arkoala/framework/src/generated/ArkUINativeModule.ts index 4fb19f74283311530abca887b7278e0dce7982f6..832af4298feb7a7257ce703f6876314db3ea5b6a 100644 --- a/arkoala/framework/src/generated/ArkUINativeModule.ts +++ b/arkoala/framework/src/generated/ArkUINativeModule.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, NativeBuffer, KSerializerBuffer, loadNativeModuleLibrary, withByteArray, Access, callCallback, nullptr, InteropNativeModule, providePlatformDefinedData, NativeStringBase, ArrayDecoder, CallbackRegistry } from "@koalaui/interop" +import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, KSerializerBuffer, loadNativeModuleLibrary, NativeBuffer, withByteArray, Access, callCallback, nullptr, InteropNativeModule, providePlatformDefinedData, NativeStringBase, ArrayDecoder, CallbackRegistry } from "@koalaui/interop" import { int32, float32 } from "@koalaui/common" export class ArkUINativeModule { diff --git a/arkoala/framework/src/generated/ArkUINativeModuleEmpty.ts b/arkoala/framework/src/generated/ArkUINativeModuleEmpty.ts index f4b003ca418cefbfb9a01b950191a0e85968bf08..b932664ae86fbef84a58b582c088dadaae964c4c 100644 --- a/arkoala/framework/src/generated/ArkUINativeModuleEmpty.ts +++ b/arkoala/framework/src/generated/ArkUINativeModuleEmpty.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, NativeBuffer, KSerializerBuffer } from "@koalaui/interop" +import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, KSerializerBuffer, loadNativeModuleLibrary, NativeBuffer } from "@koalaui/interop" import { int32, float32 } from "@koalaui/common" export class ArkUINativeModuleEmpty { diff --git a/arkoala/framework/src/generated/TestNativeModule.ts b/arkoala/framework/src/generated/TestNativeModule.ts index 0a5aae9d97c87294931b84fe5322b9b0c16b965f..72a6ff85c76c201d290f39ceb3794249bfd0ca82 100644 --- a/arkoala/framework/src/generated/TestNativeModule.ts +++ b/arkoala/framework/src/generated/TestNativeModule.ts @@ -13,8 +13,8 @@ * limitations under the License. */ -import { KPointer, NativeBuffer, loadNativeModuleLibrary } from "@koalaui/interop" -import { int32 } from "@koalaui/common" +import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, KSerializerBuffer, loadNativeModuleLibrary, NativeBuffer } from "@koalaui/interop" +import { int32, float32 } from "@koalaui/common" export class TestNativeModule { private static _isLoaded: boolean = false diff --git a/arkoala/framework/src/generated/TestNativeModuleEmpty.ts b/arkoala/framework/src/generated/TestNativeModuleEmpty.ts index 151c32f9d1cbf5bffa0e0d369c0b018b2e399839..bb259e7173600ec5d4a01f75093628a089905eb1 100644 --- a/arkoala/framework/src/generated/TestNativeModuleEmpty.ts +++ b/arkoala/framework/src/generated/TestNativeModuleEmpty.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, NativeBuffer, KSerializerBuffer } from "@koalaui/interop" +import { KInt, KLong, KBoolean, KFloat, KUInt, KStringPtr, KPointer, KNativePointer, KInt32ArrayPtr, KUint8ArrayPtr, KFloat32ArrayPtr, pointer, KInteropReturnBuffer, KSerializerBuffer, loadNativeModuleLibrary, NativeBuffer } from "@koalaui/interop" import { int32, float32 } from "@koalaui/common" export class TestNativeModuleEmpty { diff --git a/arkoala/tools/arkoala-transformer/package.json b/arkoala/tools/arkoala-transformer/package.json index e079709f28c7a18e470edcd3cb3752516db0603b..568a402cc906bc70eb27a24ed8ffd2b1e0ef93f4 100644 --- a/arkoala/tools/arkoala-transformer/package.json +++ b/arkoala/tools/arkoala-transformer/package.json @@ -1,5 +1,10 @@ { + "config": { + "patch_dir": "../../../arkoala/ohos-sdk/ohos-sdk/HarmonyOS-NEXT-DB1/openharmony/ets/build-tools/ets-loader/lib/fast_build/ets_ui" + }, "scripts": { - "compile": "rollup -c" + "compile": "rollup -c", + "patch": "echo \"patching 'arkoala-plugin.js' in $npm_package_config_patch_dir\" && cp -f arkoala-plugin.js $npm_package_config_patch_dir", + "compile:patch": "npm run compile && npm run patch" } } \ No newline at end of file diff --git a/arkoala/tools/peer-generator/package.json b/arkoala/tools/peer-generator/package.json index a34dafc8b5428e45f4a107cea7cf81b24d54c5e3..05f06b927c00df75ff672a418f30bd19b9df2f49 100644 --- a/arkoala/tools/peer-generator/package.json +++ b/arkoala/tools/peer-generator/package.json @@ -2,9 +2,9 @@ "name": "peer-generator", "description": "", "config": { - "idlizer_version": "2.1.0", + "idlizer_version": "2.1.1-b-2", "idlizer_current": "../../../../arkgen", - "api_version": "123", + "api_version": "124", "input_dir": "../../arkui-common/interface_sdk-js/api/@internal/component/ets/,../../arkui-common/interface_sdk-js/api/global" }, "scripts": { diff --git a/package.json b/package.json index be7f721292552a1a49edca23da5ffb6d2075382c..6be1c677aecb667cbc4bb3f4ac505257f94010fd 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "ets:plugin:compile": "npm run compile --prefix arkoala/ets-plugin", "compiler:plugin:compile": "npm run compile --prefix incremental/compiler-plugin", "plugins:compile": "npm run compiler:plugin:compile && npm run ets:plugin:compile", - "arkoala:plugin": "npm run plugins:compile && cd arkoala/tools/arkoala-transformer && npx rollup -c && cp -f arkoala-plugin.js ../../../arkoala/ohos-sdk/ohos-sdk/HarmonyOS-NEXT-DB1/openharmony/ets/build-tools/ets-loader/lib/fast_build/ets_ui", + "plugins:patch": "npm run compile:patch --prefix arkoala/tools/arkoala-transformer", + "arkoala:plugin": "npm run plugins:compile && npm run plugins:patch", "arkoala:har": "npm run all --prefix arkoala/har", "arkoala:har-arm64": "npm run arkoala:har", "arkoala:har-arm32": "npm run all-arm32 --prefix arkoala/har",